ACPI: NFIT: Move bus_dsm_mask out of generic nvdimm_bus_descriptor
authorDan Williams <dan.j.williams@intel.com>
Mon, 20 Jul 2020 22:07:35 +0000 (15:07 -0700)
committerVishal Verma <vishal.l.verma@intel.com>
Sun, 26 Jul 2020 01:34:47 +0000 (19:34 -0600)
commitd46e6a2176f8edf7030db34aeb54a4f016fabe0a
treea64bc8f670aa6393c61bdd69063761779f44d98a
parent92fe2aa859f52ce6aa595ca97fec110dc7100e63
ACPI: NFIT: Move bus_dsm_mask out of generic nvdimm_bus_descriptor

DSMs are strictly an ACPI mechanism, evict the bus_dsm_mask concept from
the generic 'struct nvdimm_bus_descriptor' object.

As a side effect the test facility ->bus_nfit_cmd_force_en is no longer
necessary. The test infrastructure can communicate that information
directly in ->bus_dsm_mask.

Cc: Vishal Verma <vishal.l.verma@intel.com>
Cc: Dave Jiang <dave.jiang@intel.com>
Cc: Ira Weiny <ira.weiny@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Vishal Verma <vishal.l.verma@intel.com>
drivers/acpi/nfit/core.c
drivers/acpi/nfit/nfit.h
include/linux/libnvdimm.h
tools/testing/nvdimm/test/nfit.c