# SPDX-License-Identifier: GPL-2.0-only config [31mCONFIG_DAX_DRIVER[0m select [31mCONFIG_DAX[0m bool menuconfig [31mCONFIG_DAX[0m tristate "DAX: direct access to differentiated memory" select [31mCONFIG_SRCU[0m default m if [31mCONFIG_NVDIMM_DAX[0m if [31mCONFIG_DAX[0m config [31mCONFIG_DEV_DAX[0m tristate "Device DAX: direct access mapping device" depends on [31mCONFIG_TRANSPARENT_HUGEPAGE[0m help Support raw access to differentiated (persistence, bandwidth, latency...) memory via an mmap(2) capable character device. Platform firmware or a device driver may identify a platform memory resource that is differentiated from the baseline memory pool. Mappings of a /dev/daxX.Y device impose restrictions that make the mapping behavior deterministic. config [31mCONFIG_DEV_DAX_PMEM[0m tristate "PMEM DAX: direct access to persistent memory" depends on [31mCONFIG_LIBNVDIMM[0m && [31mCONFIG_NVDIMM_DAX[0m && [31mCONFIG_DEV_DAX[0m default [31mCONFIG_DEV_DAX[0m help Support raw access to persistent memory. Note that this driver consumes memory ranges allocated and exported by the libnvdimm sub-system. Say [31mCONFIG_M[0m if unsure config [31mCONFIG_DEV_DAX_KMEM[0m tristate "KMEM DAX: volatile-use of persistent memory" default [31mCONFIG_DEV_DAX[0m depends on [31mCONFIG_DEV_DAX[0m depends on [31mCONFIG_MEMORY_HOTPLUG[0m # for add_memory() and friends help Support access to persistent memory as if it were RAM. This allows easier use of persistent memory by unmodified applications. To use this feature, a [31mCONFIG_DAX[0m device must be unbound from the device_dax driver (PMEM [31mCONFIG_DAX[0m) and bound to this kmem driver on each boot. Say N if unsure. config [31mCONFIG_DEV_DAX_PMEM_COMPAT[0m tristate "PMEM DAX: support the deprecated /sys/class/dax interface" depends on m && [31mCONFIG_DEV_DAX_PMEM[0m=m default [31mCONFIG_DEV_DAX_PMEM[0m help Older versions of the libdaxctl library expect to find all device-dax instances under /sys/class/dax. If libdaxctl in your distribution is older than v58 say [31mCONFIG_M[0m, otherwise say N. endif |