]> git.baikalelectronics.ru Git - kernel.git/commit
xen: Re-upload processor PM data to hypervisor after S3 resume (v2)
authorBen Guthro <benjamin.guthro@citrix.com>
Wed, 17 Apr 2013 13:18:49 +0000 (09:18 -0400)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Wed, 17 Apr 2013 14:43:56 +0000 (10:43 -0400)
commit403f2b2ac7ea3b05c5bee0e72926d862a7fc2c37
treee5d3ced010bb1936599c7ea883996ba46ce0c6b2
parent67272059f8e040339eae0c456b9152c38c365515
xen: Re-upload processor PM data to hypervisor after S3 resume (v2)

Upon resume, it was found that ACPI C-states were missing from non-boot CPUs.
This change registers a syscore_ops handler for this case, and re-uploads the
PM information to the hypervisor to properly reset the C-state on these
processors.

v2:
v1 did not go through the check_acpi_ids() code-path, and missed some cases when
xen was running with the dom0_max_vcpus= command line parameter.

Signed-Off-By: Ben Guthro <benjamin.guthro@citrix.com>
[v3: Ate some tabs, s/printk/pr_info/]
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
drivers/xen/xen-acpi-processor.c