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)
commitf110176633d74bbac1f80ab9b9c6b83ea3e1cc23
treef373f4a5ba3a6aaadbd54735b39fe4668fc27549
parent0ead11181fe0c9538b185e46a494df21dc7de23a
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