mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-25 14:40:53 +07:00
skge: Unmask interrupts in case of spurious interrupts
In case of a spurious interrupt dont forget to reenable the interrupts that have been masked by reading the interrupt source register. Signed-off-by: Lino Sanfilippo <LinoSanfilippo@gmx.de> Acked-by: Mirko Lindner <mlindner@marvell.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
8961b19402
commit
6276288a4c
@ -3433,10 +3433,9 @@ static irqreturn_t skge_intr(int irq, void *dev_id)
|
||||
|
||||
if (status & IS_HW_ERR)
|
||||
skge_error_irq(hw);
|
||||
|
||||
out:
|
||||
skge_write32(hw, B0_IMSK, hw->intr_mask);
|
||||
skge_read32(hw, B0_IMSK);
|
||||
out:
|
||||
spin_unlock(&hw->hw_lock);
|
||||
|
||||
return IRQ_RETVAL(handled);
|
||||
|
Loading…
Reference in New Issue
Block a user