[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20200110005412.GA2095@dev-dsk-anchalag-2a-9c2d1d96.us-west-2.amazon.com>
Date: Fri, 10 Jan 2020 00:54:12 +0000
From: Anchal Agarwal <anchalag@...zon.com>
To: Boris Ostrovsky <boris.ostrovsky@...cle.com>
CC: <tglx@...utronix.de>, <mingo@...hat.com>, <bp@...en8.de>,
<hpa@...or.com>, <x86@...nel.org>, <jgross@...e.com>,
<linux-pm@...r.kernel.org>, <linux-mm@...ck.org>,
<kamatam@...zon.com>, <sstabellini@...nel.org>,
<konrad.wilk@...cle.co>, <roger.pau@...rix.com>, <axboe@...nel.dk>,
<davem@...emloft.net>, <rjw@...ysocki.net>, <len.brown@...el.com>,
<pavel@....cz>, <peterz@...radead.org>, <eduval@...zon.com>,
<sblbir@...zon.com>, <xen-devel@...ts.xenproject.org>,
<vkuznets@...hat.com>, <netdev@...r.kernel.org>,
<linux-kernel@...r.kernel.org>,
<Woodhouse@...-dsk-anchalag-2a-9c2d1d96.us-west-2.amazon.com>,
<dwmw@...zon.co.uk>, <fllinden@...ozn.com>, <anchalag@...zon.com>
Subject: Re: [RFC PATCH V2 01/11] xen/manage: keep track of the on-going
suspend mode
On Thu, Jan 09, 2020 at 06:49:07PM -0500, Boris Ostrovsky wrote:
>
>
> On 1/9/20 6:46 PM, Boris Ostrovsky wrote:
> >
> >
> >On 1/7/20 6:37 PM, Anchal Agarwal wrote:
> >>+
> >>+static int xen_setup_pm_notifier(void)
> >>+{
> >>+ if (!xen_hvm_domain())
> >>+ return -ENODEV;
> >
> >ARM guests are also HVM domains. Is it OK for them to register the
> >notifier? The diffstat suggests that you are supporting ARM.
>
> I obviously meant *not* supporting ARM, sorry.
>
> -boris
>
> >
> >-boris
> >
TBH, I have not yet experimented with these patches on
ARM guest yet but that will be the next step. The same
code with changes as needed should be made to work for ARM.
Currently I am focussed on getting a sane set of
patches into mainline for x86 guests.
Thanks,
Anchal
> >>+
> >>+ return register_pm_notifier(&xen_pm_notifier_block);
> >>+}
> >>
> >
>
Powered by blists - more mailing lists