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:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user