summaryrefslogtreecommitdiffstats
path: root/include/uapi/linux
diff options
context:
space:
mode:
authorDexuan Cui2019-01-29 01:56:17 +0100
committerDan Williams2019-01-30 07:09:31 +0100
commit1194c4133195dfcb6c5fc0935d54bbed872a5285 (patch)
treee5a1d1eff769fbe3527eaed50937bb5bf40eb1c5 /include/uapi/linux
parentnfit: acpi_nfit_ctl(): Check out_obj->type in the right place (diff)
downloadkernel-qcow2-linux-1194c4133195dfcb6c5fc0935d54bbed872a5285.tar.gz
kernel-qcow2-linux-1194c4133195dfcb6c5fc0935d54bbed872a5285.tar.xz
kernel-qcow2-linux-1194c4133195dfcb6c5fc0935d54bbed872a5285.zip
nfit: Add Hyper-V NVDIMM DSM command set to white list
Add the Hyper-V _DSM command set to the white list of NVDIMM command sets. This command set is documented at http://www.uefi.org/RFIC_LIST (see "Virtual NVDIMM 0x1901"). Signed-off-by: Dexuan Cui <decui@microsoft.com> Reviewed-by: Michael Kelley <mikelley@microsoft.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'include/uapi/linux')
-rw-r--r--include/uapi/linux/ndctl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/ndctl.h b/include/uapi/linux/ndctl.h
index f57c9e434d2d..de5d90212409 100644
--- a/include/uapi/linux/ndctl.h
+++ b/include/uapi/linux/ndctl.h
@@ -243,6 +243,7 @@ struct nd_cmd_pkg {
#define NVDIMM_FAMILY_HPE1 1
#define NVDIMM_FAMILY_HPE2 2
#define NVDIMM_FAMILY_MSFT 3
+#define NVDIMM_FAMILY_HYPERV 4
#define ND_IOCTL_CALL _IOWR(ND_IOCTL, ND_CMD_CALL,\
struct nd_cmd_pkg)