]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - include/linux/libnvdimm.h
drivers/base: Introduce kill_device()
[mirror_ubuntu-bionic-kernel.git] / include / linux / libnvdimm.h
index f8109ddb5ef1f08e1f0e2140f92d8578df55784c..ff855ed965fb9d0100c0964f82dd9c4a91a9e32a 100644 (file)
@@ -47,6 +47,17 @@ enum {
 
        /* region flag indicating to direct-map persistent memory by default */
        ND_REGION_PAGEMAP = 0,
+       /*
+        * Platform ensures entire CPU store data path is flushed to pmem on
+        * system power loss.
+        */
+       ND_REGION_PERSIST_CACHE = 1,
+       /*
+        * Platform provides mechanisms to automatically flush outstanding
+        * write data from memory controler to pmem on system power loss.
+        * (ADR)
+        */
+       ND_REGION_PERSIST_MEMCTRL = 2,
 
        /* mark newly adjusted resources as requiring a label update */
        DPA_RESOURCE_ADJUSTED = 1 << 0,