diff options
author | Ankur Arora <ankur.a.arora@oracle.com> | 2017-03-22 01:43:38 +0300 |
---|---|---|
committer | Boris Ostrovsky <boris.ostrovsky@oracle.com> | 2017-03-23 19:00:02 +0300 |
commit | 1914f0cd203c941bba72f9452c8290324f1ef3dc (patch) | |
tree | 6f35f392cbcdb052924e8305b0d5b7fe54677e19 /virt | |
parent | 1c2593cc8fd5960f8861de1be67135851f884836 (diff) | |
download | linux-1914f0cd203c941bba72f9452c8290324f1ef3dc.tar.xz |
xen/acpi: upload PM state from init-domain to Xen
This was broken in commit cd979883b9ed ("xen/acpi-processor:
fix enabling interrupts on syscore_resume"). do_suspend (from
xen/manage.c) and thus xen_resume_notifier never get called on
the initial-domain at resume (it is if running as guest.)
The rationale for the breaking change was that upload_pm_data()
potentially does blocking work in syscore_resume(). This patch
addresses the original issue by scheduling upload_pm_data() to
execute in workqueue context.
Cc: Stanislaw Gruszka <sgruszka@redhat.com>
Cc: stable@vger.kernel.org
Based-on-patch-by: Konrad Wilk <konrad.wilk@oracle.com>
Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Reviewed-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: Ankur Arora <ankur.a.arora@oracle.com>
Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions