RE: [PATCH v3 5/8] platform/x86: dell-wmi-smbios: introduce character device for userspace

2017-10-05 Thread Mario.Limonciello
ernel.org; > quasi...@google.com; pali.ro...@gmail.com > Subject: Re: [PATCH v3 5/8] platform/x86: dell-wmi-smbios: introduce character > device for userspace > > On Tue, Oct 03, 2017 at 03:49:04PM +, mario.limoncie...@dell.com wrote: > > > -Original Message- > >

Re: [PATCH v3 5/8] platform/x86: dell-wmi-smbios: introduce character device for userspace

2017-10-04 Thread Darren Hart
t; > ; LKML ; > > platform-driver-...@vger.kernel.org; Andy Lutomirski ; > > quasi...@google.com; pali.ro...@gmail.com > > Subject: Re: [PATCH v3 5/8] platform/x86: dell-wmi-smbios: introduce > > character > > device for userspace > > > > On Tue, Oct 03

RE: [PATCH v3 5/8] platform/x86: dell-wmi-smbios: introduce character device for userspace

2017-10-03 Thread Mario.Limonciello
om; pali.ro...@gmail.com > Subject: Re: [PATCH v3 5/8] platform/x86: dell-wmi-smbios: introduce character > device for userspace > > On Tue, Oct 03, 2017 at 11:26:11AM +0200, Greg KH wrote: > > On Wed, Sep 27, 2017 at 11:02:17PM -0500, Mario Limonciello wrote: > > > +static i

Re: [PATCH v3 5/8] platform/x86: dell-wmi-smbios: introduce character device for userspace

2017-10-03 Thread Darren Hart
On Tue, Oct 03, 2017 at 11:26:11AM +0200, Greg KH wrote: > On Wed, Sep 27, 2017 at 11:02:17PM -0500, Mario Limonciello wrote: > > +static int dell_wmi_smbios_open(struct inode *inode, struct file *file) > > +{ > > + return nonseekable_open(inode, file); > > +} > > + > > +static int dell_wmi_smbio

RE: [PATCH v3 5/8] platform/x86: dell-wmi-smbios: introduce character device for userspace

2017-10-03 Thread Mario.Limonciello
gt; pali.ro...@gmail.com > Subject: Re: [PATCH v3 5/8] platform/x86: dell-wmi-smbios: introduce character > device for userspace > > On Wed, Sep 27, 2017 at 11:02:17PM -0500, Mario Limonciello wrote: > > +static int dell_wmi_smbios_open(struct inode *inode, struct file *file) > >

Re: [PATCH v3 5/8] platform/x86: dell-wmi-smbios: introduce character device for userspace

2017-10-03 Thread Greg KH
On Wed, Sep 27, 2017 at 11:02:17PM -0500, Mario Limonciello wrote: > +static int dell_wmi_smbios_open(struct inode *inode, struct file *file) > +{ > + return nonseekable_open(inode, file); > +} > + > +static int dell_wmi_smbios_release(struct inode *inode, struct file *file) > +{ > + return

RE: [PATCH v3 5/8] platform/x86: dell-wmi-smbios: introduce character device for userspace

2017-09-30 Thread Mario.Limonciello
.@google.com; pali.ro...@gmail.com > Subject: Re: [PATCH v3 5/8] platform/x86: dell-wmi-smbios: introduce character > device for userspace > > On Wed, Sep 27, 2017 at 11:02:17PM -0500, Mario Limonciello wrote: > > This userspace character device will be used to perform SMBIOS calls > &g

Re: [PATCH v3 5/8] platform/x86: dell-wmi-smbios: introduce character device for userspace

2017-09-29 Thread Darren Hart
On Wed, Sep 27, 2017 at 11:02:17PM -0500, Mario Limonciello wrote: > This userspace character device will be used to perform SMBIOS calls > from any applications. > > It provides an ioctl that will allow passing the 32k WMI calling > interface buffer between userspace and kernel space. > > This c

[PATCH v3 5/8] platform/x86: dell-wmi-smbios: introduce character device for userspace

2017-09-27 Thread Mario Limonciello
This userspace character device will be used to perform SMBIOS calls from any applications. It provides an ioctl that will allow passing the 32k WMI calling interface buffer between userspace and kernel space. This character device is intended to deprecate the dcdbas kernel module and the interfa