Re: [PATCH v6 2/4] powerpc/papr_scm: Fetch nvdimm health information from PHYP

2020-04-30 Thread Michael Ellerman
Vaibhav Jain writes: > Implement support for fetching nvdimm health information via > H_SCM_HEALTH hcall as documented in Ref[1]. The hcall returns a pair > of 64-bit big-endian integers, bitwise-and of which is then stored in > 'struct papr_scm_priv' and subsequently partially exposed to >

[PATCH v6 2/4] powerpc/papr_scm: Fetch nvdimm health information from PHYP

2020-04-20 Thread Vaibhav Jain
Implement support for fetching nvdimm health information via H_SCM_HEALTH hcall as documented in Ref[1]. The hcall returns a pair of 64-bit big-endian integers, bitwise-and of which is then stored in 'struct papr_scm_priv' and subsequently partially exposed to user-space via newly introduced dimm