diff options
| author | Dan Williams <[email protected]> | 2022-12-05 12:30:38 -0800 |
|---|---|---|
| committer | Dan Williams <[email protected]> | 2022-12-05 12:30:38 -0800 |
| commit | 95dddcb5e86381abddeb1ccab5b5826fdcc74c70 (patch) | |
| tree | b436da563bba57da1d1178ba8cd0bfbd1d9c2e0b /include/linux | |
| parent | da8380bbbe90f69bec4be69af4d0deb7cf2bbcfe (diff) | |
| parent | d18bc74aced65e4ad68a30ac8db883398141e918 (diff) | |
Merge branch 'for-6.2/cxl-security' into for-6.2/cxl
Pick CXL PMEM security commands for v6.2. Resolve conflicts with the
removal of the cxl_pmem_wq.
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/libnvdimm.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/linux/libnvdimm.h b/include/linux/libnvdimm.h index c74acfa1a3fe..af38252ad704 100644 --- a/include/linux/libnvdimm.h +++ b/include/linux/libnvdimm.h @@ -35,6 +35,11 @@ enum { NDD_WORK_PENDING = 4, /* dimm supports namespace labels */ NDD_LABELING = 6, + /* + * dimm contents have changed requiring invalidation of CPU caches prior + * to activation of a region that includes this device + */ + NDD_INCOHERENT = 7, /* need to set a limit somewhere, but yes, this is likely overkill */ ND_IOCTL_MAX_BUFLEN = SZ_4M, @@ -183,6 +188,8 @@ struct nvdimm_security_ops { int (*overwrite)(struct nvdimm *nvdimm, const struct nvdimm_key_data *key_data); int (*query_overwrite)(struct nvdimm *nvdimm); + int (*disable_master)(struct nvdimm *nvdimm, + const struct nvdimm_key_data *key_data); }; enum nvdimm_fwa_state { |