summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2026-01-30 16:04:00 -0800
committerDave Jiang <dave.jiang@intel.com>2026-02-02 08:44:51 -0700
commit7f5ff740ce0bcde242dafcc3f9bb3cbe6b5b8f3a (patch)
tree203b824868151278588414a883ab4f4a1a8b7347 /scripts
parent3864cb60dad5a6c1bd9f444740cf541a1d8cda99 (diff)
cxl/port: Move dport RAS setup to dport add time
Towards the end goal of making all CXL RAS capability handling uniform across host bridge ports, upstream switch ports, and endpoint ports, move dport RAS setup. Move it to cxl_switch_port_probe() context for switch / VH dports (via cxl_port_add_dport()) and cxl_endpoint_port_probe() context for an RCH dport. Rename the RAS setup helper to devm_cxl_dport_ras_setup() for symmetry with devm_cxl_switch_port_decoders_setup(). Only the RCH version needs to be exported and the cxl_test mocking can be deleted with a dev_is_pci() check on the dport_dev. Reviewed-by: Dave Jiang <dave.jiang@intel.com> Reviewed-by: Jonathan Cameron <jonathan.cameron@huawei.com> Tested-by: Terry Bowman <terry.bowman@amd.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com> Link: https://patch.msgid.link/20260131000403.2135324-7-dan.j.williams@intel.com Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions