OSDN Git Service

pinctrl: amd: Use generic_handle_irq_safe()
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>
Mon, 19 Sep 2022 12:42:54 +0000 (14:42 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Mon, 19 Sep 2022 13:08:38 +0000 (15:08 +0200)
commitf460c70125bcb1b753f152d9d0c9cee3ddbc2d91
treeba4a0971d5d816f0935a375a99616d1093634116
parent6a164c646999847b843e651f71c53dfaceb2c2b4
pinctrl: amd: Use generic_handle_irq_safe()

On PREEMPT_RT enabled kernels the demultiplex interrupt handler is force
threaded and runs with interrupts enabled. The invocation of
generic_handle_domain_irq() with interrupts enabled triggers a lockdep
warning due to a non-irq safe lock acquisition.

Instead of disabling interrupts on the driver level, use
generic_handle_domain_irq_safe().

[ tglx: Split out from combo patch ]

Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/YnkfWFzvusFFktSt@linutronix.de
Link: https://bugzilla.kernel.org/show_bug.cgi?id=215954
drivers/pinctrl/pinctrl-amd.c