Fix some unreliability problems related to MSR bits inherited from kboot by

setting an absolute MSR when during on the MMU. This prevents delay(), in
particular, from intermittently malfunctioning.
This commit is contained in:
Nathan Whitehorn
2012-01-15 16:58:44 +00:00
parent 6e3a3fe377
commit d4a7df2e65
+1 -1
View File
@@ -113,7 +113,7 @@ ps3mmu_init(int maxmem)
"r"(1 << SLBV_VSID_SHIFT),
"r"((1 << SLBE_ESID_SHIFT) | SLBE_VALID | 1));
mtmsr(mfmsr() | PSL_IR | PSL_DR | PSL_RI | PSL_ME);
mtmsr(PSL_IR | PSL_DR | PSL_RI | PSL_ME);
return (0);
}