cvs commit: src/sys/dev/acpica acpi_cpu.c
Nate Lawson
njl at FreeBSD.org
Sun Jun 3 00:40:57 UTC 2007
njl 2007-06-03 00:40:56 UTC
FreeBSD src repository
Modified files:
sys/dev/acpica acpi_cpu.c
Log:
Disable CPU idle states during suspend and reenable them during resume.
While in the suspend path, this means the idle thread will just return
immediately rather than trying to enter C1-n. This helps in the case where
the chipset is powered down before the rest of the system and reads from
the cpu sleep registers begin returning immediately, causing the logic that
catches bad C2/C3 behavior to kick in. Observed on my Panasonic Y4.
MFC after: 3 days
Revision Changes Path
1.66 +29 -2 src/sys/dev/acpica/acpi_cpu.c
More information about the cvs-src
mailing list