Dan Williams | 2080e88 | 2018-03-29 17:20:39 -0700 | [diff] [blame] | 1 | config DAX_DRIVER |
| 2 | select DAX |
| 3 | bool |
| 4 | |
Dan Williams | 7b6be84 | 2017-04-11 09:49:49 -0700 | [diff] [blame] | 5 | menuconfig DAX |
Dan Williams | ab68f26 | 2016-05-18 09:15:08 -0700 | [diff] [blame] | 6 | tristate "DAX: direct access to differentiated memory" |
Dan Williams | 956a4cd | 2017-04-07 16:42:08 -0700 | [diff] [blame] | 7 | select SRCU |
Dan Williams | 7b6be84 | 2017-04-11 09:49:49 -0700 | [diff] [blame] | 8 | default m if NVDIMM_DAX |
| 9 | |
| 10 | if DAX |
| 11 | |
| 12 | config DEV_DAX |
| 13 | tristate "Device DAX: direct access mapping device" |
| 14 | depends on TRANSPARENT_HUGEPAGE |
Dan Williams | ab68f26 | 2016-05-18 09:15:08 -0700 | [diff] [blame] | 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 | |
Dan Williams | ab68f26 | 2016-05-18 09:15:08 -0700 | [diff] [blame] | 23 | config DEV_DAX_PMEM |
| 24 | tristate "PMEM DAX: direct access to persistent memory" |
Mike Galbraith | 74d71a0 | 2017-05-06 06:14:43 +0200 | [diff] [blame] | 25 | depends on LIBNVDIMM && NVDIMM_DAX && DEV_DAX |
Dan Williams | ab68f26 | 2016-05-18 09:15:08 -0700 | [diff] [blame] | 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 | |
Dan Williams | ab68f26 | 2016-05-18 09:15:08 -0700 | [diff] [blame] | 34 | endif |