Re: [PATCH 15/16] platform/x86: wmi-mof: New driver to expose embedded WMI MOF metadata

2017-06-15 Thread Pali Rohár
vh...@infradead.org; > > > > > platform-driver- x...@vger.kernel.org; > > > > > andriy.shevche...@linux.intel.com; l...@kernel.org; > > > > > r...@rjwysocki.net; > > > > > linux-kernel@vger.kernel.org; linux-a...@vger.kernel.org >

Re: [PATCH 15/16] platform/x86: wmi-mof: New driver to expose embedded WMI MOF metadata

2017-06-15 Thread Pali Rohár
gt; To: Limonciello, Mario > > > Cc: l...@amacapital.net; dvh...@infradead.org; platform-driver- > > > x...@vger.kernel.org; andriy.shevche...@linux.intel.com; > > > l...@kernel.org; r...@rjwysocki.net; linux-kernel@vger.kernel.org; > > > linux-a...@vger.kernel.org S

Re: [PATCH 15/16] platform/x86: wmi-mof: New driver to expose embedded WMI MOF metadata

2017-06-09 Thread Pali Rohár
amacapital.net; dvh...@infradead.org; platform-driver- > > x...@vger.kernel.org; andriy.shevche...@linux.intel.com; > > l...@kernel.org; r...@rjwysocki.net; linux-kernel@vger.kernel.org; > > linux-a...@vger.kernel.org Subject: Re: [PATCH 15/16] > > platform/x86:

Re: [PATCH 15/16] platform/x86: wmi-mof: New driver to expose embedded WMI MOF metadata

2017-06-09 Thread Pali Rohár
ad.org; platform-driver- > > x...@vger.kernel.org; andriy.shevche...@linux.intel.com; > > l...@kernel.org; r...@rjwysocki.net; linux-kernel@vger.kernel.org; > > linux-a...@vger.kernel.org Subject: Re: [PATCH 15/16] > > platform/x86: wmi-mof: New driver to expose embedded WMI MOF &g

RE: [PATCH 15/16] platform/x86: wmi-mof: New driver to expose embedded WMI MOF metadata

2017-06-09 Thread Mario.Limonciello
he...@linux.intel.com; l...@kernel.org; > r...@rjwysocki.net; linux-kernel@vger.kernel.org; linux-a...@vger.kernel.org > Subject: Re: [PATCH 15/16] platform/x86: wmi-mof: New driver to expose > embedded WMI MOF metadata > > On Wednesday 07 June 2017 22:23:08 mario.limoncie...@dell

RE: [PATCH 15/16] platform/x86: wmi-mof: New driver to expose embedded WMI MOF metadata

2017-06-09 Thread Mario.Limonciello
..@kernel.org; > r...@rjwysocki.net; linux-kernel@vger.kernel.org; linux-a...@vger.kernel.org > Subject: Re: [PATCH 15/16] platform/x86: wmi-mof: New driver to expose > embedded WMI MOF metadata > > On Wednesday 07 June 2017 22:23:08 mario.limoncie...@dell.com wrote: > > > -Or

Re: [PATCH 15/16] platform/x86: wmi-mof: New driver to expose embedded WMI MOF metadata

2017-06-07 Thread Pali Rohár
t; > Cc: l...@amacapital.net; dvh...@infradead.org; platform-driver- > > x...@vger.kernel.org; andriy.shevche...@linux.intel.com; > > l...@kernel.org; r...@rjwysocki.net; linux-kernel@vger.kernel.org; > > linux-a...@vger.kernel.org Subject: Re: [PATCH 15/16] > > platform/x86:

Re: [PATCH 15/16] platform/x86: wmi-mof: New driver to expose embedded WMI MOF metadata

2017-06-07 Thread Pali Rohár
ad.org; platform-driver- > > x...@vger.kernel.org; andriy.shevche...@linux.intel.com; > > l...@kernel.org; r...@rjwysocki.net; linux-kernel@vger.kernel.org; > > linux-a...@vger.kernel.org Subject: Re: [PATCH 15/16] > > platform/x86: wmi-mof: New driver to expose embedded WMI M

RE: [PATCH 15/16] platform/x86: wmi-mof: New driver to expose embedded WMI MOF metadata

2017-06-07 Thread Mario.Limonciello
evche...@linux.intel.com; l...@kernel.org; > r...@rjwysocki.net; linux-kernel@vger.kernel.org; linux-a...@vger.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 wrot

RE: [PATCH 15/16] platform/x86: wmi-mof: New driver to expose embedded WMI MOF metadata

2017-06-07 Thread Mario.Limonciello
..@kernel.org; > r...@rjwysocki.net; linux-kernel@vger.kernel.org; linux-a...@vger.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

Re: [PATCH 15/16] platform/x86: wmi-mof: New driver to expose embedded WMI MOF metadata

2017-06-07 Thread Pali Rohár
On Tuesday 06 June 2017 15:56:21 Pali Rohár wrote: > On Tuesday 06 June 2017 13:46:16 mario.limoncie...@dell.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

Re: [PATCH 15/16] platform/x86: wmi-mof: New driver to expose embedded WMI MOF metadata

2017-06-07 Thread Pali Rohár
On Tuesday 06 June 2017 15:56:21 Pali Rohár wrote: > On Tuesday 06 June 2017 13:46:16 mario.limoncie...@dell.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

Re: [PATCH 15/16] platform/x86: wmi-mof: New driver to expose embedded WMI MOF metadata

2017-06-06 Thread Pali Rohár
On Tuesday 06 June 2017 13:46:16 mario.limoncie...@dell.com wrote: > Pali, > > Amazing job with what you've done so far. A few comments I wanted to share > from my taking look at your bmf2mof and comparing to "source" MOF. > 1) At least in source the case used for String and Boolean is lower

Re: [PATCH 15/16] platform/x86: wmi-mof: New driver to expose embedded WMI MOF metadata

2017-06-06 Thread Pali Rohár
On Tuesday 06 June 2017 13:46:16 mario.limoncie...@dell.com wrote: > Pali, > > Amazing job with what you've done so far. A few comments I wanted to share > from my taking look at your bmf2mof and comparing to "source" MOF. > 1) At least in source the case used for String and Boolean is lower

RE: [PATCH 15/16] platform/x86: wmi-mof: New driver to expose embedded WMI MOF metadata

2017-06-06 Thread Mario.Limonciello
t;mario_limoncie...@dell.com>; Rafael > Wysocki <r...@rjwysocki.net>; linux-kernel@vger.kernel.org; Linux ACPI a...@vger.kernel.org> > Subject: Re: [PATCH 15/16] platform/x86: wmi-mof: New driver to expose > embedded WMI MOF metadata > > On Monday 05 June 2017 15:39:44 Andy

RE: [PATCH 15/16] platform/x86: wmi-mof: New driver to expose embedded WMI MOF metadata

2017-06-06 Thread Mario.Limonciello
y, June 6, 2017 6:06 AM > To: Andy Lutomirski > Cc: Darren Hart ; platform-driver-...@vger.kernel.org; > Andy Shevchenko ; Andy Lutomirski > ; Limonciello, Mario ; Rafael > Wysocki ; linux-kernel@vger.kernel.org; Linux ACPI a...@vger.kernel.org> > Subject: Re: [PATC

Re: [PATCH 15/16] platform/x86: wmi-mof: New driver to expose embedded WMI MOF metadata

2017-06-06 Thread Pali Rohár
On Monday 05 June 2017 15:39:44 Andy Lutomirski wrote: > On Mon, Jun 5, 2017 at 3:19 PM, Pali Rohár wrote: > > On Tuesday 06 June 2017 00:14:56 Darren Hart wrote: > >> On Sat, May 27, 2017 at 01:14:15PM +0200, Pali Rohár wrote: > >> > > metadata. I think that Samba has tools

Re: [PATCH 15/16] platform/x86: wmi-mof: New driver to expose embedded WMI MOF metadata

2017-06-06 Thread Pali Rohár
On Monday 05 June 2017 15:39:44 Andy Lutomirski wrote: > On Mon, Jun 5, 2017 at 3:19 PM, Pali Rohár wrote: > > On Tuesday 06 June 2017 00:14:56 Darren Hart wrote: > >> On Sat, May 27, 2017 at 01:14:15PM +0200, Pali Rohár wrote: > >> > > metadata. I think that Samba has tools to interpret it, but

Re: [PATCH 15/16] platform/x86: wmi-mof: New driver to expose embedded WMI MOF metadata

2017-06-05 Thread Darren Hart
On Tue, Jun 06, 2017 at 12:19:26AM +0200, Pali Rohár wrote: > On Tuesday 06 June 2017 00:14:56 Darren Hart wrote: > > On Sat, May 27, 2017 at 01:14:15PM +0200, Pali Rohár wrote: > > > > metadata. I think that Samba has tools to interpret it, but there > > > > is currently no interface to get the

Re: [PATCH 15/16] platform/x86: wmi-mof: New driver to expose embedded WMI MOF metadata

2017-06-05 Thread Darren Hart
On Tue, Jun 06, 2017 at 12:19:26AM +0200, Pali Rohár wrote: > On Tuesday 06 June 2017 00:14:56 Darren Hart wrote: > > On Sat, May 27, 2017 at 01:14:15PM +0200, Pali Rohár wrote: > > > > metadata. I think that Samba has tools to interpret it, but there > > > > is currently no interface to get the

Re: [PATCH 15/16] platform/x86: wmi-mof: New driver to expose embedded WMI MOF metadata

2017-06-05 Thread Andy Lutomirski
On Mon, Jun 5, 2017 at 3:19 PM, Pali Rohár wrote: > On Tuesday 06 June 2017 00:14:56 Darren Hart wrote: >> On Sat, May 27, 2017 at 01:14:15PM +0200, Pali Rohár wrote: >> > > metadata. I think that Samba has tools to interpret it, but there >> > > is currently no interface to

Re: [PATCH 15/16] platform/x86: wmi-mof: New driver to expose embedded WMI MOF metadata

2017-06-05 Thread Andy Lutomirski
On Mon, Jun 5, 2017 at 3:19 PM, Pali Rohár wrote: > On Tuesday 06 June 2017 00:14:56 Darren Hart wrote: >> On Sat, May 27, 2017 at 01:14:15PM +0200, Pali Rohár wrote: >> > > metadata. I think that Samba has tools to interpret it, but there >> > > is currently no interface to get the data in the

Re: [PATCH 15/16] platform/x86: wmi-mof: New driver to expose embedded WMI MOF metadata

2017-06-05 Thread Pali Rohár
On Tuesday 06 June 2017 00:14:56 Darren Hart wrote: > On Sat, May 27, 2017 at 01:14:15PM +0200, Pali Rohár wrote: > > > metadata. I think that Samba has tools to interpret it, but there > > > is currently no interface to get the data in the first place. > > > > No, there is no non-ms-windows tool

Re: [PATCH 15/16] platform/x86: wmi-mof: New driver to expose embedded WMI MOF metadata

2017-06-05 Thread Pali Rohár
On Tuesday 06 June 2017 00:14:56 Darren Hart wrote: > On Sat, May 27, 2017 at 01:14:15PM +0200, Pali Rohár wrote: > > > metadata. I think that Samba has tools to interpret it, but there > > > is currently no interface to get the data in the first place. > > > > No, there is no non-ms-windows tool

Re: [PATCH 15/16] platform/x86: wmi-mof: New driver to expose embedded WMI MOF metadata

2017-06-05 Thread Darren Hart
On Sat, May 27, 2017 at 01:14:15PM +0200, Pali Rohár wrote: > Hi! Note that in WMI is stored binary MOF (BMOF; .bmf file; compiled > MOF), not ordinary MOF data which are plain text. So maybe it could make > sense to include "B" into name of sysfs entry? Or not? (Just suggestion) Did some

Re: [PATCH 15/16] platform/x86: wmi-mof: New driver to expose embedded WMI MOF metadata

2017-06-05 Thread Darren Hart
On Sat, May 27, 2017 at 01:14:15PM +0200, Pali Rohár wrote: > Hi! Note that in WMI is stored binary MOF (BMOF; .bmf file; compiled > MOF), not ordinary MOF data which are plain text. So maybe it could make > sense to include "B" into name of sysfs entry? Or not? (Just suggestion) Did some

Re: [PATCH 15/16] platform/x86: wmi-mof: New driver to expose embedded WMI MOF metadata

2017-05-30 Thread Andy Shevchenko
On Tue, May 30, 2017 at 8:03 PM, Pali Rohár wrote: > On Tuesday 30 May 2017 17:24:54 Andy Shevchenko wrote: >> On Sat, 2017-05-27 at 14:07 -0700, Andy Lutomirski wrote: >> > On Sat, May 27, 2017 at 4:14 AM, Pali Rohár >> > wrote: >> > > > Quite a few

Re: [PATCH 15/16] platform/x86: wmi-mof: New driver to expose embedded WMI MOF metadata

2017-05-30 Thread Andy Shevchenko
On Tue, May 30, 2017 at 8:03 PM, Pali Rohár wrote: > On Tuesday 30 May 2017 17:24:54 Andy Shevchenko wrote: >> On Sat, 2017-05-27 at 14:07 -0700, Andy Lutomirski wrote: >> > On Sat, May 27, 2017 at 4:14 AM, Pali Rohár >> > wrote: >> > > > Quite a few laptops (and maybe servers?) have embedded

Re: [PATCH 15/16] platform/x86: wmi-mof: New driver to expose embedded WMI MOF metadata

2017-05-30 Thread Pali Rohár
On Tuesday 30 May 2017 17:24:54 Andy Shevchenko wrote: > On Sat, 2017-05-27 at 14:07 -0700, Andy Lutomirski wrote: > > On Sat, May 27, 2017 at 4:14 AM, Pali Rohár > > > > wrote: > > > > Quite a few laptops (and maybe servers?) have embedded WMI MOF > > > > > > Not "a few",

Re: [PATCH 15/16] platform/x86: wmi-mof: New driver to expose embedded WMI MOF metadata

2017-05-30 Thread Pali Rohár
On Tuesday 30 May 2017 17:24:54 Andy Shevchenko wrote: > On Sat, 2017-05-27 at 14:07 -0700, Andy Lutomirski wrote: > > On Sat, May 27, 2017 at 4:14 AM, Pali Rohár > > > > wrote: > > > > Quite a few laptops (and maybe servers?) have embedded WMI MOF > > > > > > Not "a few", but "lots of" :-) >

Re: [PATCH 15/16] platform/x86: wmi-mof: New driver to expose embedded WMI MOF metadata

2017-05-30 Thread Darren Hart
On Tue, May 30, 2017 at 06:24:54PM +0300, Andy Shevchenko wrote: > On Sat, 2017-05-27 at 14:07 -0700, Andy Lutomirski wrote: > > On Sat, May 27, 2017 at 4:14 AM, Pali Rohár > > wrote: > > > > Quite a few laptops (and maybe servers?) have embedded WMI MOF > > > > > > Not "a

Re: [PATCH 15/16] platform/x86: wmi-mof: New driver to expose embedded WMI MOF metadata

2017-05-30 Thread Darren Hart
On Tue, May 30, 2017 at 06:24:54PM +0300, Andy Shevchenko wrote: > On Sat, 2017-05-27 at 14:07 -0700, Andy Lutomirski wrote: > > On Sat, May 27, 2017 at 4:14 AM, Pali Rohár > > wrote: > > > > Quite a few laptops (and maybe servers?) have embedded WMI MOF > > > > > > Not "a few", but "lots of"

Re: [PATCH 15/16] platform/x86: wmi-mof: New driver to expose embedded WMI MOF metadata

2017-05-30 Thread Andy Shevchenko
On Sat, 2017-05-27 at 14:07 -0700, Andy Lutomirski wrote: > On Sat, May 27, 2017 at 4:14 AM, Pali Rohár > wrote: > > > Quite a few laptops (and maybe servers?) have embedded WMI MOF > > > > Not "a few", but "lots of" :-) Aren't they are synonyms ("quite a few" vs "lots

Re: [PATCH 15/16] platform/x86: wmi-mof: New driver to expose embedded WMI MOF metadata

2017-05-30 Thread Andy Shevchenko
On Sat, 2017-05-27 at 14:07 -0700, Andy Lutomirski wrote: > On Sat, May 27, 2017 at 4:14 AM, Pali Rohár > wrote: > > > Quite a few laptops (and maybe servers?) have embedded WMI MOF > > > > Not "a few", but "lots of" :-) Aren't they are synonyms ("quite a few" vs "lots of")? -- Andy

Re: [PATCH 15/16] platform/x86: wmi-mof: New driver to expose embedded WMI MOF metadata

2017-05-27 Thread Andy Lutomirski
On Sat, May 27, 2017 at 4:14 AM, Pali Rohár wrote: > Hi! Note that in WMI is stored binary MOF (BMOF; .bmf file; compiled > MOF), not ordinary MOF data which are plain text. So maybe it could make > sense to include "B" into name of sysfs entry? Or not? (Just suggestion) > >

Re: [PATCH 15/16] platform/x86: wmi-mof: New driver to expose embedded WMI MOF metadata

2017-05-27 Thread Andy Lutomirski
On Sat, May 27, 2017 at 4:14 AM, Pali Rohár wrote: > Hi! Note that in WMI is stored binary MOF (BMOF; .bmf file; compiled > MOF), not ordinary MOF data which are plain text. So maybe it could make > sense to include "B" into name of sysfs entry? Or not? (Just suggestion) > > On Saturday 27 May

Re: [PATCH 15/16] platform/x86: wmi-mof: New driver to expose embedded WMI MOF metadata

2017-05-27 Thread Pali Rohár
Hi! Note that in WMI is stored binary MOF (BMOF; .bmf file; compiled MOF), not ordinary MOF data which are plain text. So maybe it could make sense to include "B" into name of sysfs entry? Or not? (Just suggestion) On Saturday 27 May 2017 07:31:29 Darren Hart wrote: > From: Andy Lutomirski

Re: [PATCH 15/16] platform/x86: wmi-mof: New driver to expose embedded WMI MOF metadata

2017-05-27 Thread Pali Rohár
Hi! Note that in WMI is stored binary MOF (BMOF; .bmf file; compiled MOF), not ordinary MOF data which are plain text. So maybe it could make sense to include "B" into name of sysfs entry? Or not? (Just suggestion) On Saturday 27 May 2017 07:31:29 Darren Hart wrote: > From: Andy Lutomirski >

[PATCH 15/16] platform/x86: wmi-mof: New driver to expose embedded WMI MOF metadata

2017-05-26 Thread Darren Hart
From: Andy Lutomirski Quite a few laptops (and maybe servers?) have embedded WMI MOF metadata. I think that Samba has tools to interpret it, but there is currently no interface to get the data in the first place. In most cases, the MOF can be read out of the DSDT, but that is

[PATCH 15/16] platform/x86: wmi-mof: New driver to expose embedded WMI MOF metadata

2017-05-26 Thread Darren Hart
From: Andy Lutomirski Quite a few laptops (and maybe servers?) have embedded WMI MOF metadata. I think that Samba has tools to interpret it, but there is currently no interface to get the data in the first place. In most cases, the MOF can be read out of the DSDT, but that is non-compliant and