Thread (28 messages) 28 messages, 6 authors, 2022-01-31

Re: [PATCH 4/7] mfd: hi6421-spmi-pmic: Use generic_handle_irq_safe().

From: Sergei Shtylyov <hidden>
Date: 2022-01-28 16:44:46
Also in: linux-i2c, linux-staging, linux-usb, lkml

On 1/28/22 4:33 PM, Lee Jones wrote:
quoted
quoted
generic_handle_irq() is invoked from a regular interrupt service
routing. This handler will become a forced-threaded handler on
   s/routing/routine/?
quoted
PREEMPT_RT and will be invoked with enabled interrupts. The
generic_handle_irq() must be invoked with disabled interrupts in order
to avoid deadlocks.

Instead of manually disabling interrupts before invoking use
generic_handle_irq() which can be invoked with enabled and disabled
interrupts.

Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
[...]

MBR, Sergey
What does that mean?
   Ah, you were asking about MBR! My best regards then. :-)

MBR, Sergey
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help