Skip to content

Commit

Permalink
MIPS: Loongson64: Disable exec hazard
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Jiaxun Yang authored and Paul Burton committed Jan 23, 2020
1 parent 5152221 commit 1306cc0
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 */

0 comments on commit 1306cc0

Please sign in to comment.