]> git.baikalelectronics.ru Git - kernel.git/commit
libnvdimm, pmem: clarify the write+clear_poison+write flow
authorDan Williams <dan.j.williams@intel.com>
Fri, 15 Apr 2016 02:40:47 +0000 (19:40 -0700)
committerRoss Zwisler <ross.zwisler@linux.intel.com>
Fri, 15 Apr 2016 20:59:41 +0000 (14:59 -0600)
commit0c4cfe852ca601e55f51452b3d3fe8224c20b02b
tree11035c733e2e9b0d6e33f181ae9b99aba22a3fac
parent9667b88a3bd3b236351a826b75956785279a9dc5
libnvdimm, pmem: clarify the write+clear_poison+write flow

The ACPI specification does not specify the state of data after a clear
poison operation.  Potential future libnvdimm bus implementations for
other architectures also might not specify or disagree on the state of
data after clear poison.  Clarify why we write twice.

Reported-by: Jeff Moyer <jmoyer@redhat.com>
Reported-by: Vishal Verma <vishal.l.verma@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Ross Zwisler <ross.zwisler@linux.intel.com>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Reviewed-by: Jeff Moyer <jmoyer@redhat.com>
Reviewed-by: Vishal Verma <vishal.l.verma@intel.com>
drivers/nvdimm/pmem.c