]> git.baikalelectronics.ru Git - kernel.git/commit
xen/acpi: Workaround broken BIOSes exporting non-existing C-states.
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Thu, 26 Apr 2012 18:22:33 +0000 (14:22 -0400)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Fri, 27 Apr 2012 02:07:28 +0000 (22:07 -0400)
commit6106768e5f81e906583729ec6f131eac94daea76
tree4f7bc16244bc7b95867ac1b72ca021bfc8b31ba4
parentbd45fa03f0543ecf4a3b8893aec08bc36aed508c
xen/acpi: Workaround broken BIOSes exporting non-existing C-states.

We did a similar check for the P-states but did not do it for
the C-states. What we want to do is ignore cases where the DSDT
has definition for sixteen CPUs, but the machine only has eight
CPUs and we get:
xen-acpi-processor: (CX): Hypervisor error (-22) for ACPI CPU14

Reported-by: Tobias Geiger <tobias.geiger@vido.info>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
drivers/xen/xen-acpi-processor.c