Skip to content
Commit e5ae3b25 authored by Dan Williams's avatar Dan Williams
Browse files

libnvdimm, nfit: move flush hint mapping to region-device driver-data



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>
parent a8a6d2e0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment