All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/5] Make it easier to use nested locking for interrupt descriptors
@ 2025-02-03 17:59 Bart Van Assche
  2025-02-03 17:59 ` [PATCH 1/5] lockdep: Introduce lockdep_unregister_key_nosync() Bart Van Assche
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Bart Van Assche @ 2025-02-03 17:59 UTC (permalink / raw)
  To: Thomas Gleixner; +Cc: Peter Zijlstra, linux-kernel, Bart Van Assche

Hi Thomas,

The number of irq_set_lockdep_class() calls and IRQ_GC_INIT_NESTED_LOCK
occurrences in the kernel tree shows that nested locking is common for
interrupt descriptors. This patch series makes it easier to use nested
locking by removing the function irq_set_lockdep_class() and also the
IRQ_GC_INIT_NESTED_LOCK flag.

As one can tell from the diffstat, this patch series removes more code
than it adds.

Please consider this patch series for the next merge window.

Thanks,

Bart.

Bart Van Assche (5):
  lockdep: Introduce lockdep_unregister_key_nosync()
  irqdesc: Use dynamic lockdep keys for interrupt descriptors
  irq: Remove irq_set_lockdep_class() and __irq_set_lockdep_class()
  irq: Remove the IRQ_GC_INIT_NESTED_LOCK flag
  irq: Simplify gpiochip_add_data()

 arch/powerpc/sysdev/fsl_msi.c             |  5 ---
 drivers/base/regmap/regmap-irq.c          |  4 ---
 drivers/gpio/gpio-bcm-kona.c              |  8 -----
 drivers/gpio/gpio-brcmstb.c               | 10 ------
 drivers/gpio/gpio-mxc.c                   |  3 +-
 drivers/gpio/gpio-mxs.c                   |  3 +-
 drivers/gpio/gpiolib-devres.c             | 12 +++----
 drivers/gpio/gpiolib.c                    | 30 ++++-------------
 drivers/gpu/drm/msm/msm_mdss.c            |  3 --
 drivers/irqchip/irq-imgpdc.c              |  3 +-
 drivers/irqchip/irq-renesas-intc-irqpin.c | 11 ------
 drivers/irqchip/irq-renesas-irqc.c        |  2 +-
 drivers/mfd/arizona-irq.c                 |  5 ---
 drivers/net/dsa/mv88e6xxx/chip.c          |  8 -----
 drivers/pinctrl/pinctrl-at91-pio4.c       |  8 -----
 drivers/pinctrl/pinctrl-single.c          | 11 ------
 drivers/pinctrl/sunxi/pinctrl-sunxi.c     |  9 -----
 drivers/spmi/spmi-pmic-arb.c              |  5 ---
 drivers/thermal/qcom/lmh.c                |  7 ----
 include/linux/gpio/driver.h               | 41 ++---------------------
 include/linux/irq.h                       |  4 ---
 include/linux/irqdesc.h                   | 14 +++-----
 include/linux/lockdep.h                   |  5 +++
 kernel/irq/generic-chip.c                 | 15 ---------
 kernel/irq/irqdesc.c                      | 30 +++++------------
 kernel/locking/lockdep.c                  | 22 ++++++++++--
 26 files changed, 54 insertions(+), 224 deletions(-)


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

end of thread, other threads:[~2025-02-03 19:40 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-03 17:59 [PATCH 0/5] Make it easier to use nested locking for interrupt descriptors Bart Van Assche
2025-02-03 17:59 ` [PATCH 1/5] lockdep: Introduce lockdep_unregister_key_nosync() Bart Van Assche
2025-02-03 17:59 ` [PATCH 2/5] irqdesc: Use dynamic lockdep keys for interrupt descriptors Bart Van Assche
2025-02-03 17:59 ` [PATCH 3/5] irq: Remove irq_set_lockdep_class() and __irq_set_lockdep_class() Bart Van Assche
2025-02-03 17:59 ` [PATCH 4/5] irq: Remove the IRQ_GC_INIT_NESTED_LOCK flag Bart Van Assche
2025-02-03 17:59 ` [PATCH 5/5] irq: Simplify gpiochip_add_data() Bart Van Assche
2025-02-03 19:40 ` [PATCH 0/5] Make it easier to use nested locking for interrupt descriptors Thomas Gleixner

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.