]> 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)
commit0a370d261c805286cbdfa1f96661322a28cce860
tree11035c733e2e9b0d6e33f181ae9b99aba22a3fac
parentcba2e47abcbd80e3f46f460899290402f98090ec
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