diff options
author | Dan Williams <dan.j.williams@intel.com> | 2017-05-30 08:11:57 +0200 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2017-06-28 01:44:01 +0200 |
commit | c00b396ef782cb2296200d868a0013d8ca1d615e (patch) | |
tree | 542357c67a14f7de237780ed4fe8415a780c30b4 /drivers/nvdimm/nd-core.h | |
parent | x86, libnvdimm, pmem: remove global pmem api (diff) | |
download | linux-c00b396ef782cb2296200d868a0013d8ca1d615e.tar.xz linux-c00b396ef782cb2296200d868a0013d8ca1d615e.zip |
libnvdimm, pmem: fix persistence warning
The pmem driver assumes if platform firmware describes the memory
devices associated with a persistent memory range and
CONFIG_ARCH_HAS_PMEM_API=y that it has all the mechanism necessary to
flush data to a power-fail safe zone. We warn if the firmware does not
describe memory devices, but we also need to warn if the architecture
does not claim pmem support.
Cc: Jeff Moyer <jmoyer@redhat.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Matthew Wilcox <mawilcox@microsoft.com>
Cc: Ross Zwisler <ross.zwisler@linux.intel.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/nvdimm/nd-core.h')
0 files changed, 0 insertions, 0 deletions