diff options
Diffstat (limited to 'include/linux/libnvdimm.h')
-rw-r--r-- | include/linux/libnvdimm.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/linux/libnvdimm.h b/include/linux/libnvdimm.h index f8109ddb5ef1..ff855ed965fb 100644 --- a/include/linux/libnvdimm.h +++ b/include/linux/libnvdimm.h | |||
@@ -47,6 +47,17 @@ enum { | |||
47 | 47 | ||
48 | /* region flag indicating to direct-map persistent memory by default */ | 48 | /* region flag indicating to direct-map persistent memory by default */ |
49 | ND_REGION_PAGEMAP = 0, | 49 | ND_REGION_PAGEMAP = 0, |
50 | /* | ||
51 | * Platform ensures entire CPU store data path is flushed to pmem on | ||
52 | * system power loss. | ||
53 | */ | ||
54 | ND_REGION_PERSIST_CACHE = 1, | ||
55 | /* | ||
56 | * Platform provides mechanisms to automatically flush outstanding | ||
57 | * write data from memory controler to pmem on system power loss. | ||
58 | * (ADR) | ||
59 | */ | ||
60 | ND_REGION_PERSIST_MEMCTRL = 2, | ||
50 | 61 | ||
51 | /* mark newly adjusted resources as requiring a label update */ | 62 | /* mark newly adjusted resources as requiring a label update */ |
52 | DPA_RESOURCE_ADJUSTED = 1 << 0, | 63 | DPA_RESOURCE_ADJUSTED = 1 << 0, |