Skip to contentSkip to conversation

kernel: restore the CPU errata the 32-bit arch removal drops

PATCH New Trevor Woerner 1 participant 1 message Nov 17 Arm Rockchip

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 kernel: restore the CPU errata the 32-bit arch removal drops

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)

---
Applies on top of Andrea Ricchi's "kernel: restore options the 32-bit arch removal drops", message-id [email protected]

---
 .../bsp/rockchip/restore-arm-selected-options.cfg        | 9 +++++++++
 1 file changed, 9 insertions(+)
recipes-kernel/linux/linux-rockchip/rockchip-kmeta/bsp/rockchip/restore-arm-selected-options.cfg +9 -0
index ababaf6c911e..df3c6ddd4790 100644
@@ -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
Signature · 1 line
2.50.0.173.g8b6f19ccfc3a