ramips: disable cpu vint and veic to fix hwnat deadlock

This commit is contained in:
lean 2021-09-29 18:19:40 +08:00
parent b3d4f7194d
commit b31e3e5593
2 changed files with 24 additions and 0 deletions

View File

@ -0,0 +1,12 @@
--- a/arch/mips/include/asm/mach-ralink/mt7621/cpu-feature-overrides.h
+++ a/arch/mips/include/asm/mach-ralink/mt7621/cpu-feature-overrides.h
@@ -47,6 +47,9 @@
#define cpu_has_dsp2 0
#define cpu_has_mipsmt 1
+#define cpu_has_vint 0
+#define cpu_has_veic 0
+
#define cpu_has_64bits 0
#define cpu_has_64bit_zero_reg 0
#define cpu_has_64bit_gp_regs 0

View File

@ -0,0 +1,12 @@
--- a/arch/mips/include/asm/mach-ralink/mt7621/cpu-feature-overrides.h
+++ a/arch/mips/include/asm/mach-ralink/mt7621/cpu-feature-overrides.h
@@ -47,6 +47,9 @@
#define cpu_has_dsp2 0
#define cpu_has_mipsmt 1
+#define cpu_has_vint 0
+#define cpu_has_veic 0
+
#define cpu_has_64bits 0
#define cpu_has_64bit_zero_reg 0
#define cpu_has_64bit_gp_regs 0