]> www.infradead.org Git - users/jedix/linux-maple.git/commit
tools/testing/nvdimm: add mock acpi_nfit_flush_address entries to nfit_test
authorDan Williams <dan.j.williams@intel.com>
Fri, 10 Jul 2015 18:07:03 +0000 (14:07 -0400)
committerDan Duval <dan.duval@oracle.com>
Wed, 7 Dec 2016 17:19:04 +0000 (12:19 -0500)
commit55886af559b5e678c4a4d933592db30793200aef
tree3f88c19a9dc67a919a09ef62b1ebb2a9cc20a94c
parent718a15c97c28c40bbfcd0f8a85f41d771edd0ada
tools/testing/nvdimm: add mock acpi_nfit_flush_address entries to nfit_test

Orabug: 22913653

In preparation for fixing the BLK path to properly use "directed
pcommit" enable the unit test infrastructure to emit mock "flush"
tables.  Writes to these flush addresses trigger a memory controller to
flush its internal buffers to persistent media, similar to the x86
"pcommit" instruction.

Signed-off-by: Dan Williams <dan.j.williams@intel.com>
(cherry picked from commit 9d27a87ec9e1317d368b1e5e3f4808078baa8c4c)
Signed-off-by: Dan Duval <dan.duval@oracle.com>
tools/testing/nvdimm/Kbuild
tools/testing/nvdimm/test/iomap.c
tools/testing/nvdimm/test/nfit.c