2018-03-29 18:20:39 -06:00
|
|
|
config DAX_DRIVER
|
|
|
|
select DAX
|
|
|
|
bool
|
|
|
|
|
2017-04-11 10:49:49 -06:00
|
|
|
menuconfig DAX
|
2016-05-18 10:15:08 -06:00
|
|
|
tristate "DAX: direct access to differentiated memory"
|
2017-04-11 10:49:49 -06:00
|
|
|
select SRCU
|
2016-05-18 10:15:08 -06:00
|
|
|
default m if NVDIMM_DAX
|
2017-04-11 10:49:49 -06:00
|
|
|
|
|
|
|
if DAX
|
|
|
|
|
|
|
|
config DEV_DAX
|
|
|
|
tristate "Device DAX: direct access mapping device"
|
2016-05-14 13:20:44 -06:00
|
|
|
depends on TRANSPARENT_HUGEPAGE
|
2016-05-18 10:15:08 -06:00
|
|
|
help
|
|
|
|
Support raw access to differentiated (persistence, bandwidth,
|
|
|
|
latency...) memory via an mmap(2) capable character
|
|
|
|
device. Platform firmware or a device driver may identify a
|
|
|
|
platform memory resource that is differentiated from the
|
|
|
|
baseline memory pool. Mappings of a /dev/daxX.Y device impose
|
|
|
|
restrictions that make the mapping behavior deterministic.
|
|
|
|
|
|
|
|
config DEV_DAX_PMEM
|
|
|
|
tristate "PMEM DAX: direct access to persistent memory"
|
2017-05-05 22:14:43 -06:00
|
|
|
depends on LIBNVDIMM && NVDIMM_DAX && DEV_DAX
|
2016-05-18 10:15:08 -06:00
|
|
|
default DEV_DAX
|
|
|
|
help
|
|
|
|
Support raw access to persistent memory. Note that this
|
|
|
|
driver consumes memory ranges allocated and exported by the
|
|
|
|
libnvdimm sub-system.
|
|
|
|
|
|
|
|
Say Y if unsure
|
|
|
|
|
|
|
|
endif
|