[PATCH v2 0/7] Enable DSM pass thru for root functions

From: Jerry Hoemann
Date: Tue Jun 20 2017 - 12:52:46 EST

The new ACPI 6.2 spec has added new NVDIMM root DSM functions
that managibility and test software needs to call.

This patch set enables the calling root functions DSM via the
pass thru mechanism.

Changes v2
1. Add bus_dsm_mask to filter root pass thru calls.

2. Add bus_dsm_mask_show to display bus_dsm_mask in sysfs

3. Extend override_dsm_mask to be used for bus_dms_mask also.

Details v1

Check pass thru functions against nd_cmd_clear_to_send.

Set additional bits in cmd_mask for new functions.

Define data structure for the new 6.2 functions.
Add new function names to nvdimm_bus_cmd_name.

Jerry Hoemann (7):
libnvdimm: passthru functions clear to send
acpi, nfit: Enable DSM pass thru for root functions.
libnvdimm: Add bus level dsm mask.
acpi, nfit: Use bus_dsm_mask for passthru
acpi, nfit: Show bus_dsm_mask
libnvdimm: New ACPI 6.2 DSM functions
acpi, nfit: override mask

drivers/acpi/nfit/core.c | 20 ++++++++++++++++++++
drivers/nvdimm/bus.c | 4 +++-
include/linux/libnvdimm.h | 1 +
include/uapi/linux/ndctl.h | 41 ++++++++++++++++++++++++++++++++++++++++-
4 files changed, 64 insertions(+), 2 deletions(-)