[PATCH] MIPS: ralink: select WEAK_REORDERING_BEYOND_LLSC on MT7621

Ilya Lipnitskiy ilya.lipnitskiy at gmail.com
Sun Mar 7 19:08:06 GMT 2021


Upstream a long-standing OpenWrt patch for RALINK MT7621 SoC. Selecting
WEAK_REORDERING_BEYOND_LLSC fixes random kernel hangs. This bug and fix
was reported by MediaTek WCN division [0].

[0]: https://lists.infradead.org/pipermail/lede-commits/2017-August/004537.html

Signed-off-by: Ilya Lipnitskiy <ilya.lipnitskiy at gmail.com>
Cc: linux-mediatek at lists.infradead.org
Cc: linux-mips at vger.kernel.org
Cc: linux-kernel at vger.kernel.org
---
 arch/mips/ralink/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/mips/ralink/Kconfig b/arch/mips/ralink/Kconfig
index c20c44788b62..31671bbf26ff 100644
--- a/arch/mips/ralink/Kconfig
+++ b/arch/mips/ralink/Kconfig
@@ -62,6 +62,7 @@ choice
 		select CLKSRC_MIPS_GIC
 		select HAVE_PCI if PCI_MT7621
 		select SOC_BUS
+		select WEAK_REORDERING_BEYOND_LLSC
 endchoice
 
 choice
-- 
2.30.1




More information about the Linux-mediatek mailing list