Re: [PATCH v14 29/34] cxl/port: Unify endpoint and switch port lookup
From: Jonathan Cameron
Date: Thu Jan 15 2026 - 10:44:41 EST
On Wed, 14 Jan 2026 12:20:50 -0600
Terry Bowman <terry.bowman@xxxxxxx> wrote:
> From: Dan Williams <dan.j.williams@xxxxxxxxx>
>
> In support of generic CXL protocol error handling across various 'struct
> cxl_port' types, update find_cxl_port_by_uport() to retrieve endpoint CXL
> port companions from endpoint PCIe device instances.
>
> The end result is that upstream switch ports and endpoint ports can share
> error handling and eventually delete the misplaced cxl_error_handlers from
> the cxl_pci class driver.
Should mention that you are converting to kernel-doc.
>
> Signed-off-by: Dan Williams <dan.j.williams@xxxxxxxxx>
> Reviewed-by: Terry Bowman <terry.bowman@xxxxxxx>
>
Reviewed-by: Jonathan Cameron <jonathan.cameron@xxxxxxxxxx>