linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/7] Provide and use generic_handle_irq_safe() where appropriate.
@ 2022-01-27 11:32 Sebastian Andrzej Siewior
  2022-01-27 11:32 ` [PATCH 1/7] genirq: Provide generic_handle_irq_safe() Sebastian Andrzej Siewior
                   ` (6 more replies)
  0 siblings, 7 replies; 28+ messages in thread
From: Sebastian Andrzej Siewior @ 2022-01-27 11:32 UTC (permalink / raw)
  To: greybus-dev, linux-i2c, linux-kernel, linux-staging, linux-usb, netdev
  Cc: David S. Miller, Alex Elder, Arnd Bergmann, Greg Kroah-Hartman,
	Hans de Goede, Jakub Kicinski, Johan Hovold, Lee Jones,
	Rui Miguel Silva, Thomas Gleixner, UNGLinuxDriver, Wolfram Sang,
	Woojung Huh

generic_handle_irq() must be used from primary IRQ-handler (chain
handler/ interrupt controller entry). It is low level code and the
function expects that interrupts are disabled at entry point.

This isn't the case for invocations from tasklets, workqueues or the
primary interrupt handler on PREEMPT_RT. Once this gets noticed a
"local_irq_disable|safe()" is added. To avoid further confusion this
series adds generic_handle_irq_safe() which can be used from any context
and adds a few user.

Sebastian



^ permalink raw reply	[flat|nested] 28+ messages in thread

end of thread, other threads:[~2022-01-31 11:56 UTC | newest]

Thread overview: 28+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-27 11:32 [PATCH 0/7] Provide and use generic_handle_irq_safe() where appropriate Sebastian Andrzej Siewior
2022-01-27 11:32 ` [PATCH 1/7] genirq: Provide generic_handle_irq_safe() Sebastian Andrzej Siewior
2022-01-27 11:48   ` Hans de Goede
2022-01-27 14:40   ` Oleksandr Natalenko
2022-01-27 17:03   ` Wolfram Sang
2022-01-31 10:47     ` Sebastian Andrzej Siewior
2022-01-28 10:18   ` Sergei Shtylyov
2022-01-31 10:51     ` Sebastian Andrzej Siewior
2022-01-27 11:32 ` [PATCH 2/7] i2c: core: Use generic_handle_irq_safe() in i2c_handle_smbus_host_notify() Sebastian Andrzej Siewior
2022-01-27 14:41   ` Oleksandr Natalenko
2022-01-31 11:09     ` Sebastian Andrzej Siewior
2022-01-27 17:11   ` Wolfram Sang
2022-01-31 11:07     ` Sebastian Andrzej Siewior
2022-01-27 11:32 ` [PATCH 3/7] i2c: cht-wc: Use generic_handle_irq_safe() Sebastian Andrzej Siewior
2022-01-27 11:48   ` Hans de Goede
2022-01-27 17:16   ` Wolfram Sang
2022-01-31 11:10     ` Sebastian Andrzej Siewior
2022-01-27 11:33 ` [PATCH 4/7] mfd: hi6421-spmi-pmic: " Sebastian Andrzej Siewior
2022-01-28 10:23   ` Sergei Shtylyov
2022-01-28 13:33     ` Lee Jones
2022-01-28 15:28       ` Sergei Shtylyov
2022-01-28 16:44       ` Sergei Shtylyov
2022-01-28 16:50         ` Lee Jones
2022-01-28 19:37           ` Sergei Shtylyov
2022-01-31 11:16     ` Sebastian Andrzej Siewior
2022-01-27 11:33 ` [PATCH 5/7] mfd: ezx-pcap: " Sebastian Andrzej Siewior
2022-01-27 11:33 ` [PATCH 6/7] net: usb: lan78xx: " Sebastian Andrzej Siewior
2022-01-27 11:33 ` [PATCH 7/7] staging: greybus: gpio: " Sebastian Andrzej Siewior

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).