From: Igor Mammedov <imammedo@redhat.com>
To: "Michael S. Tsirkin" <mst@redhat.com>
Cc: "Schmauss, Erik" <erik.schmauss@intel.com>,
"qemu-devel@nongnu.org" <qemu-devel@nongnu.org>,
Xiao Guangrong <xiaoguangrong.eric@gmail.com>,
"Williams, Dan J" <dan.j.williams@intel.com>
Subject: Re: [Qemu-devel] [PATCH] acpi/nvdimm: remove forward name references
Date: Wed, 25 Apr 2018 17:31:52 +0200 [thread overview]
Message-ID: <20180425173152.4c2c1c4f@redhat.com> (raw)
In-Reply-To: <20180425165847-mutt-send-email-mst@kernel.org>
On Wed, 25 Apr 2018 17:17:04 +0300
"Michael S. Tsirkin" <mst@redhat.com> wrote:
> On Wed, Apr 25, 2018 at 03:49:38PM +0200, Igor Mammedov wrote:
> > On Tue, 24 Apr 2018 21:06:37 +0300
> > "Michael S. Tsirkin" <mst@redhat.com> wrote:
> >
> > > On Tue, Apr 24, 2018 at 05:47:58PM +0000, Schmauss, Erik wrote:
> > > >
> > > >
> > > > > -----Original Message-----
> > > > > From: Michael S. Tsirkin [mailto:mst@redhat.com]
> > > > > Sent: Tuesday, April 24, 2018 10:43 AM
> > > > > To: Igor Mammedov <imammedo@redhat.com>
> > > > > Cc: Schmauss, Erik <erik.schmauss@intel.com>; qemu-devel@nongnu.org; Xiao
> > > > > Guangrong <xiaoguangrong.eric@gmail.com>; Williams, Dan J
> > > > > <dan.j.williams@intel.com>
> > > > > Subject: Re: [PATCH] acpi/nvdimm: remove forward name references
> > > > >
> > > > > On Tue, Apr 24, 2018 at 09:57:22AM +0200, Igor Mammedov wrote:
> > > > > > On Tue, 24 Apr 2018 04:02:40 +0300
> > > > > > "Michael S. Tsirkin" <mst@redhat.com> wrote:
> > > > > >
[...]
> > > > > > From spec
> > > > > > DefOpRegion := OpRegionOp NameString RegionSpace RegionOffset
> > > > > > RegionLen RegionOffset := TermArg => Integer TermArg := Type2Opcode
> > > > > > | DataObject | ArgObj | LocalObj
> > > > > >
> > > > > > So named object is not accepted,
> > > > >
> > > > > might be worth checking what happens with actual OSPMs.
> > > > > If it does happen to work, we can try tweaking the ACPI spec to allow this.
> > > >
> > > > I'm looking at the ACPI6.2a spec on page 840 and it says
> > > > TermArg := Type2Opcode | DataObject | Argterm |LocalTerm |NameString |SymbolicExpression
> > >
> > > Oh right, that's there since ACPI 6.0.
> > Strange, I've rechecked AML definition of TermArg in 6.0 and 6.2a
> > and it still says only
> >
> > TermArg := Type2Opcode | DataObject | ArgObj | LocalObj
> >
> > For 6.2a, I'm looking at chapter "20.2.5 Term Objects Encoding"
> > where exactly do you guys see that longer variant?
>
> Oh interesting. That's in
> 19.2.3 ASL Root and Secondary Terms
>
> How come it's not the same?
bugs are everywhere, see "20.2.5 Term Objects Encoding"
>
> >
> > > As usual, the issue is that
> > > we can't easily check what does OSPM support.
> > > This is really something worth fixing in the spec IMHO.
> > > We could just try and test a bunch of guest OSPMs and if
> > > they happen to work, switch to that. Lots of work for
> > > uncertain benefit.
> > I think some windows versions weren't happy with it when
> > we were trying to use dynamic operation regions with offset
> > as namestring.
>
>
> Good to know, thanks.
I'll try to retest MS VMs I have here, to see which one breaks.
next prev parent reply other threads:[~2018-04-25 15:32 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-04-23 23:02 [Qemu-devel] [PATCH] acpi/nvdimm: remove forward name references Michael S. Tsirkin
2018-04-24 0:41 ` Schmauss, Erik
2018-04-24 1:02 ` Michael S. Tsirkin
2018-04-24 7:57 ` Igor Mammedov
2018-04-24 17:43 ` Michael S. Tsirkin
2018-04-24 17:47 ` Schmauss, Erik
2018-04-24 18:06 ` Michael S. Tsirkin
2018-04-25 13:49 ` Igor Mammedov
2018-04-25 13:56 ` Igor Mammedov
2018-04-25 14:17 ` Michael S. Tsirkin
2018-04-25 15:31 ` Igor Mammedov [this message]
2018-04-25 16:47 ` Schmauss, Erik
2018-04-25 18:30 ` Dan Williams
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=20180425173152.4c2c1c4f@redhat.com \
--to=imammedo@redhat.com \
--cc=dan.j.williams@intel.com \
--cc=erik.schmauss@intel.com \
--cc=mst@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=xiaoguangrong.eric@gmail.com \
/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).