lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220420140521.45361-1-kernelfans@gmail.com>
Date:   Wed, 20 Apr 2022 22:05:12 +0800
From:   Pingfan Liu <kernelfans@...il.com>
To:     linux-kernel@...r.kernel.org
Cc:     Pingfan Liu <kernelfans@...il.com>,
        Alexander Gordeev <agordeev@...ux.ibm.com>,
        Baokun Li <libaokun1@...wei.com>,
        Bartosz Golaszewski <brgl@...ev.pl>,
        Borislav Petkov <bp@...en8.de>,
        Cédric Le Goater <clg@...d.org>,
        Christian Borntraeger <borntraeger@...ux.ibm.com>,
        Dave Hansen <dave.hansen@...ux.intel.com>,
        Dongli Zhang <dongli.zhang@...cle.com>,
        Florian Fainelli <f.fainelli@...il.com>,
        Frederic Weisbecker <frederic@...nel.org>,
        Heiko Carstens <hca@...ux.ibm.com>,
        "H. Peter Anvin" <hpa@...or.com>, Ingo Molnar <mingo@...hat.com>,
        "Jason A. Donenfeld" <Jason@...c4.com>,
        "Maciej W. Rozycki" <macro@...am.me.uk>,
        Marc Zyngier <maz@...nel.org>,
        Mark Rutland <mark.rutland@....com>,
        Miguel Ojeda <ojeda@...nel.org>,
        Nathan Chancellor <nathan@...nel.org>,
        Nick Desaulniers <ndesaulniers@...gle.com>,
        Oleksandr Natalenko <oleksandr@...alenko.name>,
        Peter Zijlstra <peterz@...radead.org>,
        Qais Yousef <qais.yousef@....com>,
        "Rafael J. Wysocki" <rafael@...nel.org>,
        Randy Dunlap <rdunlap@...radead.org>,
        Sebastian Andrzej Siewior <bigeasy@...utronix.de>,
        Steven Price <steven.price@....com>,
        Sven Schnelle <svens@...ux.ibm.com>,
        Thomas Gleixner <tglx@...utronix.de>,
        Tom Rix <trix@...hat.com>,
        Valentin Schneider <valentin.schneider@....com>,
        Vasily Gorbik <gor@...ux.ibm.com>,
        Wolfram Sang <wsa+renesas@...g-engineering.com>,
        Yuan ZhaoXiong <yuanzhaoxiong@...du.com>,
        YueHaibing <yuehaibing@...wei.com>
Subject: [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 <agordeev@...ux.ibm.com>
Cc: Baokun Li <libaokun1@...wei.com>
Cc: Bartosz Golaszewski <brgl@...ev.pl>
Cc: Borislav Petkov <bp@...en8.de>
Cc: "Cédric Le Goater" <clg@...d.org>
Cc: Christian Borntraeger <borntraeger@...ux.ibm.com>
Cc: Dave Hansen <dave.hansen@...ux.intel.com>
Cc: Dongli Zhang <dongli.zhang@...cle.com>
Cc: Florian Fainelli <f.fainelli@...il.com>
Cc: Frederic Weisbecker <frederic@...nel.org>
Cc: Heiko Carstens <hca@...ux.ibm.com>
Cc: "H. Peter Anvin" <hpa@...or.com>
Cc: Ingo Molnar <mingo@...hat.com>
Cc: "Jason A. Donenfeld" <Jason@...c4.com>
Cc: "Maciej W. Rozycki" <macro@...am.me.uk>
Cc: Marc Zyngier <maz@...nel.org>
Cc: Mark Rutland <mark.rutland@....com>
Cc: Miguel Ojeda <ojeda@...nel.org>
Cc: Nathan Chancellor <nathan@...nel.org>
Cc: Nick Desaulniers <ndesaulniers@...gle.com>
Cc: Oleksandr Natalenko <oleksandr@...alenko.name>
Cc: Peter Zijlstra <peterz@...radead.org>
Cc: Qais Yousef <qais.yousef@....com>
Cc: "Rafael J. Wysocki" <rafael@...nel.org>
Cc: Randy Dunlap <rdunlap@...radead.org>
Cc: Sebastian Andrzej Siewior <bigeasy@...utronix.de>
Cc: Steven Price <steven.price@....com>
Cc: Sven Schnelle <svens@...ux.ibm.com>
Cc: Thomas Gleixner <tglx@...utronix.de>
Cc: Tom Rix <trix@...hat.com>
Cc: Valentin Schneider <valentin.schneider@....com>
Cc: Vasily Gorbik <gor@...ux.ibm.com>
Cc: Wolfram Sang <wsa+renesas@...g-engineering.com>
Cc: Yuan ZhaoXiong <yuanzhaoxiong@...du.com>
Cc: YueHaibing <yuehaibing@...wei.com>
To: linux-kernel@...r.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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ