diff options
author | Jiaxun Yang <jiaxun.yang@flygoat.com> | 2020-01-13 11:15:01 +0100 |
---|---|---|
committer | Paul Burton <paulburton@kernel.org> | 2020-01-23 19:27:06 +0100 |
commit | 1306cc0a30910d92314d18b17a947cd6294ee4af (patch) | |
tree | 0ab566d61e02667edce073276ca908d4cf2cd49f /arch/mips/include | |
parent | MIPS: Loongson64: Bump ISA level to MIPSR2 (diff) | |
download | linux-1306cc0a30910d92314d18b17a947cd6294ee4af.tar.xz linux-1306cc0a30910d92314d18b17a947cd6294ee4af.zip |
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: Jiaxun Yang <jiaxun.yang@flygoat.com>
Signed-off-by: Paul 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
Diffstat (limited to 'arch/mips/include')
-rw-r--r-- | arch/mips/include/asm/mach-loongson64/cpu-feature-overrides.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/mips/include/asm/mach-loongson64/cpu-feature-overrides.h b/arch/mips/include/asm/mach-loongson64/cpu-feature-overrides.h index f4953be1d546..4fab38c743dd 100644 --- a/arch/mips/include/asm/mach-loongson64/cpu-feature-overrides.h +++ b/arch/mips/include/asm/mach-loongson64/cpu-feature-overrides.h @@ -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 */ |