diff options
| author | Dave Jiang <dave.jiang@intel.com> | 2018-01-31 14:45:43 -0500 |
|---|---|---|
| committer | Ross Zwisler <ross.zwisler@linux.intel.com> | 2018-02-01 17:01:15 -0500 |
| commit | 30e6d7bf29daa79d80711d35211c9b60894dbc44 (patch) | |
| tree | ba88f6beae141ba46dd250186e2a814932c90716 /include | |
| parent | 06e8ccdab15f46dfd31292e2b75d744bc5fc2a7c (diff) | |
acpi: nfit: add persistent memory control flag for nd_region
Propagate the ADR attribute flag from the NFIT platform capabilities
sub-table to nd_region.
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Reviewed-by: Ross Zwisler <ross.zwisler@linux.intel.com>
Signed-off-by: Ross Zwisler <ross.zwisler@linux.intel.com>
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/libnvdimm.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/libnvdimm.h b/include/linux/libnvdimm.h index f2fc0da4da04..ff855ed965fb 100644 --- a/include/linux/libnvdimm.h +++ b/include/linux/libnvdimm.h | |||
| @@ -52,6 +52,12 @@ enum { | |||
| 52 | * system power loss. | 52 | * system power loss. |
| 53 | */ | 53 | */ |
| 54 | ND_REGION_PERSIST_CACHE = 1, | 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, | ||
| 55 | 61 | ||
| 56 | /* mark newly adjusted resources as requiring a label update */ | 62 | /* mark newly adjusted resources as requiring a label update */ |
| 57 | DPA_RESOURCE_ADJUSTED = 1 << 0, | 63 | DPA_RESOURCE_ADJUSTED = 1 << 0, |
