Resurrect the "park APs in realmode" idea that we explored back at t2k13
authormlarkin <mlarkin@openbsd.org>
Fri, 10 Jan 2014 22:34:41 +0000 (22:34 +0000)
committermlarkin <mlarkin@openbsd.org>
Fri, 10 Jan 2014 22:34:41 +0000 (22:34 +0000)
commitc25a1d7d7351433cc7e87c4e2ef3fe3247cbcf10
treedebcc4879961fe30e0cdfcf3e54ef21a5b1ca86f
parent6a1a2cf57867e1422802864e14e64701a734bd6d
Resurrect the "park APs in realmode" idea that we explored back at t2k13
(and which didn't work at that time due to a bug which has since been
fixed). The APs are now demoted to real mode and placed in a HLT loop
while the hibernated image is being unpacked.

Helps my x230 significantly, no more spurious reboots on resume.

ok deraadt
sys/arch/amd64/amd64/acpi_wakecode.S
sys/arch/amd64/amd64/hibernate_machdep.c