Re: [PATCH RFC DNM 06/15] thunderbolt: nhi: Clear ring interrupts when not using MSI-X

From: Mika Westerberg

Date: Tue Dec 01 2026 - 02:17:12 EST


Hi,

On Tue, Nov 24, 2026 at 09:01:35PM +0100, Konrad Dybcio wrote:
> Commit 468c49f44759 ("thunderbolt: Disable interrupt auto clear for
> rings") made the hardware stop clearing the ring interrupt status on
> read for all routers except Intel ones, and added an explicit write to
> REG_RING_INT_CLEAR to the MSI-X handler. The single-interrupt handler
> was not updated though, so for such routers the status bits are never
> cleared and the interrupt keeps firing.
>
> Write back the bits that were found set in each notify register to
> REG_RING_INT_CLEAR, before handling the rings that they belong to.
>
> Fixes: 468c49f44759 ("thunderbolt: Disable interrupt auto clear for rings")
> Signed-off-by: Konrad Dybcio <konrad.dybcio@xxxxxxxxxxxxxxxx>

Applied to thunderbolt.git/next.