Re: [PATCH v7 07/10] arm64: define TIF_POLLING_NRFLAG
From: Will Deacon
Date: Tue Sep 03 2024 - 04:10:58 EST
On Fri, Aug 30, 2024 at 03:28:41PM -0700, Ankur Arora wrote:
> From: Joao Martins <joao.m.martins@xxxxxxxxxx>
>
> Commit 842514849a61 ("arm64: Remove TIF_POLLING_NRFLAG") had removed
> TIF_POLLING_NRFLAG because arm64 only supported non-polled idling via
> cpu_do_idle().
>
> To add support for polling via cpuidle-haltpoll, we want to use the
> standard poll_idle() interface, which sets TIF_POLLING_NRFLAG while
> polling.
>
> Reuse the same bit to define TIF_POLLING_NRFLAG.
>
> Signed-off-by: Joao Martins <joao.m.martins@xxxxxxxxxx>
> Signed-off-by: Mihai Carabas <mihai.carabas@xxxxxxxxxx>
> Reviewed-by: Christoph Lameter <cl@xxxxxxxxx>
> Signed-off-by: Ankur Arora <ankur.a.arora@xxxxxxxxxx>
> ---
> arch/arm64/include/asm/thread_info.h | 2 ++
> 1 file changed, 2 insertions(+)
Acked-by: Will Deacon <will@xxxxxxxxxx>
Will