]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
Merge branch 'for-7.0/cxl-aer-prep' into cxl-for-next
authorDave Jiang <dave.jiang@intel.com>
Mon, 2 Feb 2026 16:39:41 +0000 (09:39 -0700)
committerDave Jiang <dave.jiang@intel.com>
Mon, 2 Feb 2026 16:39:41 +0000 (09:39 -0700)
Fixup and refactor downstream port enumeration to prepare for CXL port
protocol error handling. Main motivation is to move endpoint
component register mapping to a port object.

cxl/port: Unify endpoint and switch port lookup
cxl/port: Move endpoint component register management to cxl_port
cxl/port: Map Port RAS registers
cxl/port: Move dport RAS setup to dport add time
cxl/port: Move dport probe operations to a driver event
cxl/port: Move decoder setup before dport creation
cxl/port: Cleanup dport removal with a devres group
cxl/port: Reduce number of @dport variables in cxl_port_add_dport()
cxl/port: Cleanup handling of the nr_dports 0 -> 1 transition

1  2 
drivers/cxl/core/hdm.c
drivers/cxl/core/port.c
drivers/cxl/cxl.h
drivers/cxl/cxlmem.h
drivers/cxl/mem.c
drivers/cxl/pci.c
drivers/cxl/port.c

Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
index 7937e7e53797c96462765a37eb7198f9b8c649a0,0ae78469207a310b5aea0ee3781c6059ecf4a907..ada51948d52fa9af2975dfa9180ef5a8689bd891
@@@ -154,9 -275,9 +275,10 @@@ static struct cxl_dport *cxl_port_add_d
  static struct cxl_driver cxl_port_driver = {
        .name = "cxl_port",
        .probe = cxl_port_probe,
+       .add_dport = cxl_port_add_dport,
        .id = CXL_DEVICE_PORT,
        .drv = {
 +              .probe_type = PROBE_FORCE_SYNCHRONOUS,
                .dev_groups = cxl_port_attribute_groups,
        },
  };