Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1739176
| From | Andy Shevchenko <andy.shevchenko@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 11/12] platform/x86: dell-wmi-smbios: introduce character device for userspace |
| Date | 2017-09-25 19:00 +0200 |
| Message-ID | <utETE-zB-9@gated-at.bofh.it> (permalink) |
| References | <usabf-1IE-3@gated-at.bofh.it> <usabf-1IE-1@gated-at.bofh.it> <utEAj-q7-27@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Mon, Sep 25, 2017 at 7:31 PM, Pali Rohár <pali.rohar@gmail.com> wrote: > On Thursday 21 September 2017 08:57:16 Mario Limonciello wrote: >> This userspace character device will be used to perform SMBIOS calls >> from any applications sending a properly formatted 4k calling interface >> buffer. >> >> This character device is intended to deprecate the dcdbas kernel module >> and the interface that it provides to userspace. >> >> It's important for the driver to provide a R/W ioctl to ensure that >> two competing userspace processes don't race to provide or read each >> others data. >> +What: /dev/wmi-dell-wmi-smbios > > What about just /dev/dell-smbios? IOCTL provided here is just SMBIOS > related and I think userspace does not have to care if it is via WMI or > direct SMM mode... Important is that it provides character device for > SMBIOS API and not how it is implemented. > > Anyway, Darren, Andy, do we have some convention for naming platform > character devices? For me, looking to this case, seems better to expose a folder like /dev/smbios/ with actual vendor device nodes inside like /dev/smbios/dell Darren? P.S. Interestingly I wasn't in Cc list for this series at all. -- With Best Regards, Andy Shevchenko
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 11/12] platform/x86: dell-wmi-smbios: introduce character device for userspace Mario Limonciello <mario.limonciello@dell.com> - 2017-09-21 16:00 +0200
Re: [PATCH 11/12] platform/x86: dell-wmi-smbios: introduce character device for userspace Pali Rohár <pali.rohar@gmail.com> - 2017-09-25 18:40 +0200
Re: [PATCH 11/12] platform/x86: dell-wmi-smbios: introduce character device for userspace Andy Shevchenko <andy.shevchenko@gmail.com> - 2017-09-25 19:00 +0200
RE: [PATCH 11/12] platform/x86: dell-wmi-smbios: introduce character device for userspace <Mario.Limonciello@dell.com> - 2017-09-25 19:50 +0200
csiph-web