]> git.baikalelectronics.ru Git - kernel.git/commit
tools/testing/nvdimm: Populate dirty shutdown data
authorDan Williams <dan.j.williams@intel.com>
Wed, 17 Oct 2018 17:47:19 +0000 (10:47 -0700)
committerDan Williams <dan.j.williams@intel.com>
Wed, 17 Oct 2018 17:47:19 +0000 (10:47 -0700)
commit82f248238edc362e61a1bee33954cd5816b62625
treef373f4a5ba3a6aaadbd54735b39fe4668fc27549
parent442f10803f8223ae3bddc7f430df8793a5d2153a
tools/testing/nvdimm: Populate dirty shutdown data

Allow the unit tests to verify the retrieval of the dirty shutdown
count via smart commands, and allow the driver-load-time retrieval of
the smart health payload to be simulated by nfit_test.

Reviewed-by: Keith Busch <keith.busch@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/acpi/nfit/core.c
tools/testing/nvdimm/Kbuild
tools/testing/nvdimm/acpi_nfit_test.c
tools/testing/nvdimm/test/nfit.c