Kconfig

CONFIG_DAX DAX: direct access to differentiated memory

  • Off
  • Module
  • Built in

If DAX

CONFIG_DEV_DAX Device DAX: direct access mapping device

  • Off
  • Module
  • Built in

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.

If DEV_DAX

CONFIG_DEV_DAX_PMEM PMEM DAX: direct access to persistent memory

  • Off
  • Module
  • Built in

Support raw access to persistent memory. Note that this driver consumes memory ranges allocated and exported by the libnvdimm sub-system.

Say M if unsure

CONFIG_DEV_DAX_HMEM HMEM DAX: direct access to 'specific purpose' memory

  • Off
  • Module
  • Built in

EFI 2.8 platforms, and others, may advertise 'specific purpose' memory. For example, a high bandwidth memory pool. The indication from platform firmware is meant to reserve the memory from typical usage by default. This driver creates device-dax instances for these memory ranges, and that also enables the possibility to assign them to the DEV_DAX_KMEM driver to override the reservation and add them to kernel "System RAM" pool.

Say M if unsure.

CONFIG_DEV_DAX_CXL CXL DAX: direct access to CXL RAM regions

  • Off
  • Module
  • Built in

CXL RAM regions are either mapped by platform-firmware and published in the initial system-memory map as "System RAM", mapped by platform-firmware as "Soft Reserved", or dynamically provisioned after boot by the CXL driver. In the latter two cases a device-dax instance is created to access that unmapped-by-default address range. Per usual it can remain as dedicated access via a device interface, or converted to "System RAM" via the dax_kmem facility.

CONFIG_DEV_DAX_KMEM KMEM DAX: map dax-devices as System-RAM

  • Off
  • Module
  • Built in

Support access to persistent, or other performance differentiated memory as if it were System RAM. This allows easier use of persistent memory by unmodified applications, or adds core kernel memory services to heterogeneous memory types (HMEM) marked "reserved" by platform firmware.

To use this feature, a DAX device must be unbound from the device_dax driver and bound to this kmem driver on each boot.

Say N if unsure.