Re: RFC: WMI Enhancements

2017-05-09 Thread Pali Rohár
I updated my bmfdec.c (git://github.com/pali/bmfdec.git) and here is guessed header description: /* * BMF file is compressed by DS-01 algorithm with additional header: * 4 bytes: 46 4f 4d 42 - 'F' 'O' 'M' 'B' * 4 bytes: 01 00 00 00 - version 0x01 * 4 bytes: size of compressed data (low

Re: RFC: WMI Enhancements

2017-05-09 Thread Pali Rohár
I updated my bmfdec.c (git://github.com/pali/bmfdec.git) and here is guessed header description: /* * BMF file is compressed by DS-01 algorithm with additional header: * 4 bytes: 46 4f 4d 42 - 'F' 'O' 'M' 'B' * 4 bytes: 01 00 00 00 - version 0x01 * 4 bytes: size of compressed data (low

Re: RFC: WMI Enhancements

2017-05-09 Thread Andy Shevchenko
On Tue, May 9, 2017 at 10:16 PM, wrote: >> > 46 4f 4d 42 54 15 00 00 01 00 00 00 01 00 00 00 >> > That's now FOMBT >> >> I think you just mistakenly take 0x54 as letter when it looks more like >> >> 0x1554 This one looks like offset (or size 5460) >>

Re: RFC: WMI Enhancements

2017-05-09 Thread Andy Shevchenko
On Tue, May 9, 2017 at 10:16 PM, wrote: >> > 46 4f 4d 42 54 15 00 00 01 00 00 00 01 00 00 00 >> > That's now FOMBT >> >> I think you just mistakenly take 0x54 as letter when it looks more like >> >> 0x1554 This one looks like offset (or size 5460) >> 0x0001 >> 0x0001 >> >> from

Re: RFC: WMI Enhancements

2017-05-09 Thread Pali Rohár
On Tuesday 09 May 2017 21:04:15 Andy Shevchenko wrote: > On Tue, May 9, 2017 at 9:10 PM, wrote: > >> > > Then took relevant decompression code and it really > >> > > decompressed that binary MOF WMI buffer. But still > >> > > decompressed format is binary, but I now

Re: RFC: WMI Enhancements

2017-05-09 Thread Pali Rohár
On Tuesday 09 May 2017 21:04:15 Andy Shevchenko wrote: > On Tue, May 9, 2017 at 9:10 PM, wrote: > >> > > Then took relevant decompression code and it really > >> > > decompressed that binary MOF WMI buffer. But still > >> > > decompressed format is binary, but I now see all WMI GUID > >> > >

RE: RFC: WMI Enhancements

2017-05-09 Thread Mario.Limonciello
.kernel.org; Platform > Driver <platform-driver-...@vger.kernel.org>; linux...@vger.kernel.org > Subject: Re: RFC: WMI Enhancements > > On Tue, May 9, 2017 at 9:10 PM, <mario.limoncie...@dell.com> wrote: > > >> > > Then took relevant decompression code and it really

RE: RFC: WMI Enhancements

2017-05-09 Thread Mario.Limonciello
y > Lutomirski ; Andy Shevchenko > ; linux-kernel@vger.kernel.org; Platform > Driver ; linux...@vger.kernel.org > Subject: Re: RFC: WMI Enhancements > > On Tue, May 9, 2017 at 9:10 PM, wrote: > > >> > > Then took relevant decompression code and it really decompressed th

Re: RFC: WMI Enhancements

2017-05-09 Thread Andy Shevchenko
On Tue, May 9, 2017 at 9:10 PM, wrote: >> > > Then took relevant decompression code and it really decompressed that >> > > binary MOF WMI buffer. But still decompressed format is binary, but I >> > > now see all WMI GUID encoded in UTF-16. Decompressed BMF file has

Re: RFC: WMI Enhancements

2017-05-09 Thread Andy Shevchenko
On Tue, May 9, 2017 at 9:10 PM, wrote: >> > > Then took relevant decompression code and it really decompressed that >> > > binary MOF WMI buffer. But still decompressed format is binary, but I >> > > now see all WMI GUID encoded in UTF-16. Decompressed BMF file has again >> > > "FOMB" magic

RE: RFC: WMI Enhancements

2017-05-09 Thread Mario.Limonciello
entin.ch...@gmail.com; l...@kernel.org; > andriy.shevche...@linux.intel.com; linux-kernel@vger.kernel.org; platform- > driver-...@vger.kernel.org; linux...@vger.kernel.org > Subject: Re: RFC: WMI Enhancements > > On Tuesday 09 May 2017 01:10:54 mario.limoncie...@dell.com wrote: > > >

RE: RFC: WMI Enhancements

2017-05-09 Thread Mario.Limonciello
; > andriy.shevche...@linux.intel.com; linux-kernel@vger.kernel.org; platform- > driver-...@vger.kernel.org; linux...@vger.kernel.org > Subject: Re: RFC: WMI Enhancements > > On Tuesday 09 May 2017 01:10:54 mario.limoncie...@dell.com wrote: > > > > > > I found dmsdos i

Re: RFC: WMI Enhancements

2017-05-09 Thread Pali Rohár
On Tuesday 09 May 2017 01:10:54 mario.limoncie...@dell.com wrote: > > > > I found dmsdos implementation of that DS compression at: > > http://cmp.felk.cvut.cz/~pisa/dmsdos > > > > Then took relevant decompression code and it really decompressed that > > binary MOF WMI buffer. But still

Re: RFC: WMI Enhancements

2017-05-09 Thread Pali Rohár
On Tuesday 09 May 2017 01:10:54 mario.limoncie...@dell.com wrote: > > > > I found dmsdos implementation of that DS compression at: > > http://cmp.felk.cvut.cz/~pisa/dmsdos > > > > Then took relevant decompression code and it really decompressed that > > binary MOF WMI buffer. But still

RE: RFC: WMI Enhancements

2017-05-08 Thread Mario.Limonciello
> > I found dmsdos implementation of that DS compression at: > http://cmp.felk.cvut.cz/~pisa/dmsdos > > Then took relevant decompression code and it really decompressed that > binary MOF WMI buffer. But still decompressed format is binary, but I > now see all WMI GUID encoded in UTF-16.

RE: RFC: WMI Enhancements

2017-05-08 Thread Mario.Limonciello
> > I found dmsdos implementation of that DS compression at: > http://cmp.felk.cvut.cz/~pisa/dmsdos > > Then took relevant decompression code and it really decompressed that > binary MOF WMI buffer. But still decompressed format is binary, but I > now see all WMI GUID encoded in UTF-16.

Re: RFC: WMI Enhancements

2017-05-08 Thread Pali Rohár
infradead.org; r...@rjwysocki.net; l...@amacapital.net; > > len.br...@intel.com; corentin.ch...@gmail.com; l...@kernel.org; > > andriy.shevche...@linux.intel.com; linux-kernel@vger.kernel.org; > > platform- driver-...@vger.kernel.org; linux...@vger.kernel.org > > Subject: Re: R

Re: RFC: WMI Enhancements

2017-05-08 Thread Pali Rohár
...@amacapital.net; > > len.br...@intel.com; corentin.ch...@gmail.com; l...@kernel.org; > > andriy.shevche...@linux.intel.com; linux-kernel@vger.kernel.org; > > platform- driver-...@vger.kernel.org; linux...@vger.kernel.org > > Subject: Re: RFC: WMI Enhancements > > &

RE: RFC: WMI Enhancements

2017-05-08 Thread Mario.Limonciello
entin.ch...@gmail.com; l...@kernel.org; > andriy.shevche...@linux.intel.com; linux-kernel@vger.kernel.org; platform- > driver-...@vger.kernel.org; linux...@vger.kernel.org > Subject: Re: RFC: WMI Enhancements > > On Monday 08 May 2017 21:21:45 mario.limoncie...@dell.com wrote: > > > -

RE: RFC: WMI Enhancements

2017-05-08 Thread Mario.Limonciello
; > andriy.shevche...@linux.intel.com; linux-kernel@vger.kernel.org; platform- > driver-...@vger.kernel.org; linux...@vger.kernel.org > Subject: Re: RFC: WMI Enhancements > > On Monday 08 May 2017 21:21:45 mario.limoncie...@dell.com wrote: > > > -Original Message- > >

Re: RFC: WMI Enhancements

2017-05-08 Thread Pali Rohár
infradead.org; r...@rjwysocki.net; l...@amacapital.net; > > len.br...@intel.com; corentin.ch...@gmail.com; l...@kernel.org; > > andriy.shevche...@linux.intel.com; linux-kernel@vger.kernel.org; > > platform- driver-...@vger.kernel.org; linux...@vger.kernel.org > > Subject: Re: R

Re: RFC: WMI Enhancements

2017-05-08 Thread Pali Rohár
...@amacapital.net; > > len.br...@intel.com; corentin.ch...@gmail.com; l...@kernel.org; > > andriy.shevche...@linux.intel.com; linux-kernel@vger.kernel.org; > > platform- driver-...@vger.kernel.org; linux...@vger.kernel.org > > Subject: Re: RFC: WMI Enhancements > > &

RE: RFC: WMI Enhancements

2017-05-08 Thread Mario.Limonciello
entin.ch...@gmail.com; l...@kernel.org; > andriy.shevche...@linux.intel.com; linux-kernel@vger.kernel.org; platform- > driver-...@vger.kernel.org; linux...@vger.kernel.org > Subject: Re: RFC: WMI Enhancements > > On Friday 05 May 2017 23:55:46 mario.limoncie...@dell.com wrote: > > Unf

RE: RFC: WMI Enhancements

2017-05-08 Thread Mario.Limonciello
; > andriy.shevche...@linux.intel.com; linux-kernel@vger.kernel.org; platform- > driver-...@vger.kernel.org; linux...@vger.kernel.org > Subject: Re: RFC: WMI Enhancements > > On Friday 05 May 2017 23:55:46 mario.limoncie...@dell.com wrote: > > Unfortunately the MOF data that comes

RE: RFC: WMI Enhancements

2017-05-08 Thread Mario.Limonciello
..@rjwysocki.net; len.br...@intel.com; > corentin.ch...@gmail.com; andriy.shevche...@linux.intel.com; linux- > ker...@vger.kernel.org; platform-driver-...@vger.kernel.org; linux- > p...@vger.kernel.org > Subject: Re: RFC: WMI Enhancements > > On Mon, May 08, 2017 at 06:26:53

RE: RFC: WMI Enhancements

2017-05-08 Thread Mario.Limonciello
com; > corentin.ch...@gmail.com; andriy.shevche...@linux.intel.com; linux- > ker...@vger.kernel.org; platform-driver-...@vger.kernel.org; linux- > p...@vger.kernel.org > Subject: Re: RFC: WMI Enhancements > > On Mon, May 08, 2017 at 06:26:53PM +, mario.limoncie...@dell.com wrote:

Re: RFC: WMI Enhancements

2017-05-08 Thread Darren Hart
On Mon, May 08, 2017 at 06:26:53PM +, mario.limoncie...@dell.com wrote: > (Responding as plain text, your email probably got punted from the ML from > being HTML) > > > > > ... > > > > I'm not sure what you are asking about. Samba does not deal with WMI at > > all. The state of affairs is

Re: RFC: WMI Enhancements

2017-05-08 Thread Darren Hart
On Mon, May 08, 2017 at 06:26:53PM +, mario.limoncie...@dell.com wrote: > (Responding as plain text, your email probably got punted from the ML from > being HTML) > > > > > ... > > > > I'm not sure what you are asking about. Samba does not deal with WMI at > > all. The state of affairs is

RE: RFC: WMI Enhancements

2017-05-08 Thread Mario.Limonciello
(Responding as plain text, your email probably got punted from the ML from being HTML) > > ... > > I'm not sure what you are asking about. Samba does not deal with WMI at all. > The state of affairs is > explained at >

RE: RFC: WMI Enhancements

2017-05-08 Thread Mario.Limonciello
(Responding as plain text, your email probably got punted from the ML from being HTML) > > ... > > I'm not sure what you are asking about. Samba does not deal with WMI at all. > The state of affairs is > explained at >

Re: RFC: WMI Enhancements

2017-05-08 Thread Pali Rohár
On Friday 05 May 2017 23:55:46 mario.limoncie...@dell.com wrote: > Unfortunately the MOF data that comes out of wmi-mof is so called > "Binary MOF" which has been pre-compiled to an intermediate format > with mofcomp.exe on Windows. The format of binary MOF is not > documented and the only known

Re: RFC: WMI Enhancements

2017-05-08 Thread Pali Rohár
On Friday 05 May 2017 23:55:46 mario.limoncie...@dell.com wrote: > Unfortunately the MOF data that comes out of wmi-mof is so called > "Binary MOF" which has been pre-compiled to an intermediate format > with mofcomp.exe on Windows. The format of binary MOF is not > documented and the only known

Re: RFC: WMI Enhancements

2017-05-08 Thread Andy Shevchenko
+Cc: Alexander (related to Samba team I suppose, I'm sorry if I'm wrong) On Mon, May 8, 2017 at 6:47 PM, Darren Hart wrote: > On Mon, May 08, 2017 at 03:36:31PM +, mario.limoncie...@dell.com wrote: >> > > > I meant that to say that at least for now Andy's wmi-mof

Re: RFC: WMI Enhancements

2017-05-08 Thread Andy Shevchenko
+Cc: Alexander (related to Samba team I suppose, I'm sorry if I'm wrong) On Mon, May 8, 2017 at 6:47 PM, Darren Hart wrote: > On Mon, May 08, 2017 at 03:36:31PM +, mario.limoncie...@dell.com wrote: >> > > > I meant that to say that at least for now Andy's wmi-mof driver should >> > > >

RE: RFC: WMI Enhancements

2017-05-08 Thread Mario.Limonciello
corentin.ch...@gmail.com; > andriy.shevche...@linux.intel.com; linux-kernel@vger.kernel.org; platform- > driver-...@vger.kernel.org; linux...@vger.kernel.org > Subject: Re: RFC: WMI Enhancements > > On Mon, May 08, 2017 at 03:36:31PM +, mario.limoncie...@dell.com wrote: > > > --

RE: RFC: WMI Enhancements

2017-05-08 Thread Mario.Limonciello
inux.intel.com; linux-kernel@vger.kernel.org; platform- > driver-...@vger.kernel.org; linux...@vger.kernel.org > Subject: Re: RFC: WMI Enhancements > > On Mon, May 08, 2017 at 03:36:31PM +, mario.limoncie...@dell.com wrote: > > > -Original Message- > >

Re: RFC: WMI Enhancements

2017-05-08 Thread Darren Hart
com>; > > linux-kernel@vger.kernel.org; > > platform-driver-...@vger.kernel.org; linux...@vger.kernel.org > > Subject: Re: RFC: WMI Enhancements > > > > On Fri, May 05, 2017 at 06:25:08PM -0700, Andy Lutomirski wrote: > > > On Fri, May 5, 2017 at 5:51 PM,

Re: RFC: WMI Enhancements

2017-05-08 Thread Darren Hart
> ; Rafael J. Wysocki ; Len Brown > > ; Corentin Chary ; Andy > > Shevchenko ; > > linux-kernel@vger.kernel.org; > > platform-driver-...@vger.kernel.org; linux...@vger.kernel.org > > Subject: Re: RFC: WMI Enhancements > > > > On Fri, May 05, 2017 at

RE: RFC: WMI Enhancements

2017-05-08 Thread Mario.Limonciello
ocki <r...@rjwysocki.net>; Len Brown > <len.br...@intel.com>; Corentin Chary <corentin.ch...@gmail.com>; Andy > Shevchenko <andriy.shevche...@linux.intel.com>; linux-kernel@vger.kernel.org; > platform-driver-...@vger.kernel.org; linux...@vger.kernel.org > Subject:

RE: RFC: WMI Enhancements

2017-05-08 Thread Mario.Limonciello
r.kernel.org; > platform-driver-...@vger.kernel.org; linux...@vger.kernel.org > Subject: Re: RFC: WMI Enhancements > > On Fri, May 05, 2017 at 06:25:08PM -0700, Andy Lutomirski wrote: > > On Fri, May 5, 2017 at 5:51 PM, wrote: > > >> -Original Message- > > &g

Re: RFC: WMI Enhancements

2017-05-08 Thread Darren Hart
ernel.org; platform- > >> driver-...@vger.kernel.org; linux...@vger.kernel.org > >> Subject: Re: RFC: WMI Enhancements > > > > I meant that to say that at least for now Andy's wmi-mof driver should > > still be merged. > > If something is going to build

Re: RFC: WMI Enhancements

2017-05-08 Thread Darren Hart
Mario > >> Cc: pali.ro...@gmail.com; r...@rjwysocki.net; l...@amacapital.net; > >> len.br...@intel.com; corentin.ch...@gmail.com; l...@kernel.org; > >> andriy.shevche...@linux.intel.com; linux-kernel@vger.kernel.org; platform- > >> driver-...@vger.kernel.org; linux..

Re: RFC: WMI Enhancements

2017-05-05 Thread Andy Lutomirski
ali.ro...@gmail.com; r...@rjwysocki.net; l...@amacapital.net; >> len.br...@intel.com; corentin.ch...@gmail.com; l...@kernel.org; >> andriy.shevche...@linux.intel.com; linux-kernel@vger.kernel.org; platform- >> driver-...@vger.kernel.org; linux...@vger.kernel.org >> Subject: Re: R

Re: RFC: WMI Enhancements

2017-05-05 Thread Andy Lutomirski
gt; len.br...@intel.com; corentin.ch...@gmail.com; l...@kernel.org; >> andriy.shevche...@linux.intel.com; linux-kernel@vger.kernel.org; platform- >> driver-...@vger.kernel.org; linux...@vger.kernel.org >> Subject: Re: RFC: WMI Enhancements > I meant that to say that at leas

RE: RFC: WMI Enhancements

2017-05-05 Thread Mario.Limonciello
entin.ch...@gmail.com; l...@kernel.org; > andriy.shevche...@linux.intel.com; linux-kernel@vger.kernel.org; platform- > driver-...@vger.kernel.org; linux...@vger.kernel.org > Subject: Re: RFC: WMI Enhancements > > On Fri, May 05, 2017 at 09:55:46PM +, mario.limoncie...@dell.com wrote: >

RE: RFC: WMI Enhancements

2017-05-05 Thread Mario.Limonciello
; > andriy.shevche...@linux.intel.com; linux-kernel@vger.kernel.org; platform- > driver-...@vger.kernel.org; linux...@vger.kernel.org > Subject: Re: RFC: WMI Enhancements > > On Fri, May 05, 2017 at 09:55:46PM +, mario.limoncie...@dell.com wrote: > > > -Original Messag

Re: RFC: WMI Enhancements

2017-05-05 Thread Darren Hart
o, Mario <mario_limoncie...@dell.com>; r...@rjwysocki.net; > > l...@amacapital.net; len.br...@intel.com; corentin.ch...@gmail.com; > > l...@kernel.org; andriy.shevche...@linux.intel.com; linux- > > ker...@vger.kernel.org; platform-driver-...@vger.kernel.org; linux- >

Re: RFC: WMI Enhancements

2017-05-05 Thread Darren Hart
i.net; > > l...@amacapital.net; len.br...@intel.com; corentin.ch...@gmail.com; > > l...@kernel.org; andriy.shevche...@linux.intel.com; linux- > > ker...@vger.kernel.org; platform-driver-...@vger.kernel.org; linux- > > p...@vger.kernel.org > > Subject: Re: RFC: WMI Enhancem

RE: RFC: WMI Enhancements

2017-05-05 Thread Mario.Limonciello
n.br...@intel.com; corentin.ch...@gmail.com; > l...@kernel.org; andriy.shevche...@linux.intel.com; linux- > ker...@vger.kernel.org; platform-driver-...@vger.kernel.org; linux- > p...@vger.kernel.org > Subject: Re: RFC: WMI Enhancements > > On Thu, Apr 20, 2017 at 03:14:31PM +0200, Pali R

RE: RFC: WMI Enhancements

2017-05-05 Thread Mario.Limonciello
l.org; andriy.shevche...@linux.intel.com; linux- > ker...@vger.kernel.org; platform-driver-...@vger.kernel.org; linux- > p...@vger.kernel.org > Subject: Re: RFC: WMI Enhancements > > On Thu, Apr 20, 2017 at 03:14:31PM +0200, Pali Rohár wrote: > > On Wednesday 19 April 2017

Re: RFC: WMI Enhancements

2017-04-20 Thread Darren Hart
ernel@vger.kernel.org; platform- > > > driver-...@vger.kernel.org; linux...@vger.kernel.org > > > Subject: Re: RFC: WMI Enhancements > > > > > > On Wednesday 19 April 2017 18:29:53 mario.limoncie...@dell.com wrote: > > > > > As wrote above,

Re: RFC: WMI Enhancements

2017-04-20 Thread Darren Hart
> driver-...@vger.kernel.org; linux...@vger.kernel.org > > > Subject: Re: RFC: WMI Enhancements > > > > > > On Wednesday 19 April 2017 18:29:53 mario.limoncie...@dell.com wrote: > > > > > As wrote above, I'm fine with explicit whitelist of WMI GUIDs whi

Re: RFC: WMI Enhancements

2017-04-20 Thread Christoph Hellwig
With Andy's conversion of WMI to the driver model the GUIDs should be our device ids. Which means WMI can support the dynamic device ID model, where you can echo a id to sysfs to bind an id - that way people could add the GUIDs on demand to the pass through driver if they need them even with the

Re: RFC: WMI Enhancements

2017-04-20 Thread Christoph Hellwig
With Andy's conversion of WMI to the driver model the GUIDs should be our device ids. Which means WMI can support the dynamic device ID model, where you can echo a id to sysfs to bind an id - that way people could add the GUIDs on demand to the pass through driver if they need them even with the

Re: RFC: WMI Enhancements

2017-04-20 Thread Pali Rohár
gt; > Cc: dvh...@infradead.org; r...@rjwysocki.net; l...@amacapital.net; > > len.br...@intel.com; corentin.ch...@gmail.com; l...@kernel.org; > > andriy.shevche...@linux.intel.com; linux-kernel@vger.kernel.org; platform- > > driver-...@vger.kernel.org; linux...@vger.kernel.org > > Subje

Re: RFC: WMI Enhancements

2017-04-20 Thread Pali Rohár
socki.net; l...@amacapital.net; > > len.br...@intel.com; corentin.ch...@gmail.com; l...@kernel.org; > > andriy.shevche...@linux.intel.com; linux-kernel@vger.kernel.org; platform- > > driver-...@vger.kernel.org; linux...@vger.kernel.org > > Subject: Re: RFC: WMI Enhancements >

RE: RFC: WMI Enhancements

2017-04-19 Thread Mario.Limonciello
entin.ch...@gmail.com; l...@kernel.org; > andriy.shevche...@linux.intel.com; linux-kernel@vger.kernel.org; platform- > driver-...@vger.kernel.org; linux...@vger.kernel.org > Subject: Re: RFC: WMI Enhancements > > On Wednesday 19 April 2017 18:29:53 mario.limoncie...@dell.com wrote: >

RE: RFC: WMI Enhancements

2017-04-19 Thread Mario.Limonciello
; > andriy.shevche...@linux.intel.com; linux-kernel@vger.kernel.org; platform- > driver-...@vger.kernel.org; linux...@vger.kernel.org > Subject: Re: RFC: WMI Enhancements > > On Wednesday 19 April 2017 18:29:53 mario.limoncie...@dell.com wrote: > > > As wrote above, I'm

Re: RFC: WMI Enhancements

2017-04-19 Thread Pali Rohár
On Wednesday 19 April 2017 18:29:53 mario.limoncie...@dell.com wrote: > > As wrote above, I'm fine with explicit whitelist of WMI GUIDs which > > will be exported to userspace after communication with vendor. > > What about GUID's not yet used by kernel drivers? Would those > default to

Re: RFC: WMI Enhancements

2017-04-19 Thread Pali Rohár
On Wednesday 19 April 2017 18:29:53 mario.limoncie...@dell.com wrote: > > As wrote above, I'm fine with explicit whitelist of WMI GUIDs which > > will be exported to userspace after communication with vendor. > > What about GUID's not yet used by kernel drivers? Would those > default to

RE: RFC: WMI Enhancements

2017-04-19 Thread Mario.Limonciello
lt;len.br...@intel.com>; Corentin Chary > <corentin.ch...@gmail.com>; Limonciello, Mario <mario_limoncie...@dell.com>; > Andy Lutomirski <l...@kernel.org>; Andy Shevchenko > <andriy.shevche...@linux.intel.com>; LKML <linux-kernel@vger.kernel.org>; > p

RE: RFC: WMI Enhancements

2017-04-19 Thread Mario.Limonciello
ko > ; LKML ; > platform-driver-...@vger.kernel.org; linux...@vger.kernel.org > Subject: Re: RFC: WMI Enhancements > > On Tuesday 18 April 2017 15:49:31 Darren Hart wrote: > > On Tue, Apr 18, 2017 at 09:28:36PM +0200, Pali Rohár wrote: > > > And still, if write audit fil

Re: RFC: WMI Enhancements

2017-04-19 Thread Pali Rohár
On Tuesday 18 April 2017 15:49:31 Darren Hart wrote: > On Tue, Apr 18, 2017 at 09:28:36PM +0200, Pali Rohár wrote: > > And still, if write audit filters for every one existing wmi driver in > > kernel, there still audit filter can say to userspace that current > > request cannot be accepted and

Re: RFC: WMI Enhancements

2017-04-19 Thread Pali Rohár
On Tuesday 18 April 2017 15:49:31 Darren Hart wrote: > On Tue, Apr 18, 2017 at 09:28:36PM +0200, Pali Rohár wrote: > > And still, if write audit filters for every one existing wmi driver in > > kernel, there still audit filter can say to userspace that current > > request cannot be accepted and

Re: RFC: WMI Enhancements

2017-04-18 Thread Darren Hart
On Tue, Apr 18, 2017 at 09:28:36PM +0200, Pali Rohár wrote: > On Tuesday 18 April 2017 18:33:25 Darren Hart wrote: > > On Tue, Apr 18, 2017 at 03:07:06PM +0200, Rafael Wysocki wrote: > > > On Monday, April 17, 2017 04:10:51 PM Darren Hart wrote: > > > > On Mon, Apr 17, 2017 at 03:03:29PM -0700,

Re: RFC: WMI Enhancements

2017-04-18 Thread Darren Hart
On Tue, Apr 18, 2017 at 09:28:36PM +0200, Pali Rohár wrote: > On Tuesday 18 April 2017 18:33:25 Darren Hart wrote: > > On Tue, Apr 18, 2017 at 03:07:06PM +0200, Rafael Wysocki wrote: > > > On Monday, April 17, 2017 04:10:51 PM Darren Hart wrote: > > > > On Mon, Apr 17, 2017 at 03:03:29PM -0700,

Re: RFC: WMI Enhancements

2017-04-18 Thread Rafael J. Wysocki
On Tue, Apr 18, 2017 at 6:33 PM, Darren Hart wrote: > On Tue, Apr 18, 2017 at 03:07:06PM +0200, Rafael Wysocki wrote: >> On Monday, April 17, 2017 04:10:51 PM Darren Hart wrote: >> > On Mon, Apr 17, 2017 at 03:03:29PM -0700, Andy Lutomirski wrote: >> > > On Fri, Apr 14, 2017

Re: RFC: WMI Enhancements

2017-04-18 Thread Rafael J. Wysocki
On Tue, Apr 18, 2017 at 6:33 PM, Darren Hart wrote: > On Tue, Apr 18, 2017 at 03:07:06PM +0200, Rafael Wysocki wrote: >> On Monday, April 17, 2017 04:10:51 PM Darren Hart wrote: >> > On Mon, Apr 17, 2017 at 03:03:29PM -0700, Andy Lutomirski wrote: >> > > On Fri, Apr 14, 2017 at 4:05 PM, Darren

Re: RFC: WMI Enhancements

2017-04-18 Thread Pali Rohár
On Tuesday 18 April 2017 18:56:31 Darren Hart wrote: > On Tue, Apr 18, 2017 at 09:54:01AM +0200, Pali Rohár wrote: > > On Thursday 13 April 2017 17:39:56 mario.limoncie...@dell.com wrote: > > > > > No more than exists today with the dcdbas SMI interface > > > > > (which only if you manually run

Re: RFC: WMI Enhancements

2017-04-18 Thread Pali Rohár
On Tuesday 18 April 2017 18:56:31 Darren Hart wrote: > On Tue, Apr 18, 2017 at 09:54:01AM +0200, Pali Rohár wrote: > > On Thursday 13 April 2017 17:39:56 mario.limoncie...@dell.com wrote: > > > > > No more than exists today with the dcdbas SMI interface > > > > > (which only if you manually run

Re: RFC: WMI Enhancements

2017-04-18 Thread Pali Rohár
On Tuesday 18 April 2017 18:33:25 Darren Hart wrote: > On Tue, Apr 18, 2017 at 03:07:06PM +0200, Rafael Wysocki wrote: > > On Monday, April 17, 2017 04:10:51 PM Darren Hart wrote: > > > On Mon, Apr 17, 2017 at 03:03:29PM -0700, Andy Lutomirski wrote: > > > > On Fri, Apr 14, 2017 at 4:05 PM, Darren

Re: RFC: WMI Enhancements

2017-04-18 Thread Pali Rohár
On Tuesday 18 April 2017 18:33:25 Darren Hart wrote: > On Tue, Apr 18, 2017 at 03:07:06PM +0200, Rafael Wysocki wrote: > > On Monday, April 17, 2017 04:10:51 PM Darren Hart wrote: > > > On Mon, Apr 17, 2017 at 03:03:29PM -0700, Andy Lutomirski wrote: > > > > On Fri, Apr 14, 2017 at 4:05 PM, Darren

Re: RFC: WMI Enhancements

2017-04-18 Thread Darren Hart
On Tue, Apr 18, 2017 at 09:54:01AM +0200, Pali Rohár wrote: > On Thursday 13 April 2017 17:39:56 mario.limoncie...@dell.com wrote: > > > > No more than exists today with the dcdbas SMI interface (which > > > > only if you manually run userspace tools that manipulate the same > > > > data you can

Re: RFC: WMI Enhancements

2017-04-18 Thread Darren Hart
On Tue, Apr 18, 2017 at 09:54:01AM +0200, Pali Rohár wrote: > On Thursday 13 April 2017 17:39:56 mario.limoncie...@dell.com wrote: > > > > No more than exists today with the dcdbas SMI interface (which > > > > only if you manually run userspace tools that manipulate the same > > > > data you can

Re: RFC: WMI Enhancements

2017-04-18 Thread Darren Hart
On Tue, Apr 18, 2017 at 03:07:06PM +0200, Rafael Wysocki wrote: > On Monday, April 17, 2017 04:10:51 PM Darren Hart wrote: > > On Mon, Apr 17, 2017 at 03:03:29PM -0700, Andy Lutomirski wrote: > > > On Fri, Apr 14, 2017 at 4:05 PM, Darren Hart wrote: > > > > On Sat, Apr 15,

Re: RFC: WMI Enhancements

2017-04-18 Thread Darren Hart
On Tue, Apr 18, 2017 at 03:07:06PM +0200, Rafael Wysocki wrote: > On Monday, April 17, 2017 04:10:51 PM Darren Hart wrote: > > On Mon, Apr 17, 2017 at 03:03:29PM -0700, Andy Lutomirski wrote: > > > On Fri, Apr 14, 2017 at 4:05 PM, Darren Hart wrote: > > > > On Sat, Apr 15, 2017 at 12:45:30AM

RE: RFC: WMI Enhancements

2017-04-18 Thread Mario.Limonciello
dvh...@infradead.org; r...@rjwysocki.net; > len.br...@intel.com; corentin.ch...@gmail.com; l...@kernel.org; linux- > ker...@vger.kernel.org; platform-driver-...@vger.kernel.org; linux- > p...@vger.kernel.org > Subject: Re: RFC: WMI Enhancements > > On Thu, 2017-04-13 at 15:40 +, mario.l

RE: RFC: WMI Enhancements

2017-04-18 Thread Mario.Limonciello
; len.br...@intel.com; corentin.ch...@gmail.com; l...@kernel.org; linux- > ker...@vger.kernel.org; platform-driver-...@vger.kernel.org; linux- > p...@vger.kernel.org > Subject: Re: RFC: WMI Enhancements > > On Thu, 2017-04-13 at 15:40 +, mario.limoncie...@dell.com

Re: RFC: WMI Enhancements

2017-04-18 Thread Rafael J. Wysocki
On Monday, April 17, 2017 04:10:51 PM Darren Hart wrote: > On Mon, Apr 17, 2017 at 03:03:29PM -0700, Andy Lutomirski wrote: > > On Fri, Apr 14, 2017 at 4:05 PM, Darren Hart wrote: > > > On Sat, Apr 15, 2017 at 12:45:30AM +0200, Rafael Wysocki wrote: > > >> On Wednesday,

Re: RFC: WMI Enhancements

2017-04-18 Thread Rafael J. Wysocki
On Monday, April 17, 2017 04:10:51 PM Darren Hart wrote: > On Mon, Apr 17, 2017 at 03:03:29PM -0700, Andy Lutomirski wrote: > > On Fri, Apr 14, 2017 at 4:05 PM, Darren Hart wrote: > > > On Sat, Apr 15, 2017 at 12:45:30AM +0200, Rafael Wysocki wrote: > > >> On Wednesday, April 12, 2017 04:08:54 PM

Re: RFC: WMI Enhancements

2017-04-18 Thread Pali Rohár
On Thursday 13 April 2017 17:39:56 mario.limoncie...@dell.com wrote: > > > No more than exists today with the dcdbas SMI interface (which > > > only if you manually run userspace tools that manipulate the same > > > data you can do that technically). > > > > > > We're all reasonable folks, if

Re: RFC: WMI Enhancements

2017-04-18 Thread Pali Rohár
On Thursday 13 April 2017 17:39:56 mario.limoncie...@dell.com wrote: > > > No more than exists today with the dcdbas SMI interface (which > > > only if you manually run userspace tools that manipulate the same > > > data you can do that technically). > > > > > > We're all reasonable folks, if

Re: RFC: WMI Enhancements

2017-04-18 Thread Andy Shevchenko
On Thu, 2017-04-13 at 15:40 +, mario.limoncie...@dell.com wrote: > > libsmbios would benefit. > > > > Really libsmbios matters here? Hans (added to thread) wrote that > > libsmbios is > > a relic, something of ages long gone by and a normal user should > > never use it. > > > > A normal

Re: RFC: WMI Enhancements

2017-04-18 Thread Andy Shevchenko
On Thu, 2017-04-13 at 15:40 +, mario.limoncie...@dell.com wrote: > > libsmbios would benefit. > > > > Really libsmbios matters here? Hans (added to thread) wrote that > > libsmbios is > > a relic, something of ages long gone by and a normal user should > > never use it. > > > > A normal

Re: RFC: WMI Enhancements

2017-04-17 Thread Darren Hart
On Mon, Apr 17, 2017 at 03:03:29PM -0700, Andy Lutomirski wrote: > On Fri, Apr 14, 2017 at 4:05 PM, Darren Hart wrote: > > On Sat, Apr 15, 2017 at 12:45:30AM +0200, Rafael Wysocki wrote: > >> On Wednesday, April 12, 2017 04:08:54 PM Darren Hart wrote: > >> > Hi All, > >> > >

Re: RFC: WMI Enhancements

2017-04-17 Thread Darren Hart
On Mon, Apr 17, 2017 at 03:03:29PM -0700, Andy Lutomirski wrote: > On Fri, Apr 14, 2017 at 4:05 PM, Darren Hart wrote: > > On Sat, Apr 15, 2017 at 12:45:30AM +0200, Rafael Wysocki wrote: > >> On Wednesday, April 12, 2017 04:08:54 PM Darren Hart wrote: > >> > Hi All, > >> > > >> > There are a few

Re: RFC: WMI Enhancements

2017-04-17 Thread Andy Lutomirski
On Fri, Apr 14, 2017 at 4:05 PM, Darren Hart wrote: > On Sat, Apr 15, 2017 at 12:45:30AM +0200, Rafael Wysocki wrote: >> On Wednesday, April 12, 2017 04:08:54 PM Darren Hart wrote: >> > Hi All, >> > >> > There are a few parallel efforts involving the Windows Management >> >

Re: RFC: WMI Enhancements

2017-04-17 Thread Andy Lutomirski
On Fri, Apr 14, 2017 at 4:05 PM, Darren Hart wrote: > On Sat, Apr 15, 2017 at 12:45:30AM +0200, Rafael Wysocki wrote: >> On Wednesday, April 12, 2017 04:08:54 PM Darren Hart wrote: >> > Hi All, >> > >> > There are a few parallel efforts involving the Windows Management >> > Instrumentation

Re: RFC: WMI Enhancements

2017-04-14 Thread Darren Hart
On Sat, Apr 15, 2017 at 12:45:30AM +0200, Rafael Wysocki wrote: > On Wednesday, April 12, 2017 04:08:54 PM Darren Hart wrote: > > Hi All, > > > > There are a few parallel efforts involving the Windows Management > > Instrumentation (WMI)[1] and dependent/related drivers. I'd like to have a > >

Re: RFC: WMI Enhancements

2017-04-14 Thread Darren Hart
On Sat, Apr 15, 2017 at 12:45:30AM +0200, Rafael Wysocki wrote: > On Wednesday, April 12, 2017 04:08:54 PM Darren Hart wrote: > > Hi All, > > > > There are a few parallel efforts involving the Windows Management > > Instrumentation (WMI)[1] and dependent/related drivers. I'd like to have a > >

Re: RFC: WMI Enhancements

2017-04-14 Thread Rafael J. Wysocki
On Wednesday, April 12, 2017 04:08:54 PM Darren Hart wrote: > Hi All, > > There are a few parallel efforts involving the Windows Management > Instrumentation (WMI)[1] and dependent/related drivers. I'd like to have a > round of > discussion among those of you that have been involved in this

Re: RFC: WMI Enhancements

2017-04-14 Thread Rafael J. Wysocki
On Wednesday, April 12, 2017 04:08:54 PM Darren Hart wrote: > Hi All, > > There are a few parallel efforts involving the Windows Management > Instrumentation (WMI)[1] and dependent/related drivers. I'd like to have a > round of > discussion among those of you that have been involved in this

RE: RFC: WMI Enhancements

2017-04-14 Thread Mario.Limonciello
ail.com; l...@kernel.org; andriy.shevche...@linux.intel.com; > linux-kernel@vger.kernel.org; platform-driver-...@vger.kernel.org; linux- > p...@vger.kernel.org > Subject: Re: RFC: WMI Enhancements > > On Fri, Apr 14, 2017 at 05:42:03PM +, mario.limoncie...@dell.com wrote: > > > >

RE: RFC: WMI Enhancements

2017-04-14 Thread Mario.Limonciello
..@linux.intel.com; > linux-kernel@vger.kernel.org; platform-driver-...@vger.kernel.org; linux- > p...@vger.kernel.org > Subject: Re: RFC: WMI Enhancements > > On Fri, Apr 14, 2017 at 05:42:03PM +, mario.limoncie...@dell.com wrote: > > > > > > > -Ori

Re: RFC: WMI Enhancements

2017-04-14 Thread Darren Hart
> > > Cc: pali.ro...@gmail.com; r...@rjwysocki.net; len.br...@intel.com; > > corentin.ch...@gmail.com; l...@kernel.org; > > andriy.shevche...@linux.intel.com; > > linux-kernel@vger.kernel.org; platform-driver-...@vger.kernel.org; linux- > > p...@vger.kernel.org &g

Re: RFC: WMI Enhancements

2017-04-14 Thread Darren Hart
mail.com; r...@rjwysocki.net; len.br...@intel.com; > > corentin.ch...@gmail.com; l...@kernel.org; > > andriy.shevche...@linux.intel.com; > > linux-kernel@vger.kernel.org; platform-driver-...@vger.kernel.org; linux- > > p...@vger.kernel.org > > Subject: Re: RFC:

RE: RFC: WMI Enhancements

2017-04-14 Thread Mario.Limonciello
ail.com; l...@kernel.org; andriy.shevche...@linux.intel.com; > linux-kernel@vger.kernel.org; platform-driver-...@vger.kernel.org; linux- > p...@vger.kernel.org > Subject: Re: RFC: WMI Enhancements > > On Thu, Apr 13, 2017 at 08:38:28PM +, mario.limoncie...@dell.com wrote: > > Earli

RE: RFC: WMI Enhancements

2017-04-14 Thread Mario.Limonciello
..@linux.intel.com; > linux-kernel@vger.kernel.org; platform-driver-...@vger.kernel.org; linux- > p...@vger.kernel.org > Subject: Re: RFC: WMI Enhancements > > On Thu, Apr 13, 2017 at 08:38:28PM +, mario.limoncie...@dell.com wrote: > > Earlier question from Andy. I ha

Re: RFC: WMI Enhancements

2017-04-13 Thread Darren Hart
On Thu, Apr 13, 2017 at 08:38:28PM +, mario.limoncie...@dell.com wrote: > Earlier question from Andy. I had some discussion with the right people > about this. > > > Is it just the "call SMBIOS" GUID or are there other things? > > Today - it's just the SMBIOS calling GUID. There are plans

Re: RFC: WMI Enhancements

2017-04-13 Thread Darren Hart
On Thu, Apr 13, 2017 at 08:38:28PM +, mario.limoncie...@dell.com wrote: > Earlier question from Andy. I had some discussion with the right people > about this. > > > Is it just the "call SMBIOS" GUID or are there other things? > > Today - it's just the SMBIOS calling GUID. There are plans

  1   2   >