Re: [PATCH] firmware: dmi: Add access to the SKU ID string

2018-04-27 Thread Simon Glass
Hi Jean, On 27 April 2018 at 01:58, Jean Delvare wrote: > Hi Simon, > > On Tue, 24 Apr 2018 15:11:11 -0600, Simon Glass wrote: >> This is used in some systems from user space for determining the identity >> of the device. >> >> Expose this as a file so that that user-space tools don't need to rea

Re: [PATCH] firmware: dmi: Add access to the SKU ID string

2018-04-27 Thread Jean Delvare
Hi Simon, On Tue, 24 Apr 2018 15:11:11 -0600, Simon Glass wrote: > This is used in some systems from user space for determining the identity > of the device. > > Expose this as a file so that that user-space tools don't need to read > from /sys/firmware/dmi/tables/DMI > > Signed-off-by: Simon Gl

Re: [PATCH] firmware: dmi: Add access to the SKU ID string

2018-04-26 Thread Jean Delvare
On jeu., 2018-04-26 at 15:03 +0530, Vinod Koul wrote: > On Wed, Apr 25, 2018 at 03:17:37PM -0600, Simon Glass wrote: > > > > Hi Vinod, > > > > On 24 April 2018 at 20:51, Vinod Koul wrote: > > > > > > On Tue, Apr 24, 2018 at 03:11:11PM -0600, Simon Glass wrote: > > > > > > > > This is used in s

Re: [PATCH] firmware: dmi: Add access to the SKU ID string

2018-04-26 Thread Vinod Koul
On Wed, Apr 25, 2018 at 03:17:37PM -0600, Simon Glass wrote: > Hi Vinod, > > On 24 April 2018 at 20:51, Vinod Koul wrote: > > On Tue, Apr 24, 2018 at 03:11:11PM -0600, Simon Glass wrote: > >> This is used in some systems from user space for determining the identity > >> of the device. > >> > >> E

Re: [PATCH] firmware: dmi: Add access to the SKU ID string

2018-04-25 Thread Simon Glass
Hi Vinod, On 24 April 2018 at 20:51, Vinod Koul wrote: > On Tue, Apr 24, 2018 at 03:11:11PM -0600, Simon Glass wrote: >> This is used in some systems from user space for determining the identity >> of the device. >> >> Expose this as a file so that that user-space tools don't need to read >> from

Re: [PATCH] firmware: dmi: Add access to the SKU ID string

2018-04-24 Thread Vinod Koul
On Tue, Apr 24, 2018 at 03:11:11PM -0600, Simon Glass wrote: > This is used in some systems from user space for determining the identity > of the device. > > Expose this as a file so that that user-space tools don't need to read > from /sys/firmware/dmi/tables/DMI sysfs is an ABI and needs to be

[PATCH] firmware: dmi: Add access to the SKU ID string

2018-04-24 Thread Simon Glass
This is used in some systems from user space for determining the identity of the device. Expose this as a file so that that user-space tools don't need to read from /sys/firmware/dmi/tables/DMI Signed-off-by: Simon Glass --- drivers/firmware/dmi-id.c | 2 ++ drivers/firmware/dmi_scan.c