From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
To: Ian Campbell <Ian.Campbell@citrix.com>, paul.durrant@citrix.com
Cc: "kevin@koconnor.net" <kevin@koconnor.net>,
"Huangweidong (C)" <weidong.huang@huawei.com>,
"Hanweidong (Randy)" <hanweidong@huawei.com>,
"stefano.stabellini@eu.citrix.com"
<stefano.stabellini@eu.citrix.com>,
"qemu-devel@nongnu.org" <qemu-devel@nongnu.org>,
"xen-devel@lists.xen.org" <xen-devel@lists.xen.org>,
"fabio.fantoni@m2r.biz" <fabio.fantoni@m2r.biz>,
"anthony.perard@citrix.com" <anthony.perard@citrix.com>,
"Gonglei (Arei)" <arei.gonglei@huawei.com>,
"mst@redhat.com" <mst@redhat.com>,
Jan Beulich <JBeulich@suse.com>,
"johannes.krampf@googlemail.com" <johannes.krampf@googlemail.com>,
"Gaowei (UVP)" <gao.gaowei@huawei.com>
Subject: Re: [Qemu-devel] [Xen-devel] [PATCH v4] Hvmloader: Modify ACPI to only supply _EJ0 methods for PCIslots that support hotplug by runtime patching
Date: Fri, 9 May 2014 09:25:53 -0400 [thread overview]
Message-ID: <20140509132553.GA3057@phenom.dumpdata.com> (raw)
In-Reply-To: <1399631195.9513.149.camel@kazak.uk.xensource.com>
On Fri, May 09, 2014 at 11:26:35AM +0100, Ian Campbell wrote:
> On Fri, 2014-05-09 at 10:15 +0000, Gonglei (Arei) wrote:
> > Hi,
> >
> > First, please forgive me for my bad English.
> > It's so sad.
> >
> > > -----Original Message-----
> > > From: Ian Campbell [mailto:Ian.Campbell@citrix.com]
> > > Sent: Friday, May 09, 2014 5:57 PM
> > > To: Gonglei (Arei)
> > > Cc: Jan Beulich; xen-devel@lists.xen.org; anthony.perard@citrix.com;
> > > stefano.stabellini@eu.citrix.com; johannes.krampf@googlemail.com; Gaowei
> > > (UVP); Hanweidong (Randy); Huangweidong (C); kevin@koconnor.net;
> > > fabio.fantoni@m2r.biz; qemu-devel@nongnu.org; mst@redhat.com
> > > Subject: Re: [PATCH v4] Hvmloader: Modify ACPI to only supply _EJ0 methods
> > > for PCIslots that support hotplug by runtime patching
> > >
> > > On Fri, 2014-05-09 at 09:45 +0000, Gonglei (Arei) wrote:
> > > > > And it also seem pretty pointless to send a v4 without addressing
> > > > > all comments you got on v3.
> > > > >
> > > > I don't think so. I have absorbed Ian's all suggestion on v3. And for other
> > > > questions have been answered too, in despite of is me or not.
> > >
> > > Actually you haven't answered "Why is runtime patching the only
> > > option here?" which was originally phrased as:
> > > > > Which appears to involve an awful lot of jumping through hoops... Please
> > > > > can you explain why it is necessary, as opposed to e.g. using a dynamic
> > > > > set of SSDTs?
> > >
> > Ian, I understand your mean now, which consider our method to address
> > this issue is maybe unnecessary, right? And you suggest us to use a dynamic
> > set of SSDTs.
>
> Really what I'm asking is what set of constraints and requirements led
> you to this particular solution.
>
> I think the method seems complicated, and I'd therefore like to know why
> it was preferred over other alternatives, or perhaps why it is the only
> option.
>
> > TBH I don't know more about the dynamic SSDTs, if you have any details,
> > tell me please, thanks in advance!
>
> I'm not an ACPI expert, but AIUI an SSDT is essentially a little piece
> of DSDT which is grafted onto the main DSDT at runtime by the OSPM. They
> make it somewhat easier for BIOS (or ACPI table) authors to include or
> exclude functionality at runtime, perhaps on a physical system in
> response to a user changing something in the BIOS setup screens. In Xen
> we appear to use SSDTs for HPET, TPM and S3/S4 functionality, depending
> on the guest configuration
> (hvmloader/acpi/build.c:construct_secondary_tables()).
Can it be used to patch the DSDT? Or were you (Ian) thinking that the bulk
of the ACPI PCI stuff can be moved there ?
How would this work with the 'secondary emulator' patches that
do all of this PCI hotplug in the hypervisor? (CC-ing the author
of said patches).
>
> Ian.
>
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xen.org
> http://lists.xen.org/xen-devel
next prev parent reply other threads:[~2014-05-09 13:26 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-09 8:47 [Qemu-devel] [PATCH v4] Hvmloader: Modify ACPI to only supply _EJ0 methods for PCIslots that support hotplug by runtime patching arei.gonglei
2014-05-09 9:35 ` Jan Beulich
2014-05-09 9:45 ` Gonglei (Arei)
2014-05-09 9:51 ` Jan Beulich
2014-05-09 9:57 ` Ian Campbell
2014-05-09 10:15 ` Gonglei (Arei)
2014-05-09 10:26 ` Ian Campbell
2014-05-09 13:25 ` Konrad Rzeszutek Wilk [this message]
2014-05-09 13:31 ` [Qemu-devel] [Xen-devel] " Ian Campbell
2014-05-09 14:38 ` Ross Philipson
2014-05-09 14:46 ` Ian Campbell
2014-05-09 14:56 ` Fabio Fantoni
2014-05-09 15:03 ` Ian Campbell
2014-05-09 15:48 ` Ross Philipson
2014-05-09 16:00 ` Konrad Rzeszutek Wilk
2014-05-09 16:12 ` Ian Campbell
2014-05-09 16:30 ` Ross Philipson
2014-05-09 16:34 ` Paul Durrant
2014-05-09 17:32 ` Ross Philipson
2014-05-09 17:55 ` Konrad Rzeszutek Wilk
2014-05-12 9:05 ` Ian Campbell
2014-05-12 9:14 ` Jan Beulich
2014-05-12 9:20 ` Ian Campbell
2014-05-12 14:32 ` Ross Philipson
2014-08-20 12:11 ` Fabio Fantoni
2014-08-20 22:30 ` Konrad Rzeszutek Wilk
2014-08-22 8:45 ` Gonglei (Arei)
2015-01-27 13:28 ` Pasi Kärkkäinen
2014-05-09 16:13 ` Ross Philipson
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=20140509132553.GA3057@phenom.dumpdata.com \
--to=konrad.wilk@oracle.com \
--cc=Ian.Campbell@citrix.com \
--cc=JBeulich@suse.com \
--cc=anthony.perard@citrix.com \
--cc=arei.gonglei@huawei.com \
--cc=fabio.fantoni@m2r.biz \
--cc=gao.gaowei@huawei.com \
--cc=hanweidong@huawei.com \
--cc=johannes.krampf@googlemail.com \
--cc=kevin@koconnor.net \
--cc=mst@redhat.com \
--cc=paul.durrant@citrix.com \
--cc=qemu-devel@nongnu.org \
--cc=stefano.stabellini@eu.citrix.com \
--cc=weidong.huang@huawei.com \
--cc=xen-devel@lists.xen.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).