]> www.infradead.org Git - users/jedix/linux-maple.git/commit
libnvdimm, dax: introduce device-dax infrastructure
authorDan Williams <dan.j.williams@intel.com>
Fri, 11 Mar 2016 18:15:36 +0000 (10:15 -0800)
committerDan Duval <dan.duval@oracle.com>
Fri, 9 Dec 2016 21:47:47 +0000 (16:47 -0500)
commit2d8e7e78d20a0176e855c73b4731ecfb580ecb2c
tree7d994f022737937b40683540906b1558ab963b4e
parent11b02dbb5f7ee65609d2a4f96da555e1daf12c15
libnvdimm, dax: introduce device-dax infrastructure

Orabug: 22913653

Device DAX is the device-centric analogue of Filesystem DAX
(CONFIG_FS_DAX).  It allows persistent memory ranges to be allocated and
mapped without need of an intervening file system.  This initial
infrastructure arranges for a libnvdimm pfn-device to be represented as
a different device-type so that it can be attached to a driver other
than the pmem driver.

Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Dan Duval <dan.duval@oracle.com>
(cherry picked from commit cd03412a51ac4cb3001a8cdfae4560c9602f3387)

Conflicts:

drivers/nvdimm/namespace_devs.c
drivers/nvdimm/pfn_devs.c
13 files changed:
drivers/nvdimm/Kconfig
drivers/nvdimm/Makefile
drivers/nvdimm/bus.c
drivers/nvdimm/claim.c
drivers/nvdimm/dax_devs.c [new file with mode: 0644]
drivers/nvdimm/namespace_devs.c
drivers/nvdimm/nd-core.h
drivers/nvdimm/nd.h
drivers/nvdimm/pfn_devs.c
drivers/nvdimm/region.c
drivers/nvdimm/region_devs.c
include/uapi/linux/ndctl.h
tools/testing/nvdimm/Kbuild