Merge branch 'md-fixes' of https://git.kernel.org/pub/scm/linux/kernel/git/song/md...
[linux-2.6-microblaze.git] / drivers / dax / Kconfig
index 2bf5123..a887442 100644 (file)
@@ -44,12 +44,25 @@ config DEV_DAX_HMEM
 
          Say M if unsure.
 
+config DEV_DAX_CXL
+       tristate "CXL DAX: direct access to CXL RAM regions"
+       depends on CXL_BUS && CXL_REGION && DEV_DAX
+       default CXL_REGION && DEV_DAX
+       help
+         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_HMEM_DEVICES
-       depends on DEV_DAX_HMEM && DAX=y
+       depends on DEV_DAX_HMEM && DAX
        def_bool y
 
 config DEV_DAX_KMEM
-       tristate "KMEM DAX: volatile-use of persistent memory"
+       tristate "KMEM DAX: map dax-devices as System-RAM"
        default DEV_DAX
        depends on DEV_DAX
        depends on MEMORY_HOTPLUG # for add_memory() and friends