Skip to content

Commit

Permalink
Avoid tlbw* hazards for the R4600/R4700/R5000.
Browse files Browse the repository at this point in the history
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
  • Loading branch information
Maciej W. Rozycki authored and Ralf Baechle committed Oct 29, 2005
1 parent c3455b0 commit 2c93e12
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion arch/mips/mm/tlbex.c
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 2c93e12

Please sign in to comment.