Re: [PATCH v10 03/24] firmware: arm_scmi: Introduce protocol instance notifiers
From: Jonathan Cameron
Date: Mon Aug 24 2026 - 16:35:24 EST
On Sun, 16 Aug 2026 00:25:43 +0100
Cristian Marussi <cristian.marussi@xxxxxxx> wrote:
> SCMI Protocol notifications are typically used by SCMI drivers to detect
> and react to particular conditions: this was the assumption and the classic
> usage scenario upon which the SCMI notification framework was built.
>
> Some protocols like Telemetry, though, could be interested in enabling and
> registering for such notifications: in such a scenario each initialized
> protocol instance could want to register a common protocol notifier.
>
> In order to reuse the existing SCMI Notifications machinery, allow
> protocols themselves to register for their own notifications and provide
> their own notifier callbacks.
>
> Each protocol, at the end of its initialization phase, can now provide one
> unique per-protocol-instance notifier block, which will be registered, by
> the core SCMI stack, on the related notification chain: such notifier will
> be automatically removed during the protocol de-initialization phase.
>
> Signed-off-by: Cristian Marussi <cristian.marussi@xxxxxxx>
I skipped a few versions but what you have now looks good to me.
Reviewed-by: Jonathan Cameron <jonathan.cameron@xxxxxxxxxxxxxxxx>