Re: [PATCH v6 09/14] platform/x86: dell-smbios: Introduce dispatcher for SMM calls

2017-10-12 Thread Darren Hart
evchenko ; > > LKML ; platform-driver-...@vger.kernel.org; > > Andy Lutomirski ; quasi...@google.com; r...@rjwysocki.net; > > mj...@google.com; h...@lst.de; Greg KH > > Subject: Re: [PATCH v6 09/14] platform/x86: dell-smbios: Introduce > > dispatcher for >

RE: [PATCH v6 09/14] platform/x86: dell-smbios: Introduce dispatcher for SMM calls

2017-10-10 Thread Mario.Limonciello
m; r...@rjwysocki.net; > mj...@google.com; h...@lst.de; Greg KH > Subject: Re: [PATCH v6 09/14] platform/x86: dell-smbios: Introduce dispatcher > for > SMM calls > > On Monday 09 October 2017 17:51:47 Mario Limonciello wrote: > > static void dell_rfkill_query(struct rfki

Re: [PATCH v6 09/14] platform/x86: dell-smbios: Introduce dispatcher for SMM calls

2017-10-10 Thread Pali Rohár
On Monday 09 October 2017 17:51:47 Mario Limonciello wrote: > static void dell_rfkill_query(struct rfkill *rfkill, void *data) > { > - struct calling_interface_buffer *buffer; > int radio = ((unsigned long)data & 0xF); > int hwswitch; > int status; > int ret; > > -

[PATCH v6 09/14] platform/x86: dell-smbios: Introduce dispatcher for SMM calls

2017-10-09 Thread Mario Limonciello
This splits up the dell-smbios driver into two drivers: * dell-smbios * dell-smbios-smm dell-smbios can operate with multiple different dispatcher drivers to perform SMBIOS operations. Also modify the interface that dell-laptop and dell-wmi use align to this model more closely. Rather than a sin