Re: [PATCH v1] usb: typec: ucsi: Enable notifications before registering connectors

From: Jameson Thies

Date: Thu Dec 03 2026 - 20:24:42 EST


Hi Andrei,

> I wonder, could the compiler or processor reorder these two assignment
> operations.
> Perhaps it would be better to perform the ucsi->ntfy assignment
> later — after `mutex_unlock()`?

Thanks, this is a good catch. I'm about to send v2, which gates early
events on ucsi->connector using
smp_store_release()/smp_load_acquire(), similar to the review bot's
suggestion. This should resolve the ordering issue.

- Jameson