[PATCH 0/2 v2] xen/acpi: upload PM state from init-domain to Xen

From: Ankur Arora
Date: Tue Mar 21 2017 - 19:37:51 EST


This patch series re-enables the upload of PM data from initial-domain
to Xen. This was broken in commit cd979883b9ede90643e019f33cb317933eb867b4.

The upload now happens post-resume in workqueue context. From the
POV of Xen, the PM upload might be delayed a little but should be
fine -- Xen falls-back on more limited P and C states.

Tested C-state upload via mwait_idle=0.

Changes in v2:
- rebased to 4.11.0-rc2
- addressed comments from Boris Ostrovsky

Ankur Arora (2):
xen/acpi: Replace hard coded "ACPI0007"
xen/acpi: upload PM state from init-domain to Xen

drivers/xen/xen-acpi-processor.c | 36 +++++++++++++++++++++++++++---------
1 file changed, 27 insertions(+), 9 deletions(-)

--
2.7.4