OSDN Git Service

cxl: Rename CXL_MEM to CXL_PCI
authorBen Widawsky <ben.widawsky@intel.com>
Mon, 24 Jan 2022 00:28:44 +0000 (16:28 -0800)
committerDan Williams <dan.j.williams@intel.com>
Wed, 9 Feb 2022 06:57:27 +0000 (22:57 -0800)
The cxl_mem module was renamed cxl_pci in commit 21e9f76733a8 ("cxl:
Rename mem to pci"). In preparation for adding an ancillary driver for
cxl_memdev devices (registered on the cxl bus by cxl_pci), go ahead and
rename CONFIG_CXL_MEM to CONFIG_CXL_PCI. Free up the CXL_MEM name for
that new driver to manage CXL.mem endpoint operations.

Suggested-by: Dan Williams <dan.j.williams@intel.com>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Ben Widawsky <ben.widawsky@intel.com>
Link: https://lore.kernel.org/r/164298412409.3018233.12407355692407890752.stgit@dwillia2-desk3.amr.corp.intel.com
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/cxl/Kconfig
drivers/cxl/Makefile

index 67c9137..ef05e96 100644 (file)
@@ -13,25 +13,26 @@ menuconfig CXL_BUS
 
 if CXL_BUS
 
-config CXL_MEM
-       tristate "CXL.mem: Memory Devices"
+config CXL_PCI
+       tristate "PCI manageability"
        default CXL_BUS
        help
-         The CXL.mem protocol allows a device to act as a provider of
-         "System RAM" and/or "Persistent Memory" that is fully coherent
-         as if the memory was attached to the typical CPU memory
-         controller.
+         The CXL specification defines a "CXL memory device" sub-class in the
+         PCI "memory controller" base class of devices. Device's identified by
+         this class code provide support for volatile and / or persistent
+         memory to be mapped into the system address map (Host-managed Device
+         Memory (HDM)).
 
-         Say 'y/m' to enable a driver that will attach to CXL.mem devices for
-         configuration and management primarily via the mailbox interface. See
-         Chapter 2.3 Type 3 CXL Device in the CXL 2.0 specification for more
-         details.
+         Say 'y/m' to enable a driver that will attach to CXL memory expander
+         devices enumerated by the memory device class code for configuration
+         and management primarily via the mailbox interface. See Chapter 2.3
+         Type 3 CXL Device in the CXL 2.0 specification for more details.
 
          If unsure say 'm'.
 
 config CXL_MEM_RAW_COMMANDS
        bool "RAW Command Interface for Memory Devices"
-       depends on CXL_MEM
+       depends on CXL_PCI
        help
          Enable CXL RAW command interface.
 
index d1aaabc..cf07ae6 100644 (file)
@@ -1,6 +1,6 @@
 # SPDX-License-Identifier: GPL-2.0
 obj-$(CONFIG_CXL_BUS) += core/
-obj-$(CONFIG_CXL_MEM) += cxl_pci.o
+obj-$(CONFIG_CXL_PCI) += cxl_pci.o
 obj-$(CONFIG_CXL_ACPI) += cxl_acpi.o
 obj-$(CONFIG_CXL_PMEM) += cxl_pmem.o