summaryrefslogtreecommitdiffstats
path: root/patches/boot_time_opt/0121-do-accept-in-LIFO-order-for-cache-efficiency.patch
diff options
context:
space:
mode:
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>2022-07-07 10:25:03 +0200
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>2022-07-07 18:49:53 +0200
commitd19dcc594fc0b1c7ea65f0100cceec5996d0c9f6 (patch)
treec23616cfa439c2df17d084c43dbc718e6f689390 /patches/boot_time_opt/0121-do-accept-in-LIFO-order-for-cache-efficiency.patch
parent699b52d176cd7464af4444c88f9ea54d64d868a1 (diff)
downloadenea-kernel-cache-d19dcc594fc0b1c7ea65f0100cceec5996d0c9f6.tar.gz
Fix kaudit warnings after hardknott refresh
1. 'CONFIG_XOR_BLOCKS' last val (m) and .config val (y) do not match * Previously we tried to configure this as 'm' to reduce the kernel footprint, but it is selected indirectly as 'y' via: CONFIG_MD_RAID456 (y, set by Intel x86 BSP) CONFIG_ASYNC_XOR CONFIG_XOR_BLOCKS 2. 'CONFIG_CRC_ITU_T' last val (m) and .config val (y) do not match * Upstream 'nfc-generic.cfg' sets this to 'm', but our 'mmc_sd_y.cfg' selects it as 'y' via: CONFIG_MMC_SPI (y) CONFIG_CRC_ITU_T 3. 'CONFIG_ISDN_CAPI' last val (y) and .config val (n) do not match * Upstream enables ISDN, but our kernel footprint reduction disables one of its dependencies (CONFIG_BT=n), make it explicit. 4. 'CONFIG_MEDIA_PLATFORM_SUPPORT' last val (y) and .config val (n) do not match * Upstream enables it, but our kernel footprint reduction disables one of its dependencies (CONFIG_MEDIA_SUPPORT=n), make it explicit. 5. 'CONFIG_*' (many similar options, all depending on CONFIG_IIO) last val (m) and .config val (n) do not match * Upstream enables them, but our kernel footprint reduction disables one of their dependencies (CONFIG_IIO=n) via 'accelerometers_n.cfg'; * create a new configuration fragment ('iio_n.scc') for this and gather all IIO dependencies that we want disabled to make them explicit (moving CONFIG_IIO=n from 'accelerometers_n.cfg' to 'iio_n.cfg'); * 'iio_n.cfg' contains all configuration from yocto-kernel-cache 'iio.cfg' (changing 'm' and/or 'y' to 'n'), including the options that were previously handled by existing features in: - features/accelerometers/accelerometers_n.cfg; - features/inclinometer/inclinometer_n.cfg; - features/hidsensor/hidsensor_n.cfg; * 'iio_n.scc' replaces the 3 old fragments, especially since they were always included together; 6. 'CONFIG_INPUT_SOC_BUTTON_ARRAY' last val (m) and .config val (n) do not match * Upstream enables it, but our kernel footprint reduction disables one of its dependencies (CONFIG_KEYBOARD_GPIO=n), make it explicit. 7. 'CONFIG_INTEL_SOC_PMIC' last val (y) and .config val (n) do not match * Upstream enables it, but our 'i2c_m.cfg' (when added to KERNEL_FEATURES) breaks two of its dependencies (CONFIG_I2C=y, I2C_DESIGNWARE_PLATFORM=y), make it explicit. 8. 'CONFIG_TYPEC_TCPM' last val (m) and .config val (n) do not match 'CONFIG_TYPEC_TCPCI' last val (m) and .config val (n) do not match * Upstream enables them, but our kernel footprint reduction disables one of their dependencies (CONFIG_TYPEC=n), make it explicit. 9. 'CONFIG_SERIO_I8042' last val (m) and .config val (n) do not match * We enable the SERIO_I8042 (wrongfully?) via 'keyboard_n.scc', but its dependency (CONFIG_SERIO) is already disabled by both 'input_n.scc' and 'serio_n.scc'. * re-order scc fragments to silence the warning without changing any actual configuration fragment; 10. 'CONFIG_PRINTER' last val (m) and .config val (n) do not match * Upstream enables it, but our kernel footprint reduction disables one of its dependencies (CONFIG_PARPORT=n), make it explicit. 11. 'CONFIG_USB_NET_RNDIS_HOST' last val (m) and .config val (n) do not match * Upstream enables it, but our kernel footprint reduction disables one of its dependencies (CONFIG_USBNET=n), make it explicit. 12. 'CONFIG_USB_GADGET_VBUS_DRAW' last val (2) and .config val (n) do not match (same with 'CONFIG_USB_GADGET_STORAGE_NUM_BUFFERS') * Both depend on 'USB_GADGET'. Change-Id: Id17c54348adbedcd110f0e4a456763797834c6a8 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Diffstat (limited to 'patches/boot_time_opt/0121-do-accept-in-LIFO-order-for-cache-efficiency.patch')
0 files changed, 0 insertions, 0 deletions