forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 0
MCom03 support ported from Elvees into ALT upstream branches #4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
ghost
wants to merge
28
commits into
sisyphus
Choose a base branch
from
sisyphus_std-def_elvees
base: sisyphus
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
A spin-table method will be used to bring SMP. Issue: #MCOM03SW-101 Change-Id: Ifcdb76fbb7b5c26a67aa218c4841f36409d7c547 (cherry picked from commit 0af44eb)
It allows to run Linux kernel booting on RTL. Change-Id: If8a9cbea8a6cfa78a144eb6388c2e95a10a15f9b (cherry picked from commit ec6a136)
This is useful for Linux kernel boot debugging on RTL. Issue: #MCOM03SW-104 Change-Id: I3ed68afee18b1c9addd67bfcfde3ef299e2d7375 (cherry picked from commit fe98ae0)
The Linux tries to obtain a caches hierarchy from DTS. Without it a warning is printed: Unable to detect cache hierarchy for CPU. Issue: #MCOM03SW-102 Change-Id: I35a867cfdf1e1cf2563fa391c85efd170fe2e478 (cherry picked from commit d349a0e)
Non-strict /dev/mem is required to run RTL test. Issue: #MCOM03SW-156 Change-Id: Ic08ab72f2337cefa256f7ae02b86f01886553d7e (cherry picked from commit 1aabea7)
A kernel panic is occurred if RAM is not sufficient. Change-Id: I7302cccc9d237e121412614a0c97ae2066e21490 (cherry picked from commit 2ddf0bb)
Frame vector support is needed by the elcore50 driver, which is out-of-tree. Ergo, we need to be able to switch it on manually, rather than as a dependency. Change-Id: I77469f685f0275190ba43be1dec4efce6d0bc317 Issue: #MCOM03SW-188 (cherry-picked from commit 87ad22a954ca48bd0856f46e96e6c7c31b51e067) (cherry picked from commit e850bec)
The size of kernel is critical for speed of the RTL simulation, so the RTL kernel configuration should remain minimal. The kernel configuration for HAPS is constantly growing, because new devices and tests are regularly added. Change-Id: I3f502a91161ef5260d1ef84d9c42b7ed5a721206 (cherry picked from commit 4340d04)
Frame vector and futex support is required for the elcore50 out-of-tree driver and elcore50 tests. Issue: #MCOM03SW-188 Issue: #MCOM03SW-217 Change-Id: I4c6c36f5782b2d10d9dc720e7e4c71ff2da5d707 (cherry picked from commit 7045f13)
All defconfigs must be saved using savedefconfig to avoid unexpected changes in future commits. Change-Id: I13a636a0fcf285035510d1730f27b777f2f336d3 (cherry picked from commit 21bf721)
These options are required for the PowerVR Rogue GPU driver. Issue: #MCOM03SW-95 Change-Id: Iacc29c82b147a35ff1b3e3bc24e8034263034a29 (cherry picked from commit 2bf0578)
As HAPS is running at 10 MHz frequency, handling system timer interrupts takes notable time especially when timer works at 250 Hz for no good reason. Issue: #MCOM03SW-186 Change-Id: I22f76d0b10c74bcfa768b597e505a38608285bef (cherry picked from commit d6a67dc)
IRQ time accounting is very helpful to analyse the whole load of the system. With this option mpstat and top will show time CPU spends in IRQs and SoftIRQs. Issue: #MCOM03SW-186 Change-Id: I76f34a5c67b867c28e3e403df5c2a1067ea19ac2 (cherry picked from commit 5bdbb52)
/proc/config is very helpful to check configuration of the current kernel. Issue: #MCOM03SW-186 Change-Id: I3b4aebaeede4564260273fc9568611d3a09d1b65 (cherry picked from commit 569dab6)
MCom-03 DTS files are moved to U-Boot. Issue: #MCOM03SW-201 Depends-On: https://gerrit.elvees.com/14659 Change-Id: I41c469bbbec90159afe40b304a7749dec4e4685b (cherry picked from commit 7e78de2)
This option is required to support hardware PMU in Cortex-A53. Issue: #MCOM03SW-209 Change-Id: Ia67473f973adeb3701ea8410a14f03936ec85928 (cherry picked from commit c8f2b8e)
P2M serial device exists only in RTL simulation. Change-Id: I5d8ff901d14674516612458334108ba153fdda57 (cherry picked from commit 8678606)
Kernel modules like acptest and dmatest require module unloading support to rerun. Issue: #MCOM03SW-287 Change-Id: I3563862bfd5447d99ab7199bd30d51d3b5620af9 (cherry picked from commit 1e0c2c7)
mcom03_defconfig is intended to be common defconfig for HAPS and future boards. It is based on mcom03haps_defconfig while many options are updated according to ARM64 default defconfig. Changes compared to ARM64 defconfig: * Timer frequency is set to 100 HZ * Preemption Model is set to "Voluntary Kernel Preemption (Desktop)" * Virtual address space size is set to 39-bit Enabled features compared to ARM64 defconfig: * Control Group Freezer controller * Enable dynamic printk() support * XFS, Btrfs, F2FS support (as modules) Disabled features compared to ARM64 defconfig: * NUMA * Enable paravirtualization code * Build kdump crash kernel * Xen guest support on ARM64 * PCI (will be enabled once tested) * ARMv8.1 and ARMv8.2 architectural features (Cortex-A53 is ARMv8.0) * ARM Scalable Vector Extension support * UEFI runtime support * Kernel support for 32-bit EL0 * Virtualization * All ARM64 Accelerated Cryptographic Algorithms that use ARMv8 Crypto Extensions * SquashFS * Persistent store support * Magic SysRq key * Runtime testing * Filter access to /dev/mem Following sections were not analysed: * Networking support * Device Drivers * Security options Issue: #MCOM03SW-233 Change-Id: Ibadf2e9f16ae9efae0f43a3f4346b7f2afc76fc1 (cherry picked from commit bab2a53)
Tracers are helpful to analyse kernel performance and are required to pass certain 'perf tests'. Issue: #MCOM03SW-209 Change-Id: I15acea869c83438d62209abc67cbd23e0a88d8bd (cherry picked from commit 3156afe)
There is no need to use txclk-125en-gpios on MCom-03-based boards. Ethernet PHY should provide 125 MHz signal which is used by GEMAC as a reference clock to get 25 or 125 MHz txc_clk clock depending on GEMAC speed. Issue: #MCOM03SW-124 Change-Id: Ifd4d5636a02346f60547eae5d8b27df762b81d73 (cherry picked from commit ec21d4c)
This config is for driver for Synopsys DesignWare APB timers. Depends-On: https://gerrit.elvees.com/15139 Depends-On: https://gerrit.elvees.com/17046 Issue: #MCOM03SW-244 Change-Id: I68cf0a555aab7dbfdc8a47924f1c2f03f2bd955b (cherry picked from commit 1ec147d)
This is the minimal support required to boot Linux. Change-Id: Ibd74f9ef292f4bd1735749af4af9af2d88644b63 (cherry picked from commit 94bf9ec)
This commit adds a serial driver that may be used for printing messages into memory. This is useful to debug Linux kernel boot on RTL. Issue: #MCOM03SW-104 Change-Id: I5ae7038e08442fb58268fbaf041fcaaee90eb276 (cherry picked from commit 2e82518)
fba2ba7 to
475c9e7
Compare
Issue: #MCOM03SW-205 Change-Id: Id3d4b1137344f1798a8a5e6f3e71f1fe82860a5b (cherry picked from commit c556569) Updated for kernel version 5.* by: * Igor Chudov <nir@basealt.ru>
This commit allows to use sdhci-of-arasan driver for MCom-03 SDMMC controller. Issue: #MCOM03SW-205 Change-Id: Ib182c271a12e5785f9d381c63798812c62afe8ec (cherry picked from commit db3b0b1) Adapted for kernel version 5.* by: * Igor Chudov <nir@basealt.ru>
Issue: #MCOM03SW-205 Change-Id: Ia32a1590b6bc9026c5db9ea9af26a05a4584907c (cherry picked from commit f36c247)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.