summaryrefslogtreecommitdiff
path: root/drivers/nvdimm/dax_devs.c
AgeCommit message (Collapse)AuthorFilesLines
2016-05-21libnvdimm, dax: autodetect supportDan Williams1-0/+35
For autodetecting a previously established dax configuration we need the info block to indicate block-device vs device-dax mode, and we need to have the default namespace probe hand-off the configuration to the dax_pmem driver. Signed-off-by: Dan Williams <dan.j.williams@intel.com>
2016-05-10libnvdimm, dax: introduce device-dax infrastructureDan Williams1-0/+99
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>