linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Catalin Marinas <catalin.marinas@arm.com>
To: Jinjie Ruan <ruanjinjie@huawei.com>
Cc: will@kernel.org, oleg@redhat.com, sstabellini@kernel.org,
	mark.rutland@arm.com, ada.coupriediaz@arm.com, mbenes@suse.cz,
	broonie@kernel.org, anshuman.khandual@arm.com,
	ryan.roberts@arm.com, chenl311@chinatelecom.cn,
	liaochang1@huawei.com, kristina.martsenko@arm.com,
	leitao@debian.org, ardb@kernel.org,
	linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org, xen-devel@lists.xenproject.org
Subject: Re: [PATCH v8 0/8] arm64: entry: Convert to generic irq entry
Date: Thu, 4 Sep 2025 21:35:56 +0100	[thread overview]
Message-ID: <aLn4LP7olb89TdbN@arm.com> (raw)
In-Reply-To: <20250815030633.448613-1-ruanjinjie@huawei.com>

On Fri, Aug 15, 2025 at 11:06:25AM +0800, Jinjie Ruan wrote:
> Currently, x86, Riscv, Loongarch use the generic entry which makes
> maintainers' work easier and codes more elegant. So also convert arm64
> to use the generic entry infrastructure from kernel/entry/* by
> switching it to generic IRQ entry first, which will make PREEMPT_DYNAMIC
> and PREEMPT_LAZY use the generic entry common code and remove a lot of
> duplicate code.
> 
> Since commit a70e9f647f50 ("entry: Split generic entry into generic
> exception and syscall entry") split the generic entry into generic irq
> entry and generic syscall entry, it is time to convert arm64 to use
> the generic irq entry. And ARM64 will be completely converted to generic
> entry in the upcoming patch series.
> 
> The main convert steps are as follows:
> - Split generic entry into generic irq entry and generic syscall to
>   make the single patch more concentrated in switching to one thing.
> - Make arm64 easier to use irqentry_enter/exit().
> - Make arm64 closer to the PREEMPT_DYNAMIC code of generic entry.
> - Switch to generic irq entry.

I had a read through the patches and this first step looks fine to me.
If Ada or Mark don't spot any problems, I think the series is a
candidate for 6.18.

Acked-by: Catalin Marinas <catalin.marinas@arm.com>

      parent reply	other threads:[~2025-09-04 20:36 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-08-15  3:06 [PATCH v8 0/8] arm64: entry: Convert to generic irq entry Jinjie Ruan
2025-08-15  3:06 ` [PATCH v8 1/8] arm64: ptrace: Replace interrupts_enabled() with regs_irqs_disabled() Jinjie Ruan
2025-08-15  3:06 ` [PATCH v8 2/8] arm64: entry: Refactor the entry and exit for exceptions from EL1 Jinjie Ruan
2025-08-15  3:06 ` [PATCH v8 3/8] arm64: entry: Rework arm64_preempt_schedule_irq() Jinjie Ruan
2025-08-15  3:06 ` [PATCH v8 4/8] arm64: entry: Use preempt_count() and need_resched() helper Jinjie Ruan
2025-08-15  3:06 ` [PATCH v8 5/8] entry: Add arch_irqentry_exit_need_resched() for arm64 Jinjie Ruan
2025-08-21 16:24   ` Ada Couprie Diaz
2025-08-15  3:06 ` [PATCH v8 6/8] arm64: entry: Refactor preempt_schedule_irq() check code Jinjie Ruan
2025-08-21 16:25   ` Ada Couprie Diaz
2025-08-15  3:06 ` [PATCH v8 7/8] arm64: entry: Move arm64_preempt_schedule_irq() into __exit_to_kernel_mode() Jinjie Ruan
2025-08-15  3:06 ` [PATCH v8 8/8] arm64: entry: Switch to generic IRQ entry Jinjie Ruan
2025-08-17 21:14 ` [PATCH v8 0/8] arm64: entry: Convert to generic irq entry kemal
2025-08-18  3:43   ` Jinjie Ruan
2025-09-04 20:35 ` Catalin Marinas [this message]

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=aLn4LP7olb89TdbN@arm.com \
    --to=catalin.marinas@arm.com \
    --cc=ada.coupriediaz@arm.com \
    --cc=anshuman.khandual@arm.com \
    --cc=ardb@kernel.org \
    --cc=broonie@kernel.org \
    --cc=chenl311@chinatelecom.cn \
    --cc=kristina.martsenko@arm.com \
    --cc=leitao@debian.org \
    --cc=liaochang1@huawei.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mark.rutland@arm.com \
    --cc=mbenes@suse.cz \
    --cc=oleg@redhat.com \
    --cc=ruanjinjie@huawei.com \
    --cc=ryan.roberts@arm.com \
    --cc=sstabellini@kernel.org \
    --cc=will@kernel.org \
    --cc=xen-devel@lists.xenproject.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).