mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-30 16:51:41 +00:00
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:
parent
6e3a3fe377
commit
d4a7df2e65
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=230140
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user