Skip to content

trival fix or improvement about irq_desc access

Pingfan Liu linux-s390 lkml llvm 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest9 patches 13 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9irq/irqdesc: put the lock at the exact place in irq_sysfs_init()kernel/irq/irqdesc.c+3 -40 replies
2/9irq/irqdesc: change the name of delete_irq_desc() to irq_delete_desc()kernel/irq/irqdesc.c+2 -20 replies
3/9irq/manage: remove some unreferenced code.clang-format include/linux/irq.h include/linux/irqnr.h +1 more+0 -201 reply
4/9s390/irq: utilize RCU instead of irq_lock_sparse() in show_msi_interrupt()arch/s390/kernel/irq.c+5 -66 replies
5/9x86/irq: place for_each_active_irq() in rcu read sectionarch/x86/kernel/apic/io_apic.c+3 -00 replies
6/9pm/irq: make for_each_irq_desc() safe of irq_desc releasekernel/irq/pm.c+3 -05 replies
7/9irq: remove needless lock in takedown_cpu()kernel/cpu.c+3 -84 replies
8/9irq: make irq_lock_sparse() independent of CONFIG_SPARSE_IRQinclude/linux/irqdesc.h kernel/irq/irqdesc.c+12 -140 replies
9/9irq/irqdesc: rename sparse_irq_lock to bitmap_lockinclude/linux/irqdesc.h kernel/cpu.c kernel/irq/cpuhotplug.c +3 more+23 -230 replies

Reviews trailers per patch

1 of 9 patches has a Reviewed-by or Acked-by.

PatchMiguel Ojeda
1/9
2/9
3/9A-b
4/9
5/9
6/9
7/9
8/9
9/9

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/9] trival fix or improvement about irq_desc access

When I went through the access of irq_to_desc(), I found the following trival issue or improvement can be done.
[1-4/9]: clean up or small improvement
[5-6/9]: bugfix for access to irq_desc under releasable context [7/9]: clean up
[8-9/9]: bugfix for irq debugfs

Cc: Alexander Gordeev <[email protected]>
Cc: Baokun Li <[email protected]>
Cc: Bartosz Golaszewski <[email protected]>
Cc: Borislav Petkov <[email protected]>
Cc: "Cédric Le Goater" <[email protected]>
Cc: Christian Borntraeger <[email protected]>
Cc: Dave Hansen <[email protected]>
Cc: Dongli Zhang <[email protected]>
Cc: Florian Fainelli <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
Cc: Heiko Carstens <[email protected]>
Cc: "H. Peter Anvin" <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: "Jason A. Donenfeld" <[email protected]>
Cc: "Maciej W. Rozycki" <[email protected]>
Cc: Marc Zyngier <[email protected]>
Cc: Mark Rutland <[email protected]>
Cc: Miguel Ojeda <[email protected]>
Cc: Nathan Chancellor <[email protected]>
Cc: Nick Desaulniers <[email protected]>
Cc: Oleksandr Natalenko <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Qais Yousef <[email protected]>
Cc: "Rafael J. Wysocki" <[email protected]>
Cc: Randy Dunlap <[email protected]>
Cc: Sebastian Andrzej Siewior <[email protected]>
Cc: Steven Price <[email protected]>
Cc: Sven Schnelle <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Tom Rix <[email protected]>
Cc: Valentin Schneider <[email protected]>
Cc: Vasily Gorbik <[email protected]>
Cc: Wolfram Sang <[email protected]>
Cc: Yuan ZhaoXiong <[email protected]>
Cc: YueHaibing <[email protected]>
To: [email protected]

Pingfan Liu (9):
irq/irqdesc: put the lock at the exact place in irq_sysfs_init() irq/irqdesc: change the name of delete_irq_desc() to irq_delete_desc() irq/manage: remove some unreferenced code
s390/irq: utilize RCU instead of irq_lock_sparse() in
show_msi_interrupt()
x86/irq: place for_each_active_irq() in rcu read section pm/irq: make for_each_irq_desc() safe of irq_desc release
irq: remove needless lock in takedown_cpu()
irq: make irq_lock_sparse() independent of CONFIG_SPARSE_IRQ irq/irqdesc: rename sparse_irq_lock to bitmap_lock

 .clang-format                  |  1 -
 arch/s390/kernel/irq.c         | 11 ++++----
 arch/x86/kernel/apic/io_apic.c |  3 +++
 include/linux/irq.h            |  1 -
 include/linux/irqdesc.h        | 10 +++-----
 include/linux/irqnr.h          |  3 ---
 kernel/cpu.c                   | 15 ++++-------
 kernel/irq/cpuhotplug.c        |  4 +--
 kernel/irq/debugfs.c           |  4 +--
 kernel/irq/irqdesc.c           | 47 +++++++++++++++++-----------------
 kernel/irq/manage.c            | 15 -----------
 kernel/irq/pm.c                |  3 +++
 12 files changed, 47 insertions(+), 70 deletions(-)
Signature · 1 line
2.31.1