Re: [PATCH v3 3/8] platform/x86: dell-wmi-smbios: Use Dell WMI descriptor check

2017-10-02 Thread Pali Rohár
e...@gmail.com; linux- > > ker...@vger.kernel.org; platform-driver-...@vger.kernel.org; > > l...@kernel.org; > > quasi...@google.com > > Subject: Re: [PATCH v3 3/8] platform/x86: dell-wmi-smbios: Use Dell WMI > > descriptor check > > > >

RE: [PATCH v3 3/8] platform/x86: dell-wmi-smbios: Use Dell WMI descriptor check

2017-10-02 Thread Mario.Limonciello
ernel.org; > quasi...@google.com > Subject: Re: [PATCH v3 3/8] platform/x86: dell-wmi-smbios: Use Dell WMI > descriptor check > > On Saturday 30 September 2017 21:48:39 mario.limoncie...@dell.com wrote: > > > > +/* > > > > > > > + * Descriptor buffer

Re: [PATCH v3 3/8] platform/x86: dell-wmi-smbios: Use Dell WMI descriptor check

2017-10-01 Thread Andy Shevchenko
On Sat, Sep 30, 2017 at 4:29 AM, Darren Hart wrote: > On Wed, Sep 27, 2017 at 11:02:15PM -0500, Mario Limonciello wrote: >> The Dell WMI descriptor check is used as an indication that WMI >> calls are safe to run both when used with the notification >> ASL/GUID pair as well as the SMBIOS calling A

Re: [PATCH v3 3/8] platform/x86: dell-wmi-smbios: Use Dell WMI descriptor check

2017-09-30 Thread Pali Rohár
On Saturday 30 September 2017 21:48:39 mario.limoncie...@dell.com wrote: > > > +/* > > > > > + * Descriptor buffer is 128 byte long and contains: > > ... > > > > > + if (obj->buffer.length != 128) { > > > + dev_err(&wdev->dev, > > > + "Dell descriptor buffer has invalid le

RE: [PATCH v3 3/8] platform/x86: dell-wmi-smbios: Use Dell WMI descriptor check

2017-09-30 Thread Mario.Limonciello
.@google.com; pali.ro...@gmail.com > Subject: Re: [PATCH v3 3/8] platform/x86: dell-wmi-smbios: Use Dell WMI > descriptor check > > On Wed, Sep 27, 2017 at 11:02:15PM -0500, Mario Limonciello wrote: > > The Dell WMI descriptor check is used as an indication that WMI > > calls are saf

Re: [PATCH v3 3/8] platform/x86: dell-wmi-smbios: Use Dell WMI descriptor check

2017-09-29 Thread Darren Hart
On Wed, Sep 27, 2017 at 11:02:15PM -0500, Mario Limonciello wrote: > The Dell WMI descriptor check is used as an indication that WMI > calls are safe to run both when used with the notification > ASL/GUID pair as well as the SMBIOS calling ASL/GUID pair. > > As some code in dell-wmi-smbios is alre