From 5a4389f6abd15e9f8e966231a9850abb3c1c4c34 Mon Sep 17 00:00:00 2001 From: Yangyu Chen Date: Tue, 19 Dec 2023 03:21:53 +0800 Subject: [PATCH] bcm27xx: 5.15: turn on cpu erratum for A72 and disable A53 MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit The original configuration might be copied from bcm2710 which uses cortex A53 rather than A72 in BCM2711, without errata might be harmful to system stability and security. Signed-off-by: Yangyu Chen (cherry picked from commit d549809c05997116823c1a1486d79cb8bda689b9) Signed-off-by: Álvaro Fernández Rojas --- target/linux/bcm27xx/bcm2711/config-5.15 | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/target/linux/bcm27xx/bcm2711/config-5.15 b/target/linux/bcm27xx/bcm2711/config-5.15 index e18728e49d..42e749a883 100644 --- a/target/linux/bcm27xx/bcm2711/config-5.15 +++ b/target/linux/bcm27xx/bcm2711/config-5.15 @@ -19,14 +19,8 @@ CONFIG_ARM64_4K_PAGES=y CONFIG_ARM64_CNP=y CONFIG_ARM64_CRYPTO=y CONFIG_ARM64_EPAN=y -CONFIG_ARM64_ERRATUM_819472=y -CONFIG_ARM64_ERRATUM_824069=y -CONFIG_ARM64_ERRATUM_826319=y -CONFIG_ARM64_ERRATUM_827319=y -CONFIG_ARM64_ERRATUM_832075=y -CONFIG_ARM64_ERRATUM_843419=y +CONFIG_ARM64_ERRATUM_1319367=y CONFIG_ARM64_HW_AFDBM=y -CONFIG_ARM64_LD_HAS_FIX_ERRATUM_843419=y CONFIG_ARM64_PAGE_SHIFT=12 CONFIG_ARM64_PAN=y CONFIG_ARM64_PA_BITS=48 -- 2.30.2