Put CPUs in the lowest P-state just before the final suspend step. The
authorkettenis <kettenis@openbsd.org>
Thu, 10 Nov 2022 10:37:40 +0000 (10:37 +0000)
committerkettenis <kettenis@openbsd.org>
Thu, 10 Nov 2022 10:37:40 +0000 (10:37 +0000)
commitb396fb91afa3c7c94236263237dc577799620833
tree0de99a750e4ec2a4c94ecad0003fa422608c8246
parent7e16c568fa9ab17e16481d15d579548fc1e4d208
Put CPUs in the lowest P-state just before the final suspend step.  The
firmware probably does this for us on ACPI systems with proper S3 support,
but this doesn't happen on systems where we park CPUs in a low-power idle
state ourselves.

ok deraadt@
sys/kern/subr_suspend.c