Re: [PATCH v14 24/34] cxl/port: Move endpoint component register management to cxl_port

From: Jonathan Cameron

Date: Thu Jan 15 2026 - 10:28:36 EST


On Wed, 14 Jan 2026 12:20:45 -0600
Terry Bowman <terry.bowman@xxxxxxx> wrote:

> From: Dan Williams <dan.j.williams@xxxxxxxxx>
>
> In preparation for generic protocol error handling across CXL endpoints,
> whether they be memory expander class devices or accelerators, drop the
> endpoint component management from cxl_dev_state.
>
> Organize all CXL port component management through the common cxl_port
> driver.
>
> Note that the end game is that drivers/cxl/core/ras.c loses all
> dependencies on a 'struct cxl_dev_state' parameter and operates only on
> port resources. The removal of component register mapping from cxl_pci is
> an incremental step towards that.
>
> Signed-off-by: Dan Williams <dan.j.williams@xxxxxxxxx>
> Reviewed-by: Terry Bowman <terry.bowman@xxxxxxx>

Reviewed-by: Jonathan Cameron <jonathan.cameron@xxxxxxxxxx>