diff options
author | Jerry Hoemann <jerry.hoemann@hpe.com> | 2017-06-30 23:53:24 -0400 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2017-07-01 11:49:59 -0400 |
commit | 7db5bb33add5afe6c64e00516b0c928bfc937466 (patch) | |
tree | 64b24e72425e02d57fcf1831f5d9e4ebfb84e6ee /include/linux/libnvdimm.h | |
parent | 37d74841b9d42b105cba053e70e9db0e395949da (diff) |
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>
Diffstat (limited to 'include/linux/libnvdimm.h')
-rw-r--r-- | include/linux/libnvdimm.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/libnvdimm.h b/include/linux/libnvdimm.h index 4b9f178c82e6..6aee1a6e4e63 100644 --- a/include/linux/libnvdimm.h +++ b/include/linux/libnvdimm.h | |||
@@ -55,6 +55,7 @@ typedef int (*ndctl_fn)(struct nvdimm_bus_descriptor *nd_desc, | |||
55 | 55 | ||
56 | struct nvdimm_bus_descriptor { | 56 | struct nvdimm_bus_descriptor { |
57 | const struct attribute_group **attr_groups; | 57 | const struct attribute_group **attr_groups; |
58 | unsigned long bus_dsm_mask; | ||
58 | unsigned long cmd_mask; | 59 | unsigned long cmd_mask; |
59 | struct module *module; | 60 | struct module *module; |
60 | char *provider_name; | 61 | char *provider_name; |