]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
cxl: Move pci generic code from cxl_pci to core/cxl_pci
authorAlejandro Lucero <alucerop@amd.com>
Fri, 6 Mar 2026 16:47:40 +0000 (16:47 +0000)
committerDave Jiang <dave.jiang@intel.com>
Mon, 16 Mar 2026 23:30:22 +0000 (16:30 -0700)
commit58f28930c7fb0e24cdf2972a9c3b7c91aeef4539
treef9180c13b6b219968ba2f54aa743afe04c80784d
parent005869886d1d370afb6c10cd40709d956960e9c2
cxl: Move pci generic code from cxl_pci to core/cxl_pci

Inside cxl/core/pci.c there are helpers for CXL PCIe initialization
meanwhile cxl/pci_drv.c implements the functionality for a Type3 device
initialization.

In preparation for type2 support, move helper functions from cxl/pci.c to
cxl/core/pci.c in order to be exported and used by type2 drivers.

[ dj: Clarified subject. ]

Signed-off-by: Alejandro Lucero <alucerop@amd.com>
Reviewed-by: Dave Jiang <dave.jiang@intel.com>
Reviewed-by: Gregory Price <gourry@gourry.net>
Reviewed-by: Jonathan Cameron <jonathan.cameron@huawei.com>
Signed-off-by: Gregory Price <gourry@gourry.net>
Link: https://patch.msgid.link/20260306164741.3796372-4-alejandro.lucero-palau@amd.com
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
drivers/cxl/core/core.h
drivers/cxl/core/pci.c
drivers/cxl/core/regs.c
drivers/cxl/cxl.h
drivers/cxl/cxlpci.h
drivers/cxl/pci.c