]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
tools/testing/nvdimm: test acpi 6.1 health state flags
authorDan Williams <dan.j.williams@intel.com>
Thu, 13 Apr 2017 22:17:38 +0000 (15:17 -0700)
committerDan Williams <dan.j.williams@intel.com>
Mon, 17 Apr 2017 19:34:17 +0000 (12:34 -0700)
commitac40b675c74b9243069aba3a5799481dbcb9d2ef
treeef8047c985fbec34ed82d5822a101eb978a9b30e
parentffab9385b314d62039a4a5df29703fc264e85e08
tools/testing/nvdimm: test acpi 6.1 health state flags

Add a simulated dimm with an ACPI_NFIT_MEM_MAP_FAILED indication, and
set the ACPI_NFIT_MEM_HEALTH_ENABLED flag on all the dimms where
nfit_test simulates health events, but spread it out over several
redundant memdev entries to test that the nfit driver coalesces all the
flags.

Signed-off-by: Dan Williams <dan.j.williams@intel.com>
tools/testing/nvdimm/test/nfit.c