[PATCH v2] PCI: iproc-msi: Removed potentially endless loop handling MSI events

Manivannan Sadhasivam mani at kernel.org
Sat Nov 7 09:06:06 PST 2026


On Tue, 03 Nov 2026 23:20:12 +0200, Eugen Hristev wrote:
> The iProc MSI chained handler rereads the event queue tail after each
> batch and keeps processing until the queue is empty. A continuously fed
> queue can therefore keep the CPU in the handler indefinitely, starving
> other interrupts and causing RCU stalls under heavy Ethernet traffic.
> 
> To fix this scenario, remove the loop that keeps reading the head and
> the tail until there are no more pending events. Read the head and tail
> only once and process only the events recorded in that snapshot.
> Update the head before returning. Events arriving during processing
> remain queued for a subsequent parent interrupt, allowing other handlers
> to run without imposing an arbitrary event limit.
> 
> [...]

Applied, thanks!

[1/1] PCI: iproc-msi: Removed potentially endless loop handling MSI events
      commit: 2fc457946ee05dfdf080c35e084a9e136e38c3ed

Best regards,
-- 
மணிவண்ணன் சதாசிவம்





More information about the linux-arm-kernel mailing list