public inbox for linuxppc-dev@ozlabs.org 
 help / color / mirror / Atom feed
From: Eliav Farber <farbere@amazon•com>
To: <linux@armlinux•org.uk>, <catalin.marinas@arm•com>,
	<will@kernel•org>, <mpe@ellerman•id.au>, <npiggin@gmail•com>,
	<christophe.leroy@csgroup•eu>, <naveen@kernel•org>,
	<maddy@linux•ibm.com>, <paul.walmsley@sifive•com>,
	<palmer@dabbelt•com>, <aou@eecs•berkeley.edu>,
	<tglx@linutronix•de>, <ebiederm@xmission•com>,
	<akpm@linux-foundation•org>, <bhe@redhat•com>,
	<farbere@amazon•com>, <hbathini@linux•ibm.com>,
	<sourabhjain@linux•ibm.com>, <adityag@linux•ibm.com>,
	<songshuaishuai@tinylab•org>, <takakura@valinux•co.jp>,
	<linux-arm-kernel@lists•infradead.org>,
	<linux-kernel@vger•kernel.org>, <linuxppc-dev@lists•ozlabs.org>,
	<linux-riscv@lists•infradead.org>, <kexec@lists•infradead.org>
Cc: <jonnyc@amazon•com>
Subject: [PATCH v4 0/2] Improve interrupt handling during machine kexec
Date: Fri, 29 Nov 2024 11:31:17 +0000	[thread overview]
Message-ID: <20241129113119.26669-1-farbere@amazon.com> (raw)

This patch series focuses on improving the machine_kexec_mask_interrupts()
function by consolidating its implementation and optimizing its behavior to
avoid redundant interrupt masking.

Patch Summary:
[PATCH v4 1/2] Move machine_kexec_mask_interrupts() to kexec_core.c,
               removing duplicate architecture-specific implementations.
[PATCH v4 2/2] Refine machine_kexec_mask_interrupts() to avoid re-masking
               already-masked interrupts, resolving specific warnings
               triggered in GPIO IRQ flows.

Changes between v3 and v4:
 - Add missing <linux/irqdesc.h> and <linux/irq.h> includes.

Eliav Farber (2):
  kexec: Consolidate machine_kexec_mask_interrupts() implementation
  kexec: Prevent redundant IRQ masking by checking state before shutdown

 arch/arm/kernel/machine_kexec.c   | 23 -----------------------
 arch/arm64/kernel/machine_kexec.c | 31 -------------------------------
 arch/powerpc/include/asm/kexec.h  |  1 -
 arch/powerpc/kexec/core.c         | 22 ----------------------
 arch/riscv/kernel/machine_kexec.c | 23 -----------------------
 include/linux/irq.h               |  3 +++
 include/linux/kexec.h             |  2 ++
 kernel/irq/internals.h            |  1 -
 kernel/kexec_core.c               | 30 ++++++++++++++++++++++++++++++
 9 files changed, 35 insertions(+), 101 deletions(-)

-- 
2.40.1



             reply	other threads:[~2024-11-29 11:31 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-29 11:31 Eliav Farber [this message]
2024-11-29 11:31 ` [PATCH v4 1/2] kexec: Consolidate machine_kexec_mask_interrupts() implementation Eliav Farber
2024-11-29 13:30   ` Thomas Gleixner
2024-11-29 15:31   ` kernel test robot
2024-11-29 15:53   ` kernel test robot
2024-11-29 11:31 ` [PATCH v4 2/2] kexec: Prevent redundant IRQ masking by checking state before shutdown Eliav Farber
2024-11-29 13:32   ` Thomas Gleixner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20241129113119.26669-1-farbere@amazon.com \
    --to=farbere@amazon$(echo .)com \
    --cc=adityag@linux$(echo .)ibm.com \
    --cc=akpm@linux-foundation$(echo .)org \
    --cc=aou@eecs$(echo .)berkeley.edu \
    --cc=bhe@redhat$(echo .)com \
    --cc=catalin.marinas@arm$(echo .)com \
    --cc=christophe.leroy@csgroup$(echo .)eu \
    --cc=ebiederm@xmission$(echo .)com \
    --cc=hbathini@linux$(echo .)ibm.com \
    --cc=jonnyc@amazon$(echo .)com \
    --cc=kexec@lists$(echo .)infradead.org \
    --cc=linux-arm-kernel@lists$(echo .)infradead.org \
    --cc=linux-kernel@vger$(echo .)kernel.org \
    --cc=linux-riscv@lists$(echo .)infradead.org \
    --cc=linux@armlinux$(echo .)org.uk \
    --cc=linuxppc-dev@lists$(echo .)ozlabs.org \
    --cc=maddy@linux$(echo .)ibm.com \
    --cc=mpe@ellerman$(echo .)id.au \
    --cc=naveen@kernel$(echo .)org \
    --cc=npiggin@gmail$(echo .)com \
    --cc=palmer@dabbelt$(echo .)com \
    --cc=paul.walmsley@sifive$(echo .)com \
    --cc=songshuaishuai@tinylab$(echo .)org \
    --cc=sourabhjain@linux$(echo .)ibm.com \
    --cc=takakura@valinux$(echo .)co.jp \
    --cc=tglx@linutronix$(echo .)de \
    --cc=will@kernel$(echo .)org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox