diff mbox series

[meta-rockchip] kernel: restore the CPU errata the 32-bit arch removal drops

Message ID 20261117163528.688188-1-twoerner@gmail.com
State New
Headers show
Series [meta-rockchip] kernel: restore the CPU errata the 32-bit arch removal drops | expand

Commit Message

Trevor Woerner Nov. 17, 2026, 4:35 p.m. UTC
The fragment that puts back the options multi_v7_defconfig only gets
through "select" from other vendors' platforms does not cover the CPU
errata workarounds those platforms also select. Of the eight the removal
drops, six apply to cores this layer ships: five Cortex-A9 errata for
rk3066 and rk3188, and one Cortex-A7 erratum for rk3036, rk3128 and
rk322x. The remaining two are Cortex-A8 and Cortex-A15 and are not
relevant here.

Found by emptying remove-non-rockchip-arch-arm.scc and diffing the
resulting configuration against the one the layer builds today.

AI-Generated: codex/claude-opus 5 (xhigh)
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
---
Applies on top of Andrea Ricchi's "kernel: restore options the 32-bit
arch removal drops", message-id
20261104130230.236614-1-andrea.ricchi@amarulasolutions.com
---
 .../bsp/rockchip/restore-arm-selected-options.cfg        | 9 +++++++++
 1 file changed, 9 insertions(+)
diff mbox series

Patch

diff --git a/recipes-kernel/linux/linux-rockchip/rockchip-kmeta/bsp/rockchip/restore-arm-selected-options.cfg b/recipes-kernel/linux/linux-rockchip/rockchip-kmeta/bsp/rockchip/restore-arm-selected-options.cfg
index ababaf6c911e..df3c6ddd4790 100644
--- a/recipes-kernel/linux/linux-rockchip/rockchip-kmeta/bsp/rockchip/restore-arm-selected-options.cfg
+++ b/recipes-kernel/linux/linux-rockchip/rockchip-kmeta/bsp/rockchip/restore-arm-selected-options.cfg
@@ -24,3 +24,12 @@  CONFIG_HIGHMEM=y
 CONFIG_REALTEK_PHY=y
 CONFIG_USB_EHCI_HCD_PLATFORM=y
 CONFIG_USB_OHCI_HCD_PLATFORM=y
+
+# errata workarounds the removed platforms used to select; Cortex-A9
+# covers rk3066 and rk3188, Cortex-A7 covers rk3036, rk3128 and rk322x
+CONFIG_ARM_ERRATA_720789=y
+CONFIG_ARM_ERRATA_754322=y
+CONFIG_ARM_ERRATA_754327=y
+CONFIG_ARM_ERRATA_764369=y
+CONFIG_ARM_ERRATA_775420=y
+CONFIG_ARM_ERRATA_814220=y