Re: [patch 12/14] PCI: hv: Use tasklet_disable_in_atomic()

From
Wei Liu <wei.liu@kernel.org>
Date
2021-03-10 11:35:29
Also in
linux-hyperv, linux-pci, lkml, netdev
Reply to
Thomas Gleixner, 2021-03-09
On Tue, Mar 09, 2021 at 09:42:15AM +0100, Thomas Gleixner wrote:
From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>

The hv_compose_msi_msg() callback in irq_chip::irq_compose_msi_msg is
invoked via irq_chip_compose_msi_msg(), which itself is always invoked from
atomic contexts from the guts of the interrupt core code.

There is no way to change this w/o rewriting the whole driver, so use
tasklet_disable_in_atomic() which allows to make tasklet_disable()
sleepable once the remaining atomic users are addressed.

Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Thomas Gleixner <redacted>
Acked-by: Wei Liu <wei.liu@kernel.org>
Thread (21 messages) 21 messages, 5 authors, last reply 2021-03-10
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help