diff options
author | Dan Williams <dan.j.williams@intel.com> | 2015-07-10 14:07:03 -0400 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2015-07-10 14:07:03 -0400 |
commit | 9d27a87ec9e1317d368b1e5e3f4808078baa8c4c (patch) | |
tree | 8b1bfc29445dadd61368385dcd1a16add9e3bbb7 /tools/testing/nvdimm/Kbuild | |
parent | f7ec83684af020c961d7fab801f8e3ef7ce5de33 (diff) | |
download | lwn-9d27a87ec9e1317d368b1e5e3f4808078baa8c4c.tar.gz lwn-9d27a87ec9e1317d368b1e5e3f4808078baa8c4c.zip |
tools/testing/nvdimm: add mock acpi_nfit_flush_address entries to nfit_test
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>
Diffstat (limited to 'tools/testing/nvdimm/Kbuild')
-rw-r--r-- | tools/testing/nvdimm/Kbuild | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/testing/nvdimm/Kbuild b/tools/testing/nvdimm/Kbuild index 8e020601c773..f56914c7929b 100644 --- a/tools/testing/nvdimm/Kbuild +++ b/tools/testing/nvdimm/Kbuild @@ -1,4 +1,6 @@ ldflags-y += --wrap=ioremap_wt +ldflags-y += --wrap=ioremap_wc +ldflags-y += --wrap=devm_ioremap_nocache ldflags-y += --wrap=ioremap_cache ldflags-y += --wrap=ioremap_nocache ldflags-y += --wrap=iounmap |