• Dan Williams's avatar
    libnvdimm, nfit: move flush hint mapping to region-device driver-data · e5ae3b25
    Dan Williams authored
    In preparation for triggering flushes of a DIMM's writes-posted-queue
    (WPQ) via the pmem driver move mapping of flush hint addresses to the
    region driver.  Since this uses devm_nvdimm_memremap() the flush
    addresses will remain mapped while any region to which the dimm belongs
    is active.
    We need to communicate more information to the nvdimm core to facilitate
    this mapping, namely each dimm object now carries an array of flush hint
    address resources.
    Signed-off-by: default avatarDan Williams <dan.j.williams@intel.com>