xref: /openbmc/linux/drivers/dax/Kconfig (revision a72594ca)
1menuconfig DAX
2	tristate "DAX: direct access to differentiated memory"
3	select SRCU
4	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
11	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
19
20config DEV_DAX_PMEM
21	tristate "PMEM DAX: direct access to persistent memory"
22	depends on LIBNVDIMM && NVDIMM_DAX && DEV_DAX
23	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
31endif
32