summaryrefslogtreecommitdiffstats
path: root/configs/platform-v7a/kernelconfig
Commit message (Collapse)AuthorAgeFilesLines
...
* platform-v7a: kernel: re-activate virtio supportRoland Hieber2018-06-051-1/+5
| | | | | | | | | | | | | | | This got lost in commit 5dc9701fe9ec ("platform-v7a: kernel version bump 4.15 -> 4.16"), and resulted in a qemu system no longer able to mount external 9p devices: $ ./configs/platform-v7a/run 9p [...] [ 1.799073] 9pnet_virtio: no channels available for device /dev/root [ 1.800620] VFS: Cannot open root device "root" or unknown-block(0,0): error -2 [ 1.802147] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) Fixes: 5dc9701fe9ec ("platform-v7a: kernel version bump 4.15 -> 4.16") Signed-off-by: Roland Hieber <r.hieber@pengutronix.de>
* platform-v7a: kernel version bump 4.15 -> 4.16Robert Schwebel2018-05-181-34/+40
| | | | Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* platform-v7a: kernel: version bump 4.14 -> 4.15Robert Schwebel2018-03-111-29/+51
| | | | | | Update platform-v7a to the latest released kernel. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* kernelconfig: enable CGROUP_BPF needed for IPAddressDeny=Michael Olbrich2018-02-181-2/+4
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* kernelconfig: reason: filter access to /dev/memMichael Olbrich2018-02-181-1/+2
| | | | | | | | Access to normal system memory is usually not needed and it makes compromising the kernel more difficult. IO addresses are still accessible as long as CONFIG_IO_STRICT_DEVMEM is disabled. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* kernelconfig: reason: enable SCHED_STACK_END_CHECKMichael Olbrich2018-02-181-1/+1
| | | | | | | | | | | This option checks for a stack overrun on calls to schedule(). If the stack end location is found to be over written always panic as the content of the corrupted region can no longer be trusted. This is to ensure no erroneous behaviour occurs which could result in data corruption or a sporadic crash at a later stage once the region is examined. The runtime overhead introduced is minimal. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* kernelconfig: reason: don't ping the watchdog in the kernelMichael Olbrich2018-02-181-1/+1
| | | | | | | If the bootloader has enabled the watchdog, the intention is usually to monitor the whole boot process. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* kernelconfig: reason: set better DEFAULT_MMAP_MIN_ADDRMichael Olbrich2018-02-181-1/+1
| | | | | | | | Keeping userspace processes without CAP_SYS_RAWIO from writing to low pages can help reduce the impact of kernel NULL pointer bugs. 32kB is recommened on ARM. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* kernel: version bump 4.13 -> 4.14Robert Schwebel2017-11-131-20/+32
| | | | | | 4.14 is out, update the kernel. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* platform-v7a: kernel: enable ARM cpuidle driverMichael Olbrich2017-10-121-1/+3
| | | | | | | It saves power and the i.MX6/fec problem is fixed since v4.8.0. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de> Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* platform-v7a: kernel: enable AES optimized for ARMMichael Olbrich2017-10-121-1/+5
| | | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de> Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* platform-v7a: kernel: virtualization is not neededMichael Olbrich2017-10-121-3/+1
| | | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de> Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* platform-v7a: kernel: disable unused library functionsMichael Olbrich2017-10-121-11/+4
| | | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de> Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* platform-v7a: kernel: disable page poisoningMichael Olbrich2017-10-121-3/+1
| | | | | | | It's a debug feature with performance impact. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de> Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* platform-v7a: kernel: disable not needed options, as suggested by reasonMichael Olbrich2017-10-121-51/+10
| | | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de> Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* platform-v7a: kernel: disable unneeded namespacesMichael Olbrich2017-10-121-4/+4
| | | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de> Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* platform-v7a: kernel: lzo is a lot faster at boottimeMichael Olbrich2017-10-121-2/+2
| | | | | | | | On vexpress, this lowers the 2nd pass boot time from 38 s to 31 s. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de> [add benchmark numbers to commit message] Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* platform-v7a: kernel: reboot on panicRobert Schwebel2017-10-111-1/+1
| | | | | | | Change the kernel config to reboot on panic. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de> Reviewed-by: Rouven Czerwinski <r.czerwinski@pengutronix.de>
* platform-v7a: kernel: switch on CONFIG_PREEMPTRobert Schwebel2017-10-111-9/+8
| | | | | | | | "reason" suggests that the typical embedded use-cases are more sensitive to latency than throughput, so a fully preemptible kernel is preferred. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de> Reviewed-by: Rouven Czerwinski <r.czerwinski@pengutronix.de>
* platform-v7a: kernel: enable lockup detector, as suggested by reasonRobert Schwebel2017-10-111-3/+6
| | | | | | | | | | "Reason" suggests that the kernel lockup detector should be active, as it's low overhead and potentially provides useful debug output when the system is failing due to a lockup. This patch does the necessary changes for the kernel configuration. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de> Reviewed-by: Rouven Czerwinski <r.czerwinski@pengutronix.de>
* kernel: version bump 4.12.0 -> 4.13.0Robert Schwebel2017-09-301-37/+50
| | | | Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* platform-v7a: kernel: randomize freelist order used on creating new pagesRobert Schwebel2017-07-211-1/+1
| | | | | | | | As suggested by "reason", activate the kernel feature to randomize the freelist order used on creating new pages. This results in a reduction of the predictability of addresses against heap overflows. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* platform-v7a: kernel: activate strong stack protectorRobert Schwebel2017-07-211-3/+3
| | | | | | | As suggested by "reason", activate the stack protection feature. The only negative impact should be a small increase in kernel size. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* platform-v7a: kernel: activate hardened user copyRobert Schwebel2017-07-211-1/+2
| | | | | | | As suggested by "reason", activate the kernel option to protect against obviously wrong memory regions when copying memory to/from the kernel. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* platform-v7a: kernel: restrict dmesg access to rootRobert Schwebel2017-07-211-1/+1
| | | | | | As suggested by "reason", restrict access to the dmesg output to root. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* platform-v7a: kernel: deactivate quota supportRobert Schwebel2017-07-211-8/+2
| | | | | | | As suggested by "reason", disable quota support, as we don't need it on embedded systems. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* kernel: enable thermal driver for i.MX6Robert Schwebel2017-07-121-1/+34
| | | | | | This change was suggested by reason-ptxdist. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* kernel: avoid bufferbloadRobert Schwebel2017-07-121-1/+51
| | | | | | | | | | reason-ptxdist suggests: "fq_codel helps fight the network bufferbloat problem. It is believed to be a good default with no tuning required for most workloads. Downstream distributions may override this choice. On 10Gbit servers that do not do forwarding, "fq" may perform better. Systems without a good clocksource should use "pfifo_fast". (from systemd NEWS)" Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* kernel: enable hang check detectorRobert Schwebel2017-07-121-2/+7
| | | | | | | | reason-ptxdist suggests: "The kernel lockup detector should be active, as it's low overhead and potentially provides useful debug output when the system is failing due to a lockup." Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* kernel: enable hardware crypto driver on MX6Robert Schwebel2017-07-121-6/+40
| | | | | | | As suggested by reason-ptxdist: "The CAAM driver should be enabled on MX6 to provide entropy to the kernel." Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* platform-v7a: kernel: avoid ext2 warning on startupRobert Schwebel2017-07-041-5/+3
| | | | | | | | | Deactivate support for ext2 + ext3, as our rootfs is ext4. Add a hint to the kernel command line, in order to avoid this warning: EXT4-fs (mmcblk0p1): couldn't mount as ext2 due to feature incompatibilities Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* platform-v7a: kernel: version bump 4.11 -> 4.12Robert Schwebel2017-07-041-16/+42
| | | | | | Update the kernel version. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* platform-v7a: add i.MX6 support to kernelconfigSascha Hauer2017-06-301-9/+108
| | | | | | | | | As i.MX6 is an ARM v7a as well, add support for it to the v7a kernel configuration. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> [improve commit message] Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* platform-v7a: update kernel from 4.9.1 to 4.11.0Robert Schwebel2017-05-161-25/+89
| | | | Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* configs: add options suggested by 'reason'Robert Schwebel2017-01-061-7/+42
| | | | Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* kernelconfig: activate plan 9 filesystem supportRobert Schwebel2017-01-061-2/+8
| | | | | | | Qemu is able to use the plan 9 filesystem with virtio to access a local filesystem hierarchy. Activate. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* kernel config: activate user namespacesRobert Schwebel2017-01-061-1/+1
| | | | | | | | This avoids that systemd cries about missing user namespaces: [ 3.118703] systemd[1]: dev-hugepages.mount: Couldn't determine result for ConditionVirtualization=!private-users, assuming failed: No such file or directory Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* kernel: version bump 4.8 -> 4.9.1Robert Schwebel2017-01-061-48/+69
| | | | Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* kernel: version bump 4.7 -> 4.8Robert Schwebel2016-10-111-16/+40
| | | | Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* kernel: version bump 4.6 -> 4.7Robert Schwebel2016-07-271-12/+41
| | | | Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* platform-beaglebone: rename to platform-v7aRobert Schwebel2016-07-261-0/+2942
In the meantime, in addition to beaglebone, this platform supports the other ARMv7 based boards (rpi2, vexpress), so rename it. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>