Explorar o código

[MIPS] MT: Fix c0 back-to-back hazard.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

Ralf Baechle %!s(int64=19) %!d(string=hai) anos
pai
achega
fdc9bb16d3
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      arch/mips/kernel/smp_mt.c

+ 2 - 0
arch/mips/kernel/smp_mt.c

@@ -68,6 +68,8 @@ void __init sanitize_tlb_entries(void)
 
 	set_c0_mvpcontrol(MVPCONTROL_VPC);
 
+	back_to_back_c0_hazard();
+
 	/* Disable TLB sharing */
 	clear_c0_mvpcontrol(MVPCONTROL_STLB);