]> 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)
commit35f3531b0d67f37bfe9ed4f7dace3fe2be7ae663
tree4f7bc16244bc7b95867ac1b72ca021bfc8b31ba4
parent78cbe4f8b604489adac907c82687d049b53bca22
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