Re: [PATCH v16 03/10] cxl: Update CXL Endpoint tracing

From: Dan Williams

Date: Sun Mar 29 2026 - 17:49:59 EST


Hey Terry, comment below is with respect to future patches in this
space. No need to respin for this.

Terry Bowman wrote:
> CXL protocol error handling will be expanded to soon include CXL Port
> support along with existing Endpoint support. 2 updates are needed first:

When reading this patch years from now, "soon" will have no meaning.
That same reader years from now wanting to know if this patch is
interesting for their problem is not going to get much from "cxl: Update
CXL Endpoint tracing". For future patches try to get to the meat of the
story as succinctly as possible without requiring too much in the way of
needing context.

---
Subject: cxl: Prepare existing endpoint trace event for port reuse

The current endpoint trace events are some AER register values a device
name and a serial number. Switch port error reporting can reuse these
events if they stop requiring a 'struct cxl_memdev' and require the
caller to specify a serial number if available.
---