diff options
author | Vaibhav Jain <vaibhav@linux.ibm.com> | 2020-06-15 18:14:07 +0530 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2020-06-15 18:22:44 -0700 |
commit | d35f18b554be015b6fa89fad6447c6fce8e6ad66 (patch) | |
tree | 4d00bbaa2ac7944e844c1887c11d5975b7f62098 /arch/powerpc/mm | |
parent | f517f7925b7b453cb83be06c268ba057b78e4792 (diff) |
powerpc/papr_scm: Implement support for PAPR_PDSM_HEALTH
This patch implements support for PDSM request 'PAPR_PDSM_HEALTH'
that returns a newly introduced 'struct nd_papr_pdsm_health' instance
containing dimm health information back to user space in response to
ND_CMD_CALL. This functionality is implemented in newly introduced
papr_pdsm_health() that queries the nvdimm health information and
then copies this information to the package payload whose layout is
defined by 'struct nd_papr_pdsm_health'.
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-7-vaibhav@linux.ibm.com
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'arch/powerpc/mm')
0 files changed, 0 insertions, 0 deletions