]> www.infradead.org Git - users/jedix/linux-maple.git/commit
xen/processor-passthru: Provide an driver that passes struct acpi_processor data...
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Fri, 24 Feb 2012 04:47:20 +0000 (23:47 -0500)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Fri, 24 Feb 2012 04:47:20 +0000 (23:47 -0500)
commit4d2a2489aaa76935c2ade8343b96d9ee218bf88e
treea7933576c9a0fec97c786616f5706dd615bbe779
parent54413a60510a1b4683882ccc59d1b9aefb6ca3f7
xen/processor-passthru: Provide an driver that passes struct acpi_processor data to the hypervisor.

The ACPI processor processes the _Pxx and the _Cx state information
which are populated in the 'struct acpi_processor' per-cpu structure.
We read the contents of that structure and pass it up the Xen hypervisor.

The ACPI processor along with the CPU freq driver does all the heavy-lifting
for us (filtering, calling ACPI functions, etc) so that the contents is correct.
After we are done parsing the information, we wait in case of hotplug CPUs
get loaded and then pass that information to the hypervisor.

[v1-v2: Initial RFC implementations that were posted]
[v3: Changed the name to passthru suggested by Pasi Kärkkäinen <pasik@iki.fi>]
[v4: Added vCPU != pCPU support - aka dom0_max_vcpus support]
[v5: Cleaned up the driver, fix bug under Athlon XP]
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Conflicts:

drivers/xen/Kconfig
drivers/xen/Makefile
drivers/xen/Kconfig
drivers/xen/Makefile
drivers/xen/processor-passthru.c [new file with mode: 0644]