From 74238413b13dbf58d9da6836f9a41179d6bcb02e Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Wed, 16 Oct 2024 09:55:18 +0200 Subject: [PATCH] ramips: disable CONFIG_LIST_HARDENED on MT7620 In #16396, crashes were reported on MT7620, which were introduced by enabling CONFIG_LIST_HARDENED. The cause seems to be random memory corruption somewhere in the kernel. Unfortunately the crash traces do not point to the real cause of the crash in any way. Since MT7620 is really ancient hardware that likely only has few users left, I don't expect that anybody will invest a significant amount of time to track down the real cause. Because of that, let's disable CONFIG_LIST_HARDENED on this target only, and leave it enabled on all other platforms. Fixes: #16396 Signed-off-by: Felix Fietkau --- target/linux/ramips/mt7620/config-6.6 | 1 + 1 file changed, 1 insertion(+) diff --git a/target/linux/ramips/mt7620/config-6.6 b/target/linux/ramips/mt7620/config-6.6 index 20bba0c5a4..606fc51eef 100644 --- a/target/linux/ramips/mt7620/config-6.6 +++ b/target/linux/ramips/mt7620/config-6.6 @@ -102,6 +102,7 @@ CONFIG_IRQ_INTC=y CONFIG_IRQ_MIPS_CPU=y CONFIG_IRQ_WORK=y CONFIG_LIBFDT=y +# CONFIG_LIST_HARDENED is not set CONFIG_LOCK_DEBUGGING_SUPPORT=y CONFIG_MARVELL_PHY=y CONFIG_MDIO_BUS=y -- 2.30.2