From: Darren Hart <dvhart@infradead.org>
To: Mario.Limonciello@dell.com
Cc: pali.rohar@gmail.com, andy.shevchenko@gmail.com,
linux-kernel@vger.kernel.org,
platform-driver-x86@vger.kernel.org, luto@kernel.org,
quasisec@google.com, rjw@rjwysocki.net, mjg59@google.com,
hch@lst.de, greg@kroah.com, gnomes@lxorguk.ukuu.org.uk
Subject: Re: [PATCH v8 00/15] Introduce support for Dell SMBIOS over WMI
Date: Mon, 16 Oct 2017 14:56:47 -0700 [thread overview]
Message-ID: <20171016215647.GD14419@fury> (raw)
In-Reply-To: <a9a6d127cdc94f1ba40ce0d2dff78156@ausx13mpc120.AMER.DELL.COM>
On Mon, Oct 16, 2017 at 01:48:05PM +0000, Mario.Limonciello@dell.com wrote:
> > -----Original Message-----
> > From: Pali Rohár [mailto:pali.rohar@gmail.com]
> > Sent: Monday, October 16, 2017 8:37 AM
> > To: Limonciello, Mario <Mario_Limonciello@Dell.com>
> > Cc: dvhart@infradead.org; andy.shevchenko@gmail.com; linux-
> > kernel@vger.kernel.org; platform-driver-x86@vger.kernel.org; luto@kernel.org;
> > quasisec@google.com; rjw@rjwysocki.net; mjg59@google.com; hch@lst.de;
> > greg@kroah.com; gnomes@lxorguk.ukuu.org.uk
> > Subject: Re: [PATCH v8 00/15] Introduce support for Dell SMBIOS over WMI
> >
> > On Monday 16 October 2017 13:23:04 Mario.Limonciello@dell.com wrote:
> > > > -----Original Message-----
> > > > From: Pali Rohár [mailto:pali.rohar@gmail.com]
> > > > Sent: Monday, October 16, 2017 2:33 AM
> > > > To: Limonciello, Mario <Mario_Limonciello@Dell.com>
> > > > Cc: dvhart@infradead.org; Andy Shevchenko <andy.shevchenko@gmail.com>;
> > > > LKML <linux-kernel@vger.kernel.org>; platform-driver-x86@vger.kernel.org;
> > Andy
> > > > Lutomirski <luto@kernel.org>; quasisec@google.com; rjw@rjwysocki.net;
> > > > mjg59@google.com; hch@lst.de; Greg KH <greg@kroah.com>; Alan Cox
> > > > <gnomes@lxorguk.ukuu.org.uk>
> > > > Subject: Re: [PATCH v8 00/15] Introduce support for Dell SMBIOS over WMI
> > > >
> > > > Hi! Just a small idea, what about including example userspace
> > > > application which would use this new API? I think such application can
> > > > be useful for documentation purpose to see how this new API should be
> > > > used. And in review process other people can point if there would be
> > > > some problems with usage.
> > > >
> > > > I do not know if it is requirement or not for introducing new kernel
> > > > API, but still example code is very useful for developers when they
> > > > would start to use this new API and correctly.
> > > >
> > > > --
> > > > Pali Rohár
> > > > pali.rohar@gmail.com
> > >
> > > Pali,
> > >
> > > I've produced a small sample application available here:
> > > https://github.com/superm1/smbios-wmi-poc
> >
> > Simple one-file example application. Great!
> >
> > Darren, Greg, Mario, I think it would be better to have this example
> > application in tools/ or in Documentation/... What do you think?
> >
> > Looking for examples on random github repos is harder and less official
> > as part of linux source tree.
> >
>
> If others also agree, I'm fine with including it with the kernel.
> Please advise where it should be located.
>
> It was originally a POC made just for my own testing of this API.
> I will probably need to clean it up a little though for wider distribution
> to the kernel so I would prefer to send it in a follow up patch if no other
> feedback requiring changes to this series as is.
>
> One possible issue is that it currently uses glib. Is that OK?
In my opinion, what is important is that there is an open-source
userspace consumer of the interface. I don't think it needs to be in the
kernel. If this was a more generic interface which could be tested on
any hardware, then I think a selftests target would be sensible. As it
is, this is a very specific use case, and a simple reference to the
smbios-wmi-poc project URL in documentation someplace (or even in the
dell-smbios driver comments) seems more than adequate to me.
--
Darren Hart
VMware Open Source Technology Center
next prev parent reply other threads:[~2017-10-16 21:56 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-10-14 5:32 [PATCH v8 00/15] Introduce support for Dell SMBIOS over WMI Mario Limonciello
2017-10-14 5:32 ` [PATCH v8 01/15] platform/x86: wmi: Add new method wmidev_evaluate_method Mario Limonciello
2017-10-14 5:32 ` [PATCH v8 02/15] platform/x86: dell-wmi: increase severity of some failures Mario Limonciello
2017-10-14 5:32 ` [PATCH v8 03/15] platform/x86: dell-wmi: clean up wmi descriptor check Mario Limonciello
2017-10-14 5:32 ` [PATCH v8 04/15] platform/x86: dell-wmi: allow 32k return size in the descriptor Mario Limonciello
2017-10-14 5:32 ` [PATCH v8 05/15] platform/x86: dell-wmi-descriptor: split WMI descriptor into it's own driver Mario Limonciello
2017-10-14 5:32 ` [PATCH v8 06/15] platform/x86: wmi: Don't allow drivers to get each other's GUIDs Mario Limonciello
2017-10-14 5:32 ` [PATCH v8 07/15] platform/x86: dell-smbios: only run if proper oem string is detected Mario Limonciello
2017-10-14 5:32 ` [PATCH v8 08/15] platform/x86: dell-smbios: Add a sysfs interface for SMBIOS tokens Mario Limonciello
2017-10-17 6:37 ` kbuild test robot
2017-10-14 5:32 ` [PATCH v8 09/15] platform/x86: dell-smbios: Introduce dispatcher for SMM calls Mario Limonciello
2017-10-17 3:49 ` kbuild test robot
2017-10-17 4:14 ` kbuild test robot
2017-10-17 4:14 ` [PATCH] platform/x86: dell-smbios: fix semicolon.cocci warnings kbuild test robot
2017-10-17 4:20 ` [PATCH v8 09/15] platform/x86: dell-smbios: Introduce dispatcher for SMM calls kbuild test robot
2017-10-14 5:32 ` [PATCH v8 10/15] platform/x86: dell-smbios-wmi: Add new WMI dispatcher driver Mario Limonciello
2017-10-14 5:32 ` [PATCH v8 11/15] platform/x86: dell-smbios-smm: test for WSMT Mario Limonciello
2017-10-14 5:32 ` [PATCH v8 12/15] platform/x86: dell-smbios: Add filtering support Mario Limonciello
2017-10-17 4:11 ` kbuild test robot
2017-10-14 5:32 ` [PATCH v8 13/15] platform/x86: wmi: Add sysfs attribute for required_buffer_size Mario Limonciello
2017-10-14 5:32 ` [PATCH v8 14/15] platform/x86: wmi: create userspace interface for drivers Mario Limonciello
2017-10-17 3:58 ` kbuild test robot
2017-10-14 5:32 ` [PATCH v8 15/15] platform/x86: dell-smbios-wmi: introduce userspace interface Mario Limonciello
2017-10-16 2:45 ` [PATCH v8 00/15] Introduce support for Dell SMBIOS over WMI Edward O'Callaghan
2017-10-16 7:33 ` Pali Rohár
2017-10-16 13:23 ` Mario.Limonciello
2017-10-16 13:37 ` Pali Rohár
2017-10-16 13:48 ` Mario.Limonciello
2017-10-16 21:56 ` Darren Hart [this message]
2017-10-17 14:22 ` Mario.Limonciello
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20171016215647.GD14419@fury \
--to=dvhart@infradead.org \
--cc=Mario.Limonciello@dell.com \
--cc=andy.shevchenko@gmail.com \
--cc=gnomes@lxorguk.ukuu.org.uk \
--cc=greg@kroah.com \
--cc=hch@lst.de \
--cc=linux-kernel@vger.kernel.org \
--cc=luto@kernel.org \
--cc=mjg59@google.com \
--cc=pali.rohar@gmail.com \
--cc=platform-driver-x86@vger.kernel.org \
--cc=quasisec@google.com \
--cc=rjw@rjwysocki.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox