On 6/29/2017 9:18 PM, Yasunori Goto wrote:
> There is more standardization that will likely happen. The most
> interesting is probably standard health status information. Today
> the Linux ndctl command can display health status for the NVDIMMs
> and it hides some of the differences by calling the appropriate
> DSM for the platform/NVDIMM combination but we need to do more
> work there.
Could you tell me what works are necessary?
There is work in two areas. One is standardization work, mostly
likely through the ACPI NVM working group of the UEFI Forum, to define
some common functions for health information. There was a lot of work
focused on getting standardization of label formats and access
methods into ACPI 6.2 and UEFI 2.7 so not much effort yet on
health information but perhaps that will be next.
The other area is work within the ndctl tool itself. It already
knows how to get some health information using the Intel, HPE, and
MSFT SMART health DSMs but there is more information related to
NVDIMM-N devices that we'd like to expose.
I also have concern around here, and I'm investgating source code
ndctl and NVDIMM drivers to check what works are still needed.
So, your opinion will be very helpful for me.
As an example, this is a patch I posted to expose more information.
Dan had some feedback but I haven't had a chance to post a v2 patch yet.
The patch touches a number of files/functions that are involved in getting
the health information so you could look at those to see how it works today.
If there is a particular type of NVDIMM or existing DSM specification
that you're interesting in supporting, that would be interesting to know.
If you're thinking of defining something new, I encourage you to get
involved in the standards activities.