Ross Zwisler c2ad29540c nfit: update block I/O path to use PMEM API
Update the nfit block I/O path to use the new PMEM API and to adhere to
the read/write flows outlined in the "NVDIMM Block Window Driver
Writer's Guide":

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

This includes adding support for targeted NVDIMM flushes called "flush
hints" in the ACPI 6.0 specification:

http://www.uefi.org/sites/default/files/resources/ACPI_6.0.pdf

For performance and media durability the mapping for a BLK aperture is
moved to a write-combining mapping which is consistent with
memcpy_to_pmem() and wmb_blk().

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>
2015-07-10 14:35:45 -04:00
..
2015-06-15 14:14:49 +02:00
2013-09-30 19:46:13 +02:00
2015-06-15 14:28:32 +02:00
2015-06-19 01:17:26 +02:00
2015-06-26 11:23:38 -04:00
2015-06-19 01:17:26 +02:00
2014-02-05 01:06:21 +01:00
2013-12-07 01:38:45 +01:00
2015-06-19 01:17:35 +02:00