xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Ankur Arora <ankur.a.arora@oracle.com>
To: linux-kernel@vger.kernel.org, xen-devel@lists.xenproject.org
Cc: Ankur Arora <ankur.a.arora@oracle.com>
Subject: [PATCH 0/2 v2] xen/acpi: upload PM state from init-domain to Xen
Date: Tue, 21 Mar 2017 15:43:36 -0700	[thread overview]
Message-ID: <1490136218-3857-1-git-send-email-ankur.a.arora@oracle.com> (raw)

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


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel

             reply	other threads:[~2017-03-21 22:44 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-21 22:43 Ankur Arora [this message]
2017-03-21 22:43 ` [PATCH 1/2 v2] xen/acpi: Replace hard coded "ACPI0007" Ankur Arora
2017-03-21 22:43 ` [PATCH 2/2 v2] xen/acpi: upload PM state from init-domain to Xen Ankur Arora
2017-03-22  9:05   ` Stanislaw Gruszka
     [not found]   ` <20170322090541.GA2860@redhat.com>
2017-03-22 17:56     ` Ankur Arora
     [not found]     ` <a1f0404e-899e-8d56-ef65-858dacecb62d@oracle.com>
2017-03-23 13:12       ` Stanislaw Gruszka
2017-03-23 16:45 ` [PATCH 0/2 " Boris Ostrovsky
     [not found] ` <021f12d7-62b6-80d6-7fd4-cc9bb2681122@oracle.com>
2017-03-24 14:09   ` Konrad Rzeszutek Wilk

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1490136218-3857-1-git-send-email-ankur.a.arora@oracle.com \
    --to=ankur.a.arora@oracle.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=xen-devel@lists.xenproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).