Re: [PATCH v3 0/3] Fix port enumeration failure
From: dan.j.williams
Date: Wed Feb 11 2026 - 20:49:00 EST
Li Ming wrote:
> I ran CXL mock testing with next branch, I usually hit the following
> call trace.
[..]
> Changes from V2:
> - Split to_port_host() implementation to a lead-in patch. (Dan)
> - Use to_port_host() instead of open coded. (Dan)
> - Rename to_port_host() to port_to_host() to align with dport_to_host().
>
> Changes from V1:
> - Remove the patch of initializing memdev->endpoint to NULL. (Dan)
> - Fixes typo errors. (Jonathan)
> - Introduce a helper called to_port_host().
> - unregister_port() cleanup.
>
> Signed-off-by: Li Ming <ming.li@xxxxxxxxxxxx>
> ---
> Li Ming (3):
> cxl/port: Introduce port_to_host() helper
> cxl/port: Hold port host lock during dport adding.
> cxl/port: Use port_to_host() to get port host
>
> drivers/cxl/core/core.h | 18 +++++++++++++++++
> drivers/cxl/core/port.c | 52 +++++++++++++++++--------------------------------
> 2 files changed, 36 insertions(+), 34 deletions(-)
> ---
> base-commit: 63fbf275fa9f18f7020fb8acf54fa107e51d0f23
> change-id: 20260208-fix-port-enumeration-failure-34e1f4953f02
For the series:
Reviewed-by: Dan Williams <dan.j.williams@xxxxxxxxx>
...but I was expecting patch1 and patch3 to be squashed. Dave can do
that on applying, or leave it as is.