From: Marc Zyngier <maz@kernel.org>
To: Jinjie Ruan <ruanjinjie@huawei.com>
Cc: <tglx@linutronix.de>, <joey.gouly@arm.com>,
<mark.rutland@arm.com>, <will@kernel.org>,
<catalin.marinas@arm.com>, <linux-arm-kernel@lists.infradead.org>,
<linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] irqchip/gic-v3: Remove asmlinkage for gic_handle_irq()
Date: Sat, 27 Jul 2024 10:35:45 +0100 [thread overview]
Message-ID: <861q3f2n4e.wl-maz@kernel.org> (raw)
In-Reply-To: <20240727073648.1042377-1-ruanjinjie@huawei.com>
On Sat, 27 Jul 2024 08:36:48 +0100,
Jinjie Ruan <ruanjinjie@huawei.com> wrote:
>
> Since commit 064dbfb41691 ("arm64: entry: convert IRQ+FIQ handlers to C"),
> the gic_handle_irq() is only called by C functions, so remove
> the asmlinkage.
You clearly haven't looked very far.
>
> Fixes: 064dbfb41691 ("arm64: entry: convert IRQ+FIQ handlers to C")
> Signed-off-by: Jinjie Ruan <ruanjinjie@huawei.com>
> ---
> drivers/irqchip/irq-gic-v3.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/irqchip/irq-gic-v3.c b/drivers/irqchip/irq-gic-v3.c
> index c19083bfb943..0efa3443c323 100644
> --- a/drivers/irqchip/irq-gic-v3.c
> +++ b/drivers/irqchip/irq-gic-v3.c
> @@ -930,7 +930,7 @@ static void __gic_handle_irq_from_irqsoff(struct pt_regs *regs)
> __gic_handle_nmi(irqnr, regs);
> }
>
> -static asmlinkage void __exception_irq_entry gic_handle_irq(struct pt_regs *regs)
> +static void __exception_irq_entry gic_handle_irq(struct pt_regs *regs)
> {
> if (unlikely(gic_supports_nmi() && !interrupts_enabled(regs)))
> __gic_handle_irq_from_irqsoff(regs);
$ git grep handle_arch_irq arch/arm/
arch/arm/kernel/entry-armv.S: bl generic_handle_arch_irq
arch/arm/kernel/entry-armv.S: mov_l r0, generic_handle_arch_irq
Until someone rewrites 32bit ARM to have all of its low-level
interrupt handling in C, this stays. This has no effect on arm64
anyway.
M.
--
Without deviation from the norm, progress is not possible.
next prev parent reply other threads:[~2024-07-27 9:36 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-27 7:36 [PATCH] irqchip/gic-v3: Remove asmlinkage for gic_handle_irq() Jinjie Ruan
2024-07-27 9:25 ` Thomas Gleixner
2024-07-29 2:36 ` Jinjie Ruan
2024-07-27 9:35 ` Marc Zyngier [this message]
2024-07-27 9:40 ` Marc Zyngier
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=861q3f2n4e.wl-maz@kernel.org \
--to=maz@kernel.org \
--cc=catalin.marinas@arm.com \
--cc=joey.gouly@arm.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mark.rutland@arm.com \
--cc=ruanjinjie@huawei.com \
--cc=tglx@linutronix.de \
--cc=will@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
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;
as well as URLs for NNTP newsgroup(s).