diff options
Diffstat (limited to 'drivers/dax/Kconfig')
| -rw-r--r-- | drivers/dax/Kconfig | 28 |
1 files changed, 27 insertions, 1 deletions
diff --git a/drivers/dax/Kconfig b/drivers/dax/Kconfig index e0700bf4893a..5ef624fe3934 100644 --- a/drivers/dax/Kconfig +++ b/drivers/dax/Kconfig | |||
| @@ -23,12 +23,38 @@ config DEV_DAX | |||
| 23 | config DEV_DAX_PMEM | 23 | config DEV_DAX_PMEM |
| 24 | tristate "PMEM DAX: direct access to persistent memory" | 24 | tristate "PMEM DAX: direct access to persistent memory" |
| 25 | depends on LIBNVDIMM && NVDIMM_DAX && DEV_DAX | 25 | depends on LIBNVDIMM && NVDIMM_DAX && DEV_DAX |
| 26 | depends on m # until we can kill DEV_DAX_PMEM_COMPAT | ||
| 26 | default DEV_DAX | 27 | default DEV_DAX |
| 27 | help | 28 | help |
| 28 | Support raw access to persistent memory. Note that this | 29 | Support raw access to persistent memory. Note that this |
| 29 | driver consumes memory ranges allocated and exported by the | 30 | driver consumes memory ranges allocated and exported by the |
| 30 | libnvdimm sub-system. | 31 | libnvdimm sub-system. |
| 31 | 32 | ||
| 32 | Say Y if unsure | 33 | Say M if unsure |
| 34 | |||
| 35 | config DEV_DAX_KMEM | ||
| 36 | tristate "KMEM DAX: volatile-use of persistent memory" | ||
| 37 | default DEV_DAX | ||
| 38 | depends on DEV_DAX | ||
| 39 | depends on MEMORY_HOTPLUG # for add_memory() and friends | ||
| 40 | help | ||
| 41 | Support access to persistent memory as if it were RAM. This | ||
| 42 | allows easier use of persistent memory by unmodified | ||
| 43 | applications. | ||
| 44 | |||
| 45 | To use this feature, a DAX device must be unbound from the | ||
| 46 | device_dax driver (PMEM DAX) and bound to this kmem driver | ||
| 47 | on each boot. | ||
| 48 | |||
| 49 | Say N if unsure. | ||
| 50 | |||
| 51 | config DEV_DAX_PMEM_COMPAT | ||
| 52 | tristate "PMEM DAX: support the deprecated /sys/class/dax interface" | ||
| 53 | depends on DEV_DAX_PMEM | ||
| 54 | default DEV_DAX_PMEM | ||
| 55 | help | ||
| 56 | Older versions of the libdaxctl library expect to find all | ||
| 57 | device-dax instances under /sys/class/dax. If libdaxctl in | ||
| 58 | your distribution is older than v58 say M, otherwise say N. | ||
| 33 | 59 | ||
| 34 | endif | 60 | endif |
