blob: b79aa8f7a49714441fe5cb204f45a48fe4c6034f [file] [log] [blame]
Dan Williams7b6be842017-04-11 09:49:49 -07001menuconfig DAX
Dan Williamsab68f262016-05-18 09:15:08 -07002 tristate "DAX: direct access to differentiated memory"
Dan Williams956a4cd2017-04-07 16:42:08 -07003 select SRCU
Dan Williams7b6be842017-04-11 09:49:49 -07004 default m if NVDIMM_DAX
5
6if DAX
7
8config DEV_DAX
9 tristate "Device DAX: direct access mapping device"
10 depends on TRANSPARENT_HUGEPAGE
Dan Williamsab68f262016-05-18 09:15:08 -070011 help
12 Support raw access to differentiated (persistence, bandwidth,
13 latency...) memory via an mmap(2) capable character
14 device. Platform firmware or a device driver may identify a
15 platform memory resource that is differentiated from the
16 baseline memory pool. Mappings of a /dev/daxX.Y device impose
17 restrictions that make the mapping behavior deterministic.
18
Dan Williamsab68f262016-05-18 09:15:08 -070019
20config DEV_DAX_PMEM
21 tristate "PMEM DAX: direct access to persistent memory"
Mike Galbraith74d71a02017-05-06 06:14:43 +020022 depends on LIBNVDIMM && NVDIMM_DAX && DEV_DAX
Dan Williamsab68f262016-05-18 09:15:08 -070023 default DEV_DAX
24 help
25 Support raw access to persistent memory. Note that this
26 driver consumes memory ranges allocated and exported by the
27 libnvdimm sub-system.
28
29 Say Y if unsure
30
Dan Williamsab68f262016-05-18 09:15:08 -070031endif