All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/9] trival fix or improvement about irq_desc access
@ 2022-04-20 14:05 Pingfan Liu
  2022-04-20 14:05 ` [PATCH 1/9] irq/irqdesc: put the lock at the exact place in irq_sysfs_init() Pingfan Liu
                   ` (8 more replies)
  0 siblings, 9 replies; 26+ messages in thread
From: Pingfan Liu @ 2022-04-20 14:05 UTC (permalink / raw)
  To: linux-kernel
  Cc: Pingfan Liu, Alexander Gordeev, Baokun Li, Bartosz Golaszewski,
	Borislav Petkov, Cédric Le Goater, Christian Borntraeger,
	Dave Hansen, Dongli Zhang, Florian Fainelli, Frederic Weisbecker,
	Heiko Carstens, H. Peter Anvin, Ingo Molnar, Jason A. Donenfeld,
	Maciej W. Rozycki, Marc Zyngier, Mark Rutland, Miguel Ojeda,
	Nathan Chancellor, Nick Desaulniers, Oleksandr Natalenko,
	Peter Zijlstra, Qais Yousef, Rafael J. Wysocki, Randy Dunlap,
	Sebastian Andrzej Siewior, Steven Price, Sven Schnelle,
	Thomas Gleixner, Tom Rix, Valentin Schneider, Vasily Gorbik,
	Wolfram Sang, Yuan ZhaoXiong, YueHaibing

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 <agordeev@linux.ibm.com>
Cc: Baokun Li <libaokun1@huawei.com>
Cc: Bartosz Golaszewski <brgl@bgdev.pl>
Cc: Borislav Petkov <bp@alien8.de>
Cc: "Cédric Le Goater" <clg@kaod.org>
Cc: Christian Borntraeger <borntraeger@linux.ibm.com>
Cc: Dave Hansen <dave.hansen@linux.intel.com>
Cc: Dongli Zhang <dongli.zhang@oracle.com>
Cc: Florian Fainelli <f.fainelli@gmail.com>
Cc: Frederic Weisbecker <frederic@kernel.org>
Cc: Heiko Carstens <hca@linux.ibm.com>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: "Jason A. Donenfeld" <Jason@zx2c4.com>
Cc: "Maciej W. Rozycki" <macro@orcam.me.uk>
Cc: Marc Zyngier <maz@kernel.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Miguel Ojeda <ojeda@kernel.org>
Cc: Nathan Chancellor <nathan@kernel.org>
Cc: Nick Desaulniers <ndesaulniers@google.com>
Cc: Oleksandr Natalenko <oleksandr@natalenko.name>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Qais Yousef <qais.yousef@arm.com>
Cc: "Rafael J. Wysocki" <rafael@kernel.org>
Cc: Randy Dunlap <rdunlap@infradead.org>
Cc: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Cc: Steven Price <steven.price@arm.com>
Cc: Sven Schnelle <svens@linux.ibm.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Tom Rix <trix@redhat.com>
Cc: Valentin Schneider <valentin.schneider@arm.com>
Cc: Vasily Gorbik <gor@linux.ibm.com>
Cc: Wolfram Sang <wsa+renesas@sang-engineering.com>
Cc: Yuan ZhaoXiong <yuanzhaoxiong@baidu.com>
Cc: YueHaibing <yuehaibing@huawei.com>
To: linux-kernel@vger.kernel.org


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(-)

-- 
2.31.1


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

end of thread, other threads:[~2022-04-27  6:04 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-20 14:05 [PATCH 0/9] trival fix or improvement about irq_desc access Pingfan Liu
2022-04-20 14:05 ` [PATCH 1/9] irq/irqdesc: put the lock at the exact place in irq_sysfs_init() Pingfan Liu
2022-04-20 14:05 ` [PATCH 2/9] irq/irqdesc: change the name of delete_irq_desc() to irq_delete_desc() Pingfan Liu
2022-04-20 14:05 ` [PATCH 3/9] irq/manage: remove some unreferenced code Pingfan Liu
2022-04-20 20:56   ` Miguel Ojeda
2022-04-20 14:05 ` [PATCH 4/9] s390/irq: utilize RCU instead of irq_lock_sparse() in show_msi_interrupt() Pingfan Liu
2022-04-20 18:16   ` Heiko Carstens
2022-04-21  3:36     ` Pingfan Liu
2022-04-21 11:42       ` Heiko Carstens
2022-04-22  9:56         ` Pingfan Liu
2022-04-22 10:02   ` [PATCHv2] " Pingfan Liu
2022-04-25 11:39     ` Heiko Carstens
2022-04-20 14:05 ` [PATCH 5/9] x86/irq: place for_each_active_irq() in rcu read section Pingfan Liu
2022-04-20 14:05 ` [PATCH 6/9] pm/irq: make for_each_irq_desc() safe of irq_desc release Pingfan Liu
2022-04-20 16:23   ` Rafael J. Wysocki
2022-04-21  3:31     ` Pingfan Liu
2022-04-21 10:57       ` Rafael J. Wysocki
2022-04-22 10:43         ` Pingfan Liu
2022-04-27  6:03   ` [PATCHv2] genirq/PM: Make " Pingfan Liu
2022-04-20 14:05 ` [PATCH 7/9] irq: remove needless lock in takedown_cpu() Pingfan Liu
2022-04-21 16:11   ` Thomas Gleixner
2022-04-25  2:57     ` Pingfan Liu
2022-04-25  9:43       ` Thomas Gleixner
2022-04-27  6:01         ` Pingfan Liu
2022-04-20 14:05 ` [PATCH 8/9] irq: make irq_lock_sparse() independent of CONFIG_SPARSE_IRQ Pingfan Liu
2022-04-20 14:05 ` [PATCH 9/9] irq/irqdesc: rename sparse_irq_lock to bitmap_lock Pingfan Liu

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.