kernel_optimize_test/drivers/nvdimm
Dan Williams 595c73071e libnvdimm, region: fix flush hint table thinko
The definition of the flush hint table as:

	void __iomem *flush_wpq[0][0];

...passed the unit test, but is broken as flush_wpq[0][1] and
flush_wpq[1][0] refer to the same entry.  Fix this to use a helper that
calculates a slot in the table based on the geometry of flush hints in
the region.  This is important to get right since virtualization
solutions use this mechanism to trigger hypervisor flushes to platform
persistence.

Reported-by: Dave Jiang <dave.jiang@intel.com>
Tested-by: Dave Jiang <dave.jiang@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
2016-09-24 11:45:38 -07:00
..
blk.c
btt_devs.c nvdimm, btt: add a size attribute for BTTs 2016-08-08 09:26:14 -07:00
btt.c nvdimm, btt: add a size attribute for BTTs 2016-08-08 09:26:14 -07:00
btt.h
bus.c libnvdimm: allow legacy (e820) pmem region to clear bad blocks 2016-09-09 17:34:46 -07:00
claim.c
core.c libnvdimm: fix devm_nvdimm_memremap() error path 2016-09-21 09:35:15 -07:00
dax_devs.c
dimm_devs.c
dimm.c
e820.c
Kconfig
label.c
label.h
Makefile
namespace_devs.c
nd-core.h
nd.h libnvdimm, region: fix flush hint table thinko 2016-09-24 11:45:38 -07:00
pfn_devs.c
pfn.h
pmem.c block: rename bio bi_rw to bi_opf 2016-08-07 14:41:02 -06:00
pmem.h
region_devs.c libnvdimm, region: fix flush hint table thinko 2016-09-24 11:45:38 -07:00
region.c