dmidecode-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [dmidecode] [PATCH] dmidecode: Add option to filter output based upo


From: Jean Delvare
Subject: Re: [dmidecode] [PATCH] dmidecode: Add option to filter output based upon handle
Date: Fri, 29 Jun 2018 16:18:48 +0200

On Fri, 29 Jun 2018 13:59:20 +0000, Elliott, Robert (Persistent Memory) wrote:
> > -----Original Message-----
> > From: Jean Delvare <address@hidden>
> > Sent: Friday, June 29, 2018 4:09 AM
> > To: Hoemann, Jerry <address@hidden>
> > Cc: address@hidden; Elliott, Robert (Persistent Memory)
> > <address@hidden>
> > Subject: Re: [PATCH] dmidecode: Add option to filter output based
> > upon handle
> > 
> > Hi Jerry,
> > 
> > On Thu, 28 Jun 2018 14:08:06 -0600, Jerry Hoemann wrote:  
> > > Add option "--handle HANDLE" to dmiopt to allow user to filter
> > > ouput to only those entrie(s) that match HANDLE.  
> > 
> > I am curious what you need this feature for? Handle numbers are
> > arbitrary and not portable, so it never occurred to me that someone
> > could need to query for a specific handle.  
> 
> The ACPI NFIT (NVDIMM Firmware Interface Table) reports the SMBIOS
> handle of each NVDIMM (in a field called Physical ID).  So, this
> helps follow that to find the rest of the information about the
> NVDIMM that is being provided by system firmware.
> See https://patchwork.kernel.org/patch/9835987/.
> 
> Similarly, the ACPI PMTT (Platform Memory Topology Table) and HMAT 
> (Heterogeneous Memory Attribute Table) include SMBIOS handles for
> the DIMMs whose attributes they are describing.

Oh, OK. I expected the information to be consumed inside the kernel
rather than from user-space.

I'm fine with adding the option to dmidecode either way, it can
certainly be useful even if only for development / debugging.

-- 
Jean Delvare
SUSE L3 Support



reply via email to

[Prev in Thread] Current Thread [Next in Thread]