]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
When disabling C3+ CPU states due to the CPU_QUIRK_NO_C3 quirk, don't
authorcperciva <cperciva@FreeBSD.org>
Sun, 18 Jan 2015 12:45:26 +0000 (12:45 +0000)
committercperciva <cperciva@FreeBSD.org>
Sun, 18 Jan 2015 12:45:26 +0000 (12:45 +0000)
commit37bcfe05fd20c4d24128c4993a4cd4da13b9a2e2
tree2c2b5e2239db97ceffb9825acc9a7ea30d05819d
parent18b49d2c34a3d6c030f415153455b4ff121bb42d
When disabling C3+ CPU states due to the CPU_QUIRK_NO_C3 quirk, don't
accidentally enable non-existent states.

This bug was triggered if ACPI advertises the presence of a C2 state
which we fail to parse via acpi_PkgGas due to our lack of support for
FFixedHW resources, and causes an immediate panic when an attempt is
made to enter the (NULL) state.

One affected platform is the EC2 c4.8xlarge VM instance type; there
may be others.

MFC after: 1 week
Thanks to: jkim, @_msw_
sys/dev/acpica/acpi_cpu.c