ndtest: Add regions and mappings to the test buses
authorSantosh Sivaraj <santosh@fossix.org>
Tue, 22 Dec 2020 04:22:38 +0000 (09:52 +0530)
committerDan Williams <dan.j.williams@intel.com>
Thu, 28 Jan 2021 08:22:49 +0000 (00:22 -0800)
commit6fde2d4c8b25cec9589a4a58fd524b9d4e40c4b6
tree428589bb271420f144e730bd0c4c794c583976d7
parent5e41396f723004a4e5710a0bb03259a443be1971
ndtest: Add regions and mappings to the test buses

The bus config array is used to hold the regions and the respective
mappings. This config based interface enables to change the
dimm/region/namespace layouts easily.

Signed-off-by: Santosh Sivaraj <santosh@fossix.org>
Link: https://lore.kernel.org/r/20201222042240.2983755-6-santosh@fossix.org
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
tools/testing/nvdimm/test/ndtest.c
tools/testing/nvdimm/test/ndtest.h