blob: 3e2ab3b14eea205f19e8b436291e5117cec9567d [file] [log] [blame]
Dan Williamsab68f262016-05-18 09:15:08 -07001menuconfig DEV_DAX
2 tristate "DAX: direct access to differentiated memory"
3 default m if NVDIMM_DAX
Dan Williamsdee41072016-05-14 12:20:44 -07004 depends on TRANSPARENT_HUGEPAGE
Dan Williamsab68f262016-05-18 09:15:08 -07005 help
6 Support raw access to differentiated (persistence, bandwidth,
7 latency...) memory via an mmap(2) capable character
8 device. Platform firmware or a device driver may identify a
9 platform memory resource that is differentiated from the
10 baseline memory pool. Mappings of a /dev/daxX.Y device impose
11 restrictions that make the mapping behavior deterministic.
12
13if DEV_DAX
14
15config DEV_DAX_PMEM
16 tristate "PMEM DAX: direct access to persistent memory"
Arnd Bergmann867dfe32016-10-25 17:52:04 +020017 depends on LIBNVDIMM && NVDIMM_DAX
Dan Williamsab68f262016-05-18 09:15:08 -070018 default DEV_DAX
19 help
20 Support raw access to persistent memory. Note that this
21 driver consumes memory ranges allocated and exported by the
22 libnvdimm sub-system.
23
24 Say Y if unsure
25
Dan Williamsba09c012016-07-24 15:55:42 -070026config NR_DEV_DAX
27 int "Maximum number of Device-DAX instances"
28 default 32768
29 range 256 2147483647
30
Dan Williamsab68f262016-05-18 09:15:08 -070031endif