[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH -next v4 15/19] entry: Add arch irqentry_exit_need_resched() for arm64
- To: Jinjie Ruan <ruanjinjie@xxxxxxxxxx>, oleg@xxxxxxxxxx, linux@xxxxxxxxxxxxxxx, will@xxxxxxxxxx, mark.rutland@xxxxxxx, catalin.marinas@xxxxxxx, sstabellini@xxxxxxxxxx, maz@xxxxxxxxxx, peterz@xxxxxxxxxxxxx, luto@xxxxxxxxxx, kees@xxxxxxxxxx, wad@xxxxxxxxxxxx, akpm@xxxxxxxxxxxxxxxxxxxx, samitolvanen@xxxxxxxxxx, arnd@xxxxxxxx, ojeda@xxxxxxxxxx, rppt@xxxxxxxxxx, hca@xxxxxxxxxxxxx, aliceryhl@xxxxxxxxxx, samuel.holland@xxxxxxxxxx, paulmck@xxxxxxxxxx, aquini@xxxxxxxxxx, petr.pavlu@xxxxxxxx, ruanjinjie@xxxxxxxxxx, viro@xxxxxxxxxxxxxxxxxx, rmk+kernel@xxxxxxxxxxxxxxx, ardb@xxxxxxxxxx, wangkefeng.wang@xxxxxxxxxx, surenb@xxxxxxxxxx, linus.walleij@xxxxxxxxxx, yangyj.ee@xxxxxxxxx, broonie@xxxxxxxxxx, mbenes@xxxxxxx, puranjay@xxxxxxxxxx, pcc@xxxxxxxxxx, guohanjun@xxxxxxxxxx, sudeep.holla@xxxxxxx, Jonathan.Cameron@xxxxxxxxxx, prarit@xxxxxxxxxx, liuwei09@xxxxxxxx, dwmw@xxxxxxxxxxxx, oliver.upton@xxxxxxxxx, kristina.martsenko@xxxxxxx, ptosi@xxxxxxxxxx, frederic@xxxxxxxxxx, vschneid@xxxxxxxxxx, thiago.bauermann@xxxxxxxxxx, joey.gouly@xxxxxxx, liuyuntao12@xxxxxxxxxx, leobras@xxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx, linux-arm-kernel@xxxxxxxxxxxxxxxxxxx, xen-devel@xxxxxxxxxxxxxxxxxxxx
- From: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
- Date: Mon, 28 Oct 2024 19:05:09 +0100
- Delivery-date: Mon, 28 Oct 2024 18:05:19 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
On Fri, Oct 25 2024 at 18:06, Jinjie Ruan wrote:
> As the front patch 6 ~ 13 did, the arm64_preempt_schedule_irq() is
Once this series is applied nobody knows what 'front patch 6 ~ 13' did.
> same with the irq preempt schedule code of generic entry besides those
> architecture-related logic called arm64_irqentry_exit_need_resched().
>
> So add arch irqentry_exit_need_resched() to support architecture-related
> need_resched() check logic, which do not affect existing architectures
> that use generic entry, but support arm64 to use generic irq entry.
Simply say:
ARM64 requires an additional whether to reschedule on return from
interrupt.
Add arch_irqentry_exit_need_resched() as the default NOOP
implementation and hook it up into the need_resched() condition in
raw_irqentry_exit_cond_resched().
This allows ARM64 to implement the architecture specific version for
switchting over to the generic entry code.
That explains things completely independently. Hmm?
Thanks,
tglx
|