]> www.infradead.org Git - users/jedix/linux-maple.git/commit
nfit: add support for NVDIMM "latch" flag
authorRoss Zwisler <ross.zwisler@linux.intel.com>
Fri, 10 Jul 2015 17:06:14 +0000 (11:06 -0600)
committerDan Duval <dan.duval@oracle.com>
Wed, 7 Dec 2016 17:19:05 +0000 (12:19 -0500)
commit48bc371c7cc8f6db8e366a0370c6c723bc271b78
treed0281eb0d55ef25c53ca58ce0c43a33ab5913325
parentcee560630265ab8b1aff253d21618c7bf2c41053
nfit: add support for NVDIMM "latch" flag

Orabug: 22913653

Add support in the NFIT BLK I/O path for the "latch" flag
defined in the "Get Block NVDIMM Flags" _DSM function:

http://pmem.io/documents/NVDIMM_DSM_Interface_Example.pdf

This flag requires the driver to read back the command register after it
is written in the block I/O path.  This ensures that the hardware has
fully processed the new command and moved the aperture appropriately.

Signed-off-by: Ross Zwisler <ross.zwisler@linux.intel.com>
Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
(cherry picked from commit f0f2c072cf530d5b8890be5051cc8b36b0c54cce)
Signed-off-by: Dan Duval <dan.duval@oracle.com>
drivers/acpi/nfit.c
drivers/acpi/nfit.h