RE: [PATCH v3 2/2] dmi-id: add dmi/id/oem group for exporting oem strings to sysfs

2017-05-22 Thread Mario.Limonciello
> > So we would really like a way in the kernel to be able to recognize > > this situation and both tell kernel modules and tell userspace. > > OK, I get the idea. It should be noted that the patch you initially > proposed, and I declined, did not fully solve this actual problem. > Making the OEM

RE: [PATCH v3 2/2] dmi-id: add dmi/id/oem group for exporting oem strings to sysfs

2017-05-22 Thread Mario.Limonciello
> > So we would really like a way in the kernel to be able to recognize > > this situation and both tell kernel modules and tell userspace. > > OK, I get the idea. It should be noted that the patch you initially > proposed, and I declined, did not fully solve this actual problem. > Making the OEM

Re: [PATCH v3 2/2] dmi-id: add dmi/id/oem group for exporting oem strings to sysfs

2017-05-22 Thread Jean Delvare
Hi Mario, On Mon, 1 May 2017 20:58:13 +, mario.limoncie...@dell.com wrote: > > That I understand. What I do not understand is how software is supposed > > to figure out which string represents what, even if it knows how many > > strings there are in total. > > At least for Dell, not all of

Re: [PATCH v3 2/2] dmi-id: add dmi/id/oem group for exporting oem strings to sysfs

2017-05-22 Thread Jean Delvare
Hi Mario, On Mon, 1 May 2017 20:58:13 +, mario.limoncie...@dell.com wrote: > > That I understand. What I do not understand is how software is supposed > > to figure out which string represents what, even if it knows how many > > strings there are in total. > > At least for Dell, not all of

RE: [PATCH v3 2/2] dmi-id: add dmi/id/oem group for exporting oem strings to sysfs

2017-05-01 Thread Mario.Limonciello
uk; so...@cmu.edu; jens.wiklan...@linaro.org; > agr...@codeaurora.org; a...@arndb.de; sudeep.ho...@arm.com; > e...@anholt.net; linux-kernel@vger.kernel.org > Subject: Re: [PATCH v3 2/2] dmi-id: add dmi/id/oem group for exporting oem > strings to sysfs > > Hi Mario, Allen, > > S

RE: [PATCH v3 2/2] dmi-id: add dmi/id/oem group for exporting oem strings to sysfs

2017-05-01 Thread Mario.Limonciello
ra.org; a...@arndb.de; sudeep.ho...@arm.com; > e...@anholt.net; linux-kernel@vger.kernel.org > Subject: Re: [PATCH v3 2/2] dmi-id: add dmi/id/oem group for exporting oem > strings to sysfs > > Hi Mario, Allen, > > Sorry for taking so long to get back to you. No excuses really

Re: [PATCH v3 2/2] dmi-id: add dmi/id/oem group for exporting oem strings to sysfs

2017-05-01 Thread Jean Delvare
com; > > e...@anholt.net; linux-kernel@vger.kernel.org > > Subject: Re: [PATCH v3 2/2] dmi-id: add dmi/id/oem group for exporting oem > > strings to sysfs > > > > On Wed, 31 Aug 2016 21:51:22 +, mario_limoncie...@dell.com wrote: > > > The main downside I

Re: [PATCH v3 2/2] dmi-id: add dmi/id/oem group for exporting oem strings to sysfs

2017-05-01 Thread Jean Delvare
er 1, 2016 1:01 PM > > To: Limonciello, Mario > > Cc: gre...@linuxfoundation.org; Hung, Allen ; > > rmk+ker...@arm.linux.org.uk; so...@cmu.edu; jens.wiklan...@linaro.org; > > agr...@codeaurora.org; a...@arndb.de; sudeep.ho...@arm.com; > > e...@anholt.net; linux-kernel@vger.kernel.org &g

RE: [PATCH v3 2/2] dmi-id: add dmi/id/oem group for exporting oem strings to sysfs

2016-09-01 Thread Mario_Limonciello
rm.linux.org.uk; so...@cmu.edu; jens.wiklan...@linaro.org; > agr...@codeaurora.org; a...@arndb.de; sudeep.ho...@arm.com; > e...@anholt.net; linux-kernel@vger.kernel.org > Subject: Re: [PATCH v3 2/2] dmi-id: add dmi/id/oem group for exporting oem > strings to sysfs > > H

RE: [PATCH v3 2/2] dmi-id: add dmi/id/oem group for exporting oem strings to sysfs

2016-09-01 Thread Mario_Limonciello
agr...@codeaurora.org; a...@arndb.de; sudeep.ho...@arm.com; > e...@anholt.net; linux-kernel@vger.kernel.org > Subject: Re: [PATCH v3 2/2] dmi-id: add dmi/id/oem group for exporting oem > strings to sysfs > > Hi Mario, > > On Wed, 31 Aug 2016 21:51:22 +, mario_limoncie...@

Re: [PATCH v3 2/2] dmi-id: add dmi/id/oem group for exporting oem strings to sysfs

2016-09-01 Thread Jean Delvare
Hi Mario, On Wed, 31 Aug 2016 21:51:22 +, mario_limoncie...@dell.com wrote: > > > Ah, yeah, just use dmidecode, much simpler, keeps the kernel smaller, I > > > like it. > > The main fundamental difference between kernel and userspace > will be that applications will need to run dmidecode

Re: [PATCH v3 2/2] dmi-id: add dmi/id/oem group for exporting oem strings to sysfs

2016-09-01 Thread Jean Delvare
Hi Mario, On Wed, 31 Aug 2016 21:51:22 +, mario_limoncie...@dell.com wrote: > > > Ah, yeah, just use dmidecode, much simpler, keeps the kernel smaller, I > > > like it. > > The main fundamental difference between kernel and userspace > will be that applications will need to run dmidecode

RE: [PATCH v3 2/2] dmi-id: add dmi/id/oem group for exporting oem strings to sysfs

2016-08-31 Thread Mario_Limonciello
gt;; rmk+ker...@arm.linux.org.uk; so...@cmu.edu; > bjorn.anders...@sonymobile.com; jens.wiklan...@linaro.org; > agr...@codeaurora.org; a...@arndb.de; sudeep.ho...@arm.com; > e...@anholt.net; linux-kernel@vger.kernel.org > Subject: Re: [PATCH v3 2/2] dmi-id: add dmi/id/oem group

RE: [PATCH v3 2/2] dmi-id: add dmi/id/oem group for exporting oem strings to sysfs

2016-08-31 Thread Mario_Limonciello
...@linaro.org; > agr...@codeaurora.org; a...@arndb.de; sudeep.ho...@arm.com; > e...@anholt.net; linux-kernel@vger.kernel.org > Subject: Re: [PATCH v3 2/2] dmi-id: add dmi/id/oem group for exporting oem > strings to sysfs > > Hi all, > > On Wed, 31 Aug 2016 16:43:26 +0200,

Re: [PATCH v3 2/2] dmi-id: add dmi/id/oem group for exporting oem strings to sysfs

2016-08-31 Thread Jean Delvare
Hi all, On Wed, 31 Aug 2016 16:43:26 +0200, Greg KH wrote: > On Wed, Aug 31, 2016 at 02:01:23PM +, mario_limoncie...@dell.com wrote: > > Jean Delvare would rather see this implemented in userspace dmidecode. > > Jean raised a concern in an earlier submission that this runs on every > >

Re: [PATCH v3 2/2] dmi-id: add dmi/id/oem group for exporting oem strings to sysfs

2016-08-31 Thread Jean Delvare
Hi all, On Wed, 31 Aug 2016 16:43:26 +0200, Greg KH wrote: > On Wed, Aug 31, 2016 at 02:01:23PM +, mario_limoncie...@dell.com wrote: > > Jean Delvare would rather see this implemented in userspace dmidecode. > > Jean raised a concern in an earlier submission that this runs on every > >

Re: [PATCH v3 2/2] dmi-id: add dmi/id/oem group for exporting oem strings to sysfs

2016-08-31 Thread Greg KH
Gross <agr...@codeaurora.org>; Arnd > > Bergmann <a...@arndb.de>; Sudeep Holla <sudeep.ho...@arm.com>; Eric > > Anholt <e...@anholt.net>; linux-kernel@vger.kernel.org; Limonciello, Mario > > <mario_limoncie...@dell.com> > > Subject: Re: [PATCH

Re: [PATCH v3 2/2] dmi-id: add dmi/id/oem group for exporting oem strings to sysfs

2016-08-31 Thread Greg KH
> Cc: Jean Delvare ; Russell King > > ; Gabriel Somlo ; Bjorn > > Andersson ; Jens Wiklander > > ; Andy Gross ; Arnd > > Bergmann ; Sudeep Holla ; Eric > > Anholt ; linux-kernel@vger.kernel.org; Limonciello, Mario > > > > Subject: Re: [PATCH v3 2/2] dmi-id: add d

RE: [PATCH v3 2/2] dmi-id: add dmi/id/oem group for exporting oem strings to sysfs

2016-08-31 Thread Mario_Limonciello
Eric > Anholt <e...@anholt.net>; linux-kernel@vger.kernel.org; Limonciello, Mario > <mario_limoncie...@dell.com> > Subject: Re: [PATCH v3 2/2] dmi-id: add dmi/id/oem group for exporting oem > strings to sysfs > > On Mon, Aug 15, 2016 at 05:22:05PM +0800, Allen Hung wrote:

RE: [PATCH v3 2/2] dmi-id: add dmi/id/oem group for exporting oem strings to sysfs

2016-08-31 Thread Mario_Limonciello
Arnd > Bergmann ; Sudeep Holla ; Eric > Anholt ; linux-kernel@vger.kernel.org; Limonciello, Mario > > Subject: Re: [PATCH v3 2/2] dmi-id: add dmi/id/oem group for exporting oem > strings to sysfs > > On Mon, Aug 15, 2016 at 05:22:05PM +0800, Allen Hung wrote: > > The o

Re: [PATCH v3 2/2] dmi-id: add dmi/id/oem group for exporting oem strings to sysfs

2016-08-31 Thread Greg Kroah-Hartman
On Mon, Aug 15, 2016 at 05:22:05PM +0800, Allen Hung wrote: > The oem strings in DMI system identification information of the BIOS have > been parsed and stored as dmi devices in dmi_scan.c but they are not > exported to userspace via sysfs. > > The patch intends to export oem strings to sysfs

Re: [PATCH v3 2/2] dmi-id: add dmi/id/oem group for exporting oem strings to sysfs

2016-08-31 Thread Greg Kroah-Hartman
On Mon, Aug 15, 2016 at 05:22:05PM +0800, Allen Hung wrote: > The oem strings in DMI system identification information of the BIOS have > been parsed and stored as dmi devices in dmi_scan.c but they are not > exported to userspace via sysfs. > > The patch intends to export oem strings to sysfs

[PATCH v3 2/2] dmi-id: add dmi/id/oem group for exporting oem strings to sysfs

2016-08-15 Thread Allen Hung
The oem strings in DMI system identification information of the BIOS have been parsed and stored as dmi devices in dmi_scan.c but they are not exported to userspace via sysfs. The patch intends to export oem strings to sysfs device /sys/class/dmi/id. As the number of oem strings are dynamic, a

[PATCH v3 2/2] dmi-id: add dmi/id/oem group for exporting oem strings to sysfs

2016-08-15 Thread Allen Hung
The oem strings in DMI system identification information of the BIOS have been parsed and stored as dmi devices in dmi_scan.c but they are not exported to userspace via sysfs. The patch intends to export oem strings to sysfs device /sys/class/dmi/id. As the number of oem strings are dynamic, a