From: Ben Guthro Date: Wed, 17 Apr 2013 13:18:49 +0000 (-0400) Subject: xen: Re-upload processor PM data to hypervisor after S3 resume (v2) X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~147^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3fac10145b766a2244422788f62dc35978613fd8;p=pandora-kernel.git 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 [v3: Ate some tabs, s/printk/pr_info/] Signed-off-by: Konrad Rzeszutek Wilk --- Reading git-diff-tree failed