Re: [PATCH v3 12/14] gpu: nova-core: drive GSP events with the SWGEN0 interrupt
From: John Hubbard
Date: Thu Sep 03 2026 - 21:56:27 EST
On 9/2/26 8:55 PM, John Hubbard wrote:
> On 9/2/26 8:28 PM, sashiko-bot@xxxxxxxxxx wrote:
> ...
>
>> [Severity: High]
>> Does this lead to an interrupt storm if the GSP remains in a fault state like a
>> HALT or WDT timeout?
>
> Well, maybe. I can't rule this out at first reading, anyway. I'll take
> a closer look.
OK, so yes, this is a bug, good catch. This patch series was merrily
reenabling interrupts without regard to whether the clear actually
worked. So yes, interrupt storm if the GPU/GSP just leaves an interrupt
source enabled.
Easy enough to fix, and I've applied a fix locally for it.
Along the way I have become acutely unhappy with the "90% correct,
10% just Portlandia-style weird" form of some of the code comments
in my series, sigh.
On one hand, the code is correct (well, aside from this issue here).
On the other hand the comment quality is off just enough to make me
absolutely insane.
I'm working on it. :)
thanks,
--
John Hubbard