[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <bc0dbbfcb0084f758d28b9000fa9f9e0@ausx13mpc124.AMER.DELL.COM>
Date: Wed, 7 Jun 2017 20:23:08 +0000
From: <Mario.Limonciello@...l.com>
To: <pali.rohar@...il.com>
CC: <luto@...capital.net>, <dvhart@...radead.org>,
<platform-driver-x86@...r.kernel.org>,
<andriy.shevchenko@...ux.intel.com>, <luto@...nel.org>,
<rjw@...ysocki.net>, <linux-kernel@...r.kernel.org>,
<linux-acpi@...r.kernel.org>
Subject: RE: [PATCH 15/16] platform/x86: wmi-mof: New driver to expose
embedded WMI MOF metadata
> -----Original Message-----
> From: Pali Rohár [mailto:pali.rohar@...il.com]
> Sent: Wednesday, June 7, 2017 12:39 PM
> To: Limonciello, Mario <Mario_Limonciello@...l.com>
> Cc: luto@...capital.net; dvhart@...radead.org; platform-driver-
> x86@...r.kernel.org; andriy.shevchenko@...ux.intel.com; luto@...nel.org;
> rjw@...ysocki.net; linux-kernel@...r.kernel.org; linux-acpi@...r.kernel.org
> Subject: Re: [PATCH 15/16] platform/x86: wmi-mof: New driver to expose
> embedded WMI MOF metadata
>
> On Tuesday 06 June 2017 15:56:21 Pali Rohár wrote:
> > On Tuesday 06 June 2017 13:46:16 Mario.Limonciello@...l.com wrote:
> > > 2) On my system when you expand the arguments for "void DoBFn" the
> > > source doesn't describe individual arguments like you do. Again
> > > this might not matter to MOF parsing tools but wanted to let you
> > > know in case it does.
> >
> > I know, this part is missing. Order of arguments are only in ID
> > qualifier and not sorted + in/out de-duplicated.
>
> Implemented! Now arguments are correctly placed based on ID qualifier.
I think it's still off a little though.
What I'm getting back now from bmf2mof is:
void DoBFn([in, Description("Fn buf"), out] BDat Data);
Whereas source puts Description as the last argument:
void DoBFn([in, out, Description("Fn buf")] BDat Data);
>
> > > source:
> > > void DoBFn([in, out, Description("Fn buf")] BDat Data);
> > >
> > > bmf2mof:
> > > void doBFn([in, Description("Fn buf"), ID(0)] BDat Data, [out,
> > > Description("Fn buf"), ID(0)] BDat Data);
>
> --
> Pali Rohár
> pali.rohar@...il.com
Powered by blists - more mailing lists