Re: [PATCH] genirq: Check irq disabled & masked states in irq_shutdown

From: Thomas Gleixner
Date: Fri May 26 2017 - 09:20:34 EST


On Fri, 26 May 2017, Jeffy Chen wrote:

> If irq is already disabled and masked, we would hit a unbalanced irq
> shutdown/disable/mask when freeing it.

Errr? What exactly is unbalanced? None of the called functions has any
counter or whatever.

Can you please explain what you are trying to fix?

Thanks,

tglx