On Fri, 29 Jun 2018 13:59:20 +0000, Elliott, Robert (Persistent Memory) wrote: > > -----Original Message----- > > From: Jean Delvare <[email protected]> > > Sent: Friday, June 29, 2018 4:09 AM > > To: Hoemann, Jerry <[email protected]> > > Cc: [email protected]; Elliott, Robert (Persistent Memory) > > <[email protected]> > > 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 _______________________________________________ https://lists.nongnu.org/mailman/listinfo/dmidecode-devel
