Dan Williams | ab68f26 | 2016-05-18 09:15:08 -0700 | [diff] [blame] | 1 | menuconfig DEV_DAX |
| 2 | tristate "DAX: direct access to differentiated memory" |
| 3 | default m if NVDIMM_DAX |
Dan Williams | dee4107 | 2016-05-14 12:20:44 -0700 | [diff] [blame] | 4 | depends on TRANSPARENT_HUGEPAGE |
Dan Williams | c36eaa6 | 2017-04-07 16:42:08 -0700 | [diff] [blame] | 5 | select SRCU |
Dan Williams | ab68f26 | 2016-05-18 09:15:08 -0700 | [diff] [blame] | 6 | help |
| 7 | Support raw access to differentiated (persistence, bandwidth, |
| 8 | latency...) memory via an mmap(2) capable character |
| 9 | device. Platform firmware or a device driver may identify a |
| 10 | platform memory resource that is differentiated from the |
| 11 | baseline memory pool. Mappings of a /dev/daxX.Y device impose |
| 12 | restrictions that make the mapping behavior deterministic. |
| 13 | |
| 14 | if DEV_DAX |
| 15 | |
| 16 | config DEV_DAX_PMEM |
| 17 | tristate "PMEM DAX: direct access to persistent memory" |
Arnd Bergmann | 867dfe3 | 2016-10-25 17:52:04 +0200 | [diff] [blame] | 18 | depends on LIBNVDIMM && NVDIMM_DAX |
Dan Williams | ab68f26 | 2016-05-18 09:15:08 -0700 | [diff] [blame] | 19 | default DEV_DAX |
| 20 | help |
| 21 | Support raw access to persistent memory. Note that this |
| 22 | driver consumes memory ranges allocated and exported by the |
| 23 | libnvdimm sub-system. |
| 24 | |
| 25 | Say Y if unsure |
| 26 | |
Dan Williams | ba09c01 | 2016-07-24 15:55:42 -0700 | [diff] [blame] | 27 | config NR_DEV_DAX |
| 28 | int "Maximum number of Device-DAX instances" |
| 29 | default 32768 |
| 30 | range 256 2147483647 |
| 31 | |
Dan Williams | ab68f26 | 2016-05-18 09:15:08 -0700 | [diff] [blame] | 32 | endif |