Files
linux/Documentation/ABI/testing
Vaibhav Jain b791abf320 powerpc/papr_scm: Fetch nvdimm health information from PHYP
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 bitmap, bitwise-and of which is then stored in
'struct papr_scm_priv' and subsequently partially exposed to
user-space via newly introduced dimm specific attribute
'papr/flags'. Since the hcall is costly, the health information is
cached and only re-queried, 60s after the previous successful hcall.

The patch also adds a  documentation text describing flags reported by
the the new sysfs attribute 'papr/flags' is also introduced at
Documentation/ABI/testing/sysfs-bus-papr-pmem.

[1] commit 58b278f568 ("powerpc: Provide initial documentation for
PAPR hcalls")

Signed-off-by: Vaibhav Jain <vaibhav@linux.ibm.com>
Cc: "Aneesh Kumar K . V" <aneesh.kumar@linux.ibm.com>
Cc: Dan Williams <dan.j.williams@intel.com>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Cc: Ira Weiny <ira.weiny@intel.com>
Link: https://lore.kernel.org/r/20200615124407.32596-4-vaibhav@linux.ibm.com
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
2020-06-15 18:22:43 -07:00
..
2011-10-24 16:52:39 +02:00
2019-06-15 08:12:45 +02:00
2018-02-23 08:17:28 -07:00
2013-03-23 16:11:31 -07:00
2012-04-23 14:23:32 +03:00
2018-11-12 10:33:50 +01:00
2011-03-22 04:53:09 -03:00
2017-10-30 11:46:04 +01:00
2008-11-12 17:17:18 -08:00
2017-06-03 19:29:26 +09:00
2018-01-27 20:02:24 +11:00
2018-03-17 14:20:54 +01:00
2019-06-15 08:12:45 +02:00
2019-06-15 08:12:45 +02:00
2020-02-22 09:25:42 +08:00
2019-06-15 08:12:45 +02:00
2015-04-30 22:15:04 +01:00
2011-04-29 18:09:34 -07:00
2009-02-18 15:37:56 -08:00
2008-07-24 10:47:17 -07:00
2008-04-18 08:56:07 -07:00
2009-06-18 13:04:04 -07:00
2015-12-08 14:50:12 +01:00