2017-04-26 10:09:54

by Naresh Kamboju

[permalink] [raw]
Subject: [PATCH v2 resend] selftests: create cpufreq kconfig fragments

From: Naresh Kamboju <[email protected]>

For the better test coverage of cpufreq driver code these extra configurations
are needed. Enable cpufreq governors and stats.

Signed-off-by: Naresh Kamboju <[email protected]>
Acked-by: Viresh Kumar <[email protected]>
---
tools/testing/selftests/cpufreq/config | 15 +++++++++++++++
1 file changed, 15 insertions(+)
create mode 100644 tools/testing/selftests/cpufreq/config

diff --git a/tools/testing/selftests/cpufreq/config b/tools/testing/selftests/cpufreq/config
new file mode 100644
index 000000000000..27ff72ebd0f5
--- /dev/null
+++ b/tools/testing/selftests/cpufreq/config
@@ -0,0 +1,15 @@
+CONFIG_CPU_FREQ=y
+CONFIG_CPU_FREQ_STAT=y
+CONFIG_CPU_FREQ_GOV_POWERSAVE=y
+CONFIG_CPU_FREQ_GOV_USERSPACE=y
+CONFIG_CPU_FREQ_GOV_ONDEMAND=y
+CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y
+CONFIG_CPU_FREQ_GOV_SCHEDUTIL=y
+CONFIG_DEBUG_RT_MUTEXES=y
+CONFIG_DEBUG_PI_LIST=y
+CONFIG_DEBUG_SPINLOCK=y
+CONFIG_DEBUG_MUTEXES=y
+CONFIG_DEBUG_LOCK_ALLOC=y
+CONFIG_PROVE_LOCKING=y
+CONFIG_LOCKDEP=y
+CONFIG_DEBUG_ATOMIC_SLEEP=y
--
2.11.0


2017-04-27 14:55:28

by Shuah Khan

[permalink] [raw]
Subject: Re: [PATCH v2 resend] selftests: create cpufreq kconfig fragments

On 04/26/2017 04:09 AM, [email protected] wrote:
> From: Naresh Kamboju <[email protected]>
>
> For the better test coverage of cpufreq driver code these extra configurations
> are needed. Enable cpufreq governors and stats.
>
> Signed-off-by: Naresh Kamboju <[email protected]>
> Acked-by: Viresh Kumar <[email protected]>

Applied to linux-kselftest next for 4.12-rc1

thanks,
-- Shuah