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.
Signed-off-by: Dan Williams
---
drivers/acpi/nfit/core.c | 14 --
tools/testi
On Wed, Sep 26, 2018 at 09:24:36PM -0700, Dan Williams wrote:
> +/* strong / override definition of nfit_intel_shutdown_status */
> +void nfit_intel_shutdown_status(struct nfit_mem *nfit_mem)
> +{
> + set_bit(NFIT_MEM_DIRTY_COUNT, &nfit_mem->flags);
> + nfit_mem->dirty_shutdown = 42;
> +}