[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1be8a3d4-52cc-c91c-2560-25e0af41dd5c@infradead.org>
Date: Wed, 22 Jul 2020 23:24:52 -0700
From: Randy Dunlap <rdunlap@...radead.org>
To: Abhishek Goel <huntbag@...ux.vnet.ibm.com>,
linux-pm@...r.kernel.org, linux-kernel@...r.kernel.org
Cc: rjw@...ysocki.net, daniel.lezcano@...aro.org, mpe@...erman.id.au,
ego@...ux.vnet.ibm.com
Subject: Re: [RFC] cpuidle : Add support for pseudo-cpuidle driver
On 7/22/20 11:13 PM, Abhishek Goel wrote:
> diff --git a/drivers/cpuidle/Kconfig b/drivers/cpuidle/Kconfig
> index c0aeedd66f02..1d73153a0e35 100644
> --- a/drivers/cpuidle/Kconfig
> +++ b/drivers/cpuidle/Kconfig
> @@ -71,6 +71,15 @@ config HALTPOLL_CPUIDLE
> before halting in the guest (more efficient than polling in the
> host via halt_poll_ns for some scenarios).
>
> +config TEST_CPUIDLE
> + tristate "cpuidle test driver"
> + default m
No default, please.
We don't enable unneeded drivers for the fun of it.
> + help
Indent the following help text with one tab + 2 spaces.
> + This option enables a testing cpuidle driver, which allows to user
allows the user [or a user]
> + to define custom idle states with their respective latencies and residencies.
> + This is useful for testing the behaviour of governors on different
> + set of idle states.
sets
> +
> endif
>
> config ARCH_NEEDS_CPU_IDLE_COUPLED
thanks.
--
~Randy
Powered by blists - more mailing lists