From: Maciej W. Rozycki Date: Thu, 30 Jun 2005 10:51:01 +0000 (+0000) Subject: Avoid tlbw* hazards for the R4600/R4700/R5000. X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=2c93e12cfec8cc668d4a2a2c8576dedabb7c69c8;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git Avoid tlbw* hazards for the R4600/R4700/R5000. Signed-off-by: Ralf Baechle --- diff --git a/arch/mips/mm/tlbex.c b/arch/mips/mm/tlbex.c index 19bf0cc4091..3b737fafb9b 100644 --- a/arch/mips/mm/tlbex.c +++ b/arch/mips/mm/tlbex.c @@ -827,11 +827,16 @@ static __init void build_tlb_write_entry(u32 **p, struct label **l, i_nop(p); break; - case CPU_R4300: case CPU_R4600: case CPU_R4700: case CPU_R5000: case CPU_R5000A: + i_nop(p); + tlbw(p); + i_nop(p); + break; + + case CPU_R4300: case CPU_5KC: case CPU_TX49XX: case CPU_AU1000: