Re: [PATCH v2] thunderbolt: xdomain: notify peers after enumeration
From: Mika Westerberg
Date: Thu Jun 25 2026 - 02:49:21 EST
On Wed, Jun 24, 2026 at 02:09:09PM +0800, Milo Chen wrote:
> Service drivers may register local XDomain properties while discovery is
> still in progress. This can cause the properties changed notification to be
> sent before the peer is ready to act on it.
>
> If the peer has already read the local property block before the service
> was registered, it may keep using the old property generation and miss the
> newly registered service. With ThunderboltIP this can leave the network
> service half-discovered after a warm reboot and the login request
> eventually times out.
>
> Queue another properties changed notification after the XDomain reaches
> ENUMERATED so the peer can re-read the final local properties.
>
> Signed-off-by: Milo Chen <cmh79479@xxxxxxxxx>
Applied to thunderbolt.git/next, thanks!