RE: [PATCH v8 00/15] Introduce support for Dell SMBIOS over WMI

From: Mario.Limonciello
Date: Mon Oct 16 2017 - 09:23:14 EST


> -----Original Message-----
> From: Pali RohÃr [mailto:pali.rohar@xxxxxxxxx]
> Sent: Monday, October 16, 2017 2:33 AM
> To: Limonciello, Mario <Mario_Limonciello@xxxxxxxx>
> Cc: dvhart@xxxxxxxxxxxxx; Andy Shevchenko <andy.shevchenko@xxxxxxxxx>;
> LKML <linux-kernel@xxxxxxxxxxxxxxx>; platform-driver-x86@xxxxxxxxxxxxxxx; Andy
> Lutomirski <luto@xxxxxxxxxx>; quasisec@xxxxxxxxxx; rjw@xxxxxxxxxxxxx;
> mjg59@xxxxxxxxxx; hch@xxxxxx; Greg KH <greg@xxxxxxxxx>; Alan Cox
> <gnomes@xxxxxxxxxxxxxxxxxxx>
> 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@xxxxxxxxx

Pali,

I've produced a small sample application available here:
https://github.com/superm1/smbios-wmi-poc

I'm still evaluating whether to update libsmbios to use this API or update
individual applications to use it directly. If individual applications will
be updated I also have code for fwupd ready:
https://github.com/hughsie/fwupd/pull/277/commits/d01b8ed8e1726dd2ab3d1d9fd46f624ced7a06a2

It won't be merged until:
1) This series is accepted and targeted to -next
2) I decide whether or not to update libsmbios instead

Thanks,