diff options
author | Vishal Verma <vishal.l.verma@intel.com> | 2018-06-19 02:17:02 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-08-24 14:06:55 +0300 |
commit | b49ae220bfe7f45de76f71a98c15888240aeb5e2 (patch) | |
tree | e9d4254ce59731bb84348632d412134467fe3170 /arch | |
parent | 3a17b2c1170c150b6c1f71feca530c8b263bc001 (diff) | |
download | linux-b49ae220bfe7f45de76f71a98c15888240aeb5e2.tar.xz |
tools/testing/nvdimm: advertise a write cache for nfit_test
[ Upstream commit 1273c253c32b9a073a4d8921ed079177ccc7c8af ]
Commit 546eb0317cfa "libnvdimm, pmem: Do not flush power-fail protected CPU caches"
fixed the write_cache detection to correctly show the lack of a write
cache based on the platform capabilities described in the ACPI NFIT. The
nfit_test unit tests expected a write cache to be present, so change the
nfit test namespaces to only advertise a persistence domain limited to
the memory controller. This allows the kernel to show a write_cache
attribute, and the test behaviour remains unchanged.
Signed-off-by: Vishal Verma <vishal.l.verma@intel.com>
Reviewed-by: Ross Zwisler <ross.zwisler@linux.intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions