Subject: Re: [PATCH v20 02/22] cxl/port: Arrange for always synchronous endpoint attach

From: Jonathan Cameron <[email-masked]>
Date: Wed, 12 Nov 2025 14:57:44 +0000

On Mon, 10 Nov 2025 15:36:37 +0000
[email-masked] wrote:

> From: Dan Williams <[email-masked]>
> 
> Make it so that upon return from devm_cxl_add_endpoint() that
> cxl_mem_probe() can assume that the endpoint has had a chance to complete
> cxl_port_probe().
> 
> I.e. cxl_port module loading has completed prior to device registration.
> 
> MODULE_SOFTDEP() is not sufficient for this purpose, but a hard link-time
> dependency is reliable.
> 
> Signed-off-by: Dan Williams <[email-masked]>
Reviewed-by: Jonathan Cameron <[email-masked]>