]> git.baikalelectronics.ru Git - kernel.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)
commit7e13dbb5f7ce22dea5dbea54f6c456c28a67f34a
treeef8047c985fbec34ed82d5822a101eb978a9b30e
parent5b26b1e8c55950b1af57233094a4fa462c21affb
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