]> www.infradead.org Git - users/jedix/linux-maple.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>
Tue, 4 Dec 2012 17:32:42 +0000 (12:32 -0500)
commit28a6e40a0b7fe27655cc85c347e66cc33d51c60f
tree26986a94329c03e8681ba1f0ac30dbde0e33b6ea
parent9b618ce008f46b822d780169bd21a7cbcea638e5
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>
(cherry picked from commit b930fe5e1f5646e071facda70b25b137ebeae5af)
drivers/xen/xen-acpi-processor.c