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