]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
genirq/irqdesc: Remove double locking in hwirq_show()
authorClaudiu Beznea <claudiu.beznea.uj@bp.renesas.com>
Wed, 21 May 2025 14:25:41 +0000 (17:25 +0300)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 21 May 2025 15:48:23 +0000 (17:48 +0200)
commita510bb87da72aa8d1504b0e4b343cfe013ee8a89
tree1802646b1acdf6904b72ad1da3e2ef7d4683b3d7
parent788019eb559fd0b365f501467ceafce540e377cc
genirq/irqdesc: Remove double locking in hwirq_show()

&desc->lock is acquired on 2 consecutive lines in hwirq_show(). This leads
obviously to a deadlock. Drop the raw_spin_lock_irq() and keep guard().

Fixes: 5d964a9f7cd8 ("genirq/irqdesc: Switch to lock guards")
Signed-off-by: Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/all/20250521142541.3832130-1-claudiu.beznea.uj@bp.renesas.com
kernel/irq/irqdesc.c