Unverified Commit 1306cc0a authored by Jiaxun Yang's avatar Jiaxun Yang Committed by Paul Burton
Browse files

MIPS: Loongson64: Disable exec hazard



Loongson64 has hardware mechanism to prevent hazard issue,
so we can simply disable exec hazard in cpu-features.

Signed-off-by: default avatarJiaxun Yang <jiaxun.yang@flygoat.com>
Signed-off-by: default avatarPaul Burton <paulburton@kernel.org>
Cc: linux-mips@vger.kernel.org
Cc: chenhc@lemote.com
Cc: paul.burton@mips.com
Cc: linux-kernel@vger.kernel.org
parent 51522217
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -47,5 +47,6 @@
#define cpu_has_ic_fills_f_dc	1
#define cpu_hwrena_impl_bits	0xc0000000
#define cpu_has_mac2008_only	1
#define cpu_has_mips_r2_exec_hazard 0

#endif /* __ASM_MACH_LOONGSON64_CPU_FEATURE_OVERRIDES_H */