From: Marc Zyngier <maz@kernel.org>
To: Jinjie Ruan <ruanjinjie@huawei.com>
Cc: <linux-kernel@vger.kernel.org>, <linux-mips@vger.kernel.org>,
Daniel Lezcano <daniel.lezcano@linaro.org>,
Thomas Gleixner <tglx@linutronix.de>,
Thomas Bogendoerfer <tsbogend@alpha.franken.de>,
Joshua Kinard <kumba@gentoo.org>
Subject: Re: [PATCH 3/6] mips: Move IP30 timer to request_percpu_irq()
Date: Thu, 11 Dec 2025 08:20:05 +0000 [thread overview]
Message-ID: <86y0n9o2fe.wl-maz@kernel.org> (raw)
In-Reply-To: <b6526cfc-a0a7-7c31-d39d-8f2195d1ceec@huawei.com>
On Thu, 11 Dec 2025 01:58:06 +0000,
Jinjie Ruan <ruanjinjie@huawei.com> wrote:
>
>
>
> On 2025/12/10 16:22, Marc Zyngier wrote:
> > Teach the SGI IP30 timer about request_percpu_irq(), which ultimately
> > will allow for the removal of the antiquated setup_percpu_irq() API.
> >
> > Signed-off-by: Marc Zyngier <maz@kernel.org>
> > ---
> > arch/mips/include/asm/cevt-r4k.h | 1 -
> > arch/mips/kernel/cevt-r4k.c | 11 -----------
> > arch/mips/sgi-ip30/ip30-timer.c | 5 ++---
> > 3 files changed, 2 insertions(+), 15 deletions(-)
> >
> > diff --git a/arch/mips/include/asm/cevt-r4k.h b/arch/mips/include/asm/cevt-r4k.h
> > index 2e13a038d2600..5229eb34f28a4 100644
> > --- a/arch/mips/include/asm/cevt-r4k.h
> > +++ b/arch/mips/include/asm/cevt-r4k.h
> > @@ -23,7 +23,6 @@ void mips_event_handler(struct clock_event_device *dev);
> > int c0_compare_int_usable(void);
> > irqreturn_t c0_compare_interrupt(int, void *);
> >
> > -extern struct irqaction c0_compare_irqaction;
> > extern int cp0_timer_irq_installed;
> >
> > #endif /* __ASM_CEVT_R4K_H */
> > diff --git a/arch/mips/kernel/cevt-r4k.c b/arch/mips/kernel/cevt-r4k.c
> > index 5f6e9e2ebbdbb..f58325f9bd2bc 100644
> > --- a/arch/mips/kernel/cevt-r4k.c
> > +++ b/arch/mips/kernel/cevt-r4k.c
> > @@ -159,17 +159,6 @@ irqreturn_t c0_compare_interrupt(int irq, void *dev_id)
> > return IRQ_NONE;
> > }
> >
> > -struct irqaction c0_compare_irqaction = {
> > - .handler = c0_compare_interrupt,
> > - /*
> > - * IRQF_SHARED: The timer interrupt may be shared with other interrupts
> > - * such as perf counter and FDC interrupts.
> > - */
> > - .flags = IRQF_PERCPU | IRQF_TIMER | IRQF_SHARED,
>
> The flags will add a "IRQF_NO_SUSPEND" when using request_percpu_irq(),
> is there any change?
I don't think this is a material change, given that power management
on an SGI Octane is simply non-existent.
In any case, this matches what we expect from per-CPU timers, and if
this box has different requirements, then we should discuss that
instead of treating as a special case that must be preserved.
Thanks,
M.
--
Without deviation from the norm, progress is not possible.
next prev parent reply other threads:[~2025-12-11 8:20 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-12-10 8:22 [PATCH 0/6] genirq: Post 6.19-rc1 API cleanup Marc Zyngier
2025-12-10 8:22 ` [PATCH 1/6] genirq: Remove IRQ timing tracking infrastructure Marc Zyngier
2025-12-11 1:32 ` Jinjie Ruan
2025-12-10 8:22 ` [PATCH 2/6] genirq: Remove __request_percpu_irq() helper Marc Zyngier
2025-12-11 1:46 ` Jinjie Ruan
2025-12-10 8:22 ` [PATCH 3/6] mips: Move IP30 timer to request_percpu_irq() Marc Zyngier
2025-12-11 1:58 ` Jinjie Ruan
2025-12-11 8:20 ` Marc Zyngier [this message]
2025-12-10 8:22 ` [PATCH 4/6] mips: Move IP27 " Marc Zyngier
2025-12-10 8:22 ` [PATCH 5/6] clocksource: mips-gic-timer: Move GIC " Marc Zyngier
2025-12-10 8:22 ` [PATCH 6/6] genirq: Kill setup_percpu_irq() 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=86y0n9o2fe.wl-maz@kernel.org \
--to=maz@kernel.org \
--cc=daniel.lezcano@linaro.org \
--cc=kumba@gentoo.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mips@vger.kernel.org \
--cc=ruanjinjie@huawei.com \
--cc=tglx@linutronix.de \
--cc=tsbogend@alpha.franken.de \
/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).