libnvdimm, acpi, nfit: Add bus level dsm mask for pass thru.
authorJerry Hoemann <jerry.hoemann@hpe.com>
Sat, 1 Jul 2017 03:53:24 +0000 (20:53 -0700)
committerDan Williams <dan.j.williams@intel.com>
Sat, 1 Jul 2017 15:49:59 +0000 (08:49 -0700)
commit7db5bb33add5afe6c64e00516b0c928bfc937466
tree64b24e72425e02d57fcf1831f5d9e4ebfb84e6ee
parent37d74841b9d42b105cba053e70e9db0e395949da
libnvdimm, acpi, nfit: Add bus level dsm mask for pass thru.

Add a bus level dsm_mask to nvdimm_bus_descriptor to allow the passthru
calling mechanism to specify a different mask from the cmd_mask.

Populate bus_dsm_mask and use it to filter dsm calls that user can
make through the pass thru interface.

Signed-off-by: Jerry Hoemann <jerry.hoemann@hpe.com>
[djbw: use command number constants instead of a magic mask value]
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/acpi/nfit/core.c
include/linux/libnvdimm.h