commit | a740a423c36932695b01a3e920f697bc55b05fec | [log] [tgz] |
---|---|---|
author | Thomas Gleixner <tglx@linutronix.de> | Fri Mar 06 14:03:42 2020 +0100 |
committer | Thomas Gleixner <tglx@linutronix.de> | Sun Mar 08 11:06:40 2020 +0100 |
tree | 1d94c857adcf04911e2b824ca8df1ba3a688e1a8 | |
parent | b513df6780ec0265f6c6d8d618d43bd55fd64691 [diff] |
genirq/debugfs: Add missing sanity checks to interrupt injection Interrupts cannot be injected when the interrupt is not activated and when a replay is already in progress. Fixes: 536e2e34bd00 ("genirq/debugfs: Triggering of interrupts from userspace") Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Acked-by: Marc Zyngier <maz@kernel.org> Cc: stable@vger.kernel.org Link: https://lkml.kernel.org/r/20200306130623.500019114@linutronix.de