Re-initialize model-specific MSRs when we resume CPUs.
MFC after: 1 week
This commit is contained in:
parent
6cd4f25011
commit
95442a8d40
@ -284,6 +284,7 @@ acpi_sleep_machdep(struct acpi_softc *sc, int state)
|
||||
} else {
|
||||
pmap_init_pat();
|
||||
load_cr3(susppcbs[0]->pcb_cr3);
|
||||
initializecpu();
|
||||
PCPU_SET(switchtime, 0);
|
||||
PCPU_SET(switchticks, ticks);
|
||||
#ifdef SMP
|
||||
|
@ -1425,6 +1425,7 @@ cpususpend_handler(void)
|
||||
} else {
|
||||
pmap_init_pat();
|
||||
load_cr3(susppcbs[cpu]->pcb_cr3);
|
||||
initializecpu();
|
||||
PCPU_SET(switchtime, 0);
|
||||
PCPU_SET(switchticks, ticks);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user