disabled CST_CNT write

Andriy Gapon avg at FreeBSD.org
Sun Jul 8 09:11:44 UTC 2012


acpi_cpu.c has a block of code to write CST_CNT to SMI_CMD, but the block is
under #ifdef notyet.  It seems that the code was added that many years ago and
never enabled.
Now, judging from the reports I've seen on this mailing list, it appears that
_CST changes do happen and the driver seem to handle them sufficiently well.
I think that a lot of modern platforms do not even provide CST_CNT and assume
that an OS is able to handle C-state change notifications.
So, I guess that it should be safe to enable the code in question now.

Could anyone with a FreeBSD laptop and non-zero CST_CNT in FADT please test this?
Thank you.
-- 
Andriy Gapon



More information about the freebsd-acpi mailing list