Skip to contentSkip to conversation

irqchip fixes for 5.14, take #1

GIT PULL Marc Zyngier 2 participants 2 messages Jul 9, 2021

lore
Share & tools
lore
#0 lore raw

Hi Thomas,

Here the first batch of fixes for 5.14. Only two patches this time, both fixing issues introduced by the large irqdomain update during the merge window.

One is a simple documentation update. The other is an interesting bug affecting MIPS, where we were able to perform irqdomain look-ups (which now implies using RCU at all times) without being in the right context (straight out of idle, for example). The issue was always there, we were just 'lucky' not to use RCU consistently in the irqdomain code...

Please pull,

	M.

The following changes since commit c51e96dace68a67f1fcfa49d4ad1577875f50bf1:

Merge branch irq/irqchip-driver-updates into irq/irqchip-next (2021-06-11 14:50:03 +0100)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms.git tags/irqchip-fixes-5.14-1

for you to fetch changes up to 1fee9db9b42d821e8007289d4eea74bdf85b1543:

irqchip/mips: Fix RCU violation when using irqdomain lookup on interrupt entry (2021-07-09 10:18:58 +0100)

----------------------------------------------------------------
irqchip fixes for 5.14, take #1

- Fix a MIPS bug where irqdomain loopkups could occur in a context where RCU is not allowed

- Fix a documentation bug for handle_domain_irq

----------------------------------------------------------------
Marc Zyngier (1):
irqchip/mips: Fix RCU violation when using irqdomain lookup on interrupt entry

Randy Dunlap (1):
genirq/irqdesc: Drop excess kernel-doc entry @lookup

 arch/mips/include/asm/irq.h      |  3 +++
 arch/mips/kernel/irq.c           | 16 ++++++++++++++++
 drivers/irqchip/irq-mips-cpu.c   | 10 ++++++----
 drivers/irqchip/irq-mips-gic.c   |  8 ++++----
 drivers/irqchip/irq-pic32-evic.c |  5 ++---
 kernel/irq/irqdesc.c             |  1 -
 6 files changed, 31 insertions(+), 12 deletions(-)
#1 lore raw

Marc,

Quoted 8 lines · Marc Zyngier

One is a simple documentation update. The other is an interesting bug affecting MIPS, where we were able to perform irqdomain look-ups (which now implies using RCU at all times) without being in the right context (straight out of idle, for example). The issue was always there, we were just 'lucky' not to use RCU consistently in the irqdomain code...

Please pull,

done.

Thanks,

tglx