Thread (16 messages) 16 messages, 2 authors, 2024-09-03

Re: [PATCH v7 07/10] arm64: define TIF_POLLING_NRFLAG

From: Will Deacon <will@kernel.org>
Date: 2024-09-03 08:10:49
Also in: kvm, linux-pm, lkml

On Fri, Aug 30, 2024 at 03:28:41PM -0700, Ankur Arora wrote:
From: Joao Martins <redacted>

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 <redacted>
Signed-off-by: Mihai Carabas <redacted>
Reviewed-by: Christoph Lameter <redacted>
Signed-off-by: Ankur Arora <redacted>
---
 arch/arm64/include/asm/thread_info.h | 2 ++
 1 file changed, 2 insertions(+)
Acked-by: Will Deacon <will@kernel.org>

Will
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help