Re: [PATCH v2] arch: arm64: add early_param idle=<wfi|yield|nop>

From: Sudeep Holla

Date: Thu Jul 16 2026 - 06:59:02 EST


On Wed, Jul 15, 2026 at 03:24:03PM +0200, Yureka Lilian wrote:
> On 7/13/26 11:57, Sudeep Holla wrote:

[...]

> >
> > If WFI is replaced by NOP or YIELD, do we really need to save/restore
> > IRQ context used for pseudo-NMIs which may add some overhead ?
>
> There are optimizations, even in the ARM64_IDLE_WFI case, which could be
> done here, such as checking that an interrupt actually occurred before
> continuing (and repeating the wfi/yield/nop until this is the case). I would
> prefer not to do these optimizations in this patch series, and leave it as
> future work, because I don't understand all the implications at this point.
> Is this acceptable for you?
>

Sure, I am fine with that. Anyways it is left to the maintainers.

--
Regards,
Sudeep