]> Gentwo Git Trees - linux/.git/commit
cpuidle-haltpoll: condition on ARCH_CPUIDLE_HALTPOLL
authorAnkur Arora <ankur.a.arora@oracle.com>
Wed, 25 Sep 2024 23:24:20 +0000 (16:24 -0700)
committerChristoph Lameter <cl@gentwo.org>
Wed, 9 Oct 2024 02:06:42 +0000 (19:06 -0700)
commitf3795d4baaf2cd15138db07ebcea5b375d1e40fb
treed889cd0c2d9fc0d4182918c8d8dd9336dac256bc
parentbe0aaf45684e621351c443925c83acea34438ad6
cpuidle-haltpoll: condition on ARCH_CPUIDLE_HALTPOLL

The cpuidle-haltpoll driver and its namesake governor are selected
under KVM_GUEST on X86. KVM_GUEST in-turn selects ARCH_CPUIDLE_HALTPOLL
and defines the requisite arch_haltpoll_{enable,disable}() functions.

So remove the explicit dependence of HALTPOLL_CPUIDLE on KVM_GUEST,
and instead use ARCH_CPUIDLE_HALTPOLL as proxy for architectural
support for haltpoll.

Also change "halt poll" to "haltpoll" in one of the summary clauses,
since the second form is used everywhere else.

Signed-off-by: Ankur Arora <ankur.a.arora@oracle.com>
Acked-by: Will Deacon <will@kernel.org>
Tested-by: Misono Tomohiro <misono.tomohiro@fujitsu.com>
arch/x86/Kconfig
drivers/cpuidle/Kconfig