]> Gentwo Git Trees - linux/.git/commit
governors/haltpoll: drop kvm_para_available() check
authorJoao Martins <joao.m.martins@oracle.com>
Wed, 25 Sep 2024 23:24:19 +0000 (16:24 -0700)
committerChristoph Lameter <cl@gentwo.org>
Wed, 9 Oct 2024 02:06:42 +0000 (19:06 -0700)
commitbe0aaf45684e621351c443925c83acea34438ad6
tree261358106e5440d8d2c9974f8629ace9b263f213
parent49bedc0dc565d7f50abf00ba06cfdb1989d22763
governors/haltpoll: drop kvm_para_available() check

The haltpoll governor is selected either by the cpuidle-haltpoll
driver, or explicitly by the user.
In particular, it is never selected by default since it has the lowest
rating of all governors (menu=20, teo=19, ladder=10/25, haltpoll=9).

So, we can safely forgo the kvm_para_available() check. This also
allows cpuidle-haltpoll to be tested on baremetal.

Signed-off-by: Joao Martins <joao.m.martins@oracle.com>
Signed-off-by: Mihai Carabas <mihai.carabas@oracle.com>
Acked-by: Rafael J. Wysocki <rafael@kernel.org>
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>
drivers/cpuidle/governors/haltpoll.c