]>
Commit | Line | Data |
---|---|---|
2080e88a DW |
1 | config DAX_DRIVER |
2 | select DAX | |
3 | bool | |
4 | ||
7b6be844 | 5 | menuconfig DAX |
ab68f262 | 6 | tristate "DAX: direct access to differentiated memory" |
7b6be844 | 7 | select SRCU |
ab68f262 | 8 | default m if NVDIMM_DAX |
7b6be844 DW |
9 | |
10 | if DAX | |
11 | ||
12 | config DEV_DAX | |
13 | tristate "Device DAX: direct access mapping device" | |
dee41079 | 14 | depends on TRANSPARENT_HUGEPAGE |
ab68f262 DW |
15 | help |
16 | Support raw access to differentiated (persistence, bandwidth, | |
17 | latency...) memory via an mmap(2) capable character | |
18 | device. Platform firmware or a device driver may identify a | |
19 | platform memory resource that is differentiated from the | |
20 | baseline memory pool. Mappings of a /dev/daxX.Y device impose | |
21 | restrictions that make the mapping behavior deterministic. | |
22 | ||
ab68f262 DW |
23 | config DEV_DAX_PMEM |
24 | tristate "PMEM DAX: direct access to persistent memory" | |
74d71a01 | 25 | depends on LIBNVDIMM && NVDIMM_DAX && DEV_DAX |
ab68f262 DW |
26 | default DEV_DAX |
27 | help | |
28 | Support raw access to persistent memory. Note that this | |
29 | driver consumes memory ranges allocated and exported by the | |
30 | libnvdimm sub-system. | |
31 | ||
32 | Say Y if unsure | |
33 | ||
34 | endif |