Re: [PATCH] firmware: arm_scmi: rate-limit queue-full warnings in IRQ context

From: Sudeep Holla

Date: Mon Jul 13 2026 - 06:55:44 EST


On Wed, 08 Jul 2026 12:53:39 +0530, Pushpendra Singh wrote:
> The scmi_notify() function is called from interrupt context
> to queue received notification events onto a per-protocol
> kfifo. When the kfifo is full, it logs a warning via dev_warn()
> for every dropped event.
>
> Under conditions where the platform sends a burst of SCMI
> notifications faster than the deferred worker can drain the
> queue, this results in a flood of dev_warn() calls from
> IRQ context. Each call acquires the console lock and may
> execute blocking console writes, causing the CPU to be held
> in interrupt context for an extended period and leading to
> observable system stalls.
>
> [...]

Applied to sudeep.holla/linux (for-next/scmi/fixes), thanks!

[1/1] firmware: arm_scmi: rate-limit queue-full warnings in IRQ context
https://git.kernel.org/sudeep.holla/c/a4447c069383
--
Regards,
Sudeep