linux/drivers/cxl
Dan Williams 2ed519c21b cxl/memdev: Introduce cxl_class_memdev_type
In preparation for memdev's without mailbox related infrastructure,
introduce cxl_class_memdev_type as a superset of a cxl_memdev_type.
Effectively the only difference is that cxl_class_memdev_type exports
common sysfs attributes where cxl_memdev_type has none.

Related to this is all the cxl_mem_probe() paths that assume the presence
of a class device mailbox are updated to skip that requirement.

Co-developed-by: Alejandro Lucero <alucerop@amd.com>
Signed-off-by: Alejandro Lucero <alucerop@amd.com>
Signed-off-by: Dan Williams <djbw@kernel.org>
Tested-by: ALejandro Lucero <alucerop@amd.com>
Reviewed-by: Dave Jiang <dave.jiang@intel.com>
Link: https://patch.msgid.link/20260519210158.1499795-5-djbw@kernel.org
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
History 2026-06-12 13:47:29 -07:00
..
core cxl/memdev: Introduce cxl_class_memdev_type 2026-06-12 13:47:29 -07:00
acpi.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
cxl.h cxl/region: Resolve region deletion races 2026-06-12 13:47:29 -07:00
cxlmem.h Merge branch 'for-7.1/cxl-misc' into cxl-for-next 2026-04-10 11:11:53 -07:00
cxlpci.h cxl: Move pci generic code from cxl_pci to core/cxl_pci 2026-03-16 16:30:22 -07:00
Kconfig cxl/acpi: Fix CXL_ACPI and CXL_PMEM Kconfig tristate mismatch 2026-03-06 08:08:53 -07:00
Makefile cxl/port: Fix CXL port initialization order when the subsystem is built-in 2024-10-25 16:06:49 -05:00
mem.c cxl/memdev: Introduce cxl_class_memdev_type 2026-06-12 13:47:29 -07:00
pci.c Merge branch 'for-7.1/cxl-type2-support' into cxl-for-next 2026-04-03 12:18:23 -07:00
pmem.c cxl: Adjust the startup priority of cxl_pmem to be higher than that of cxl_acpi 2026-03-19 15:12:40 -07:00
pmu.h cxl/pci: Find and register CXL PMU devices 2023-05-30 11:20:35 -07:00
port.c Merge branch 'for-7.0/cxl-aer-prep' into cxl-for-next 2026-02-02 09:39:41 -07:00
security.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00