[PATCH v7 07/10] arm64: define TIF_POLLING_NRFLAG
Will Deacon
will at kernel.org
Tue Sep 3 01:10:40 PDT 2024
On Fri, Aug 30, 2024 at 03:28:41PM -0700, Ankur Arora wrote:
> From: Joao Martins <joao.m.martins at oracle.com>
>
> 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 at oracle.com>
> Signed-off-by: Mihai Carabas <mihai.carabas at oracle.com>
> Reviewed-by: Christoph Lameter <cl at linux.com>
> Signed-off-by: Ankur Arora <ankur.a.arora at oracle.com>
> ---
> arch/arm64/include/asm/thread_info.h | 2 ++
> 1 file changed, 2 insertions(+)
Acked-by: Will Deacon <will at kernel.org>
Will
More information about the linux-arm-kernel
mailing list