From patchwork Wed Apr 26 10:09:37 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Naresh Kamboju X-Patchwork-Id: 98236 Delivered-To: patch@linaro.org Received: by 10.140.109.52 with SMTP id k49csp245565qgf; Wed, 26 Apr 2017 03:09:57 -0700 (PDT) X-Received: by 10.99.2.88 with SMTP id 85mr31282630pgc.23.1493201397069; Wed, 26 Apr 2017 03:09:57 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p19si24894829pgd.368.2017.04.26.03.09.56; Wed, 26 Apr 2017 03:09:57 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2997295AbdDZKJz (ORCPT + 16 others); Wed, 26 Apr 2017 06:09:55 -0400 Received: from mail-pf0-f173.google.com ([209.85.192.173]:34375 "EHLO mail-pf0-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1435364AbdDZKJp (ORCPT ); Wed, 26 Apr 2017 06:09:45 -0400 Received: by mail-pf0-f173.google.com with SMTP id c198so40043358pfc.1 for ; Wed, 26 Apr 2017 03:09:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=3o5Jz+IKqiz5oOAZrVrOJkot2CzJ6aI9+eDeQLdnpWs=; b=Wp4An1u17XSKGOBcBDK6CNL6TRbnyfcC0F3ADN6bjibhNYlc1MCak9bzv9g19PasjN vcntC0jllCQd2tnrC2++y/jOb+uCqyCS5g+1L3Gue5mDkbImGJJqeDlWMvHvpK3AYJoF oPqI0MVdS9EZc2YX19raOeiEUjGG8lfMgzhVg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=3o5Jz+IKqiz5oOAZrVrOJkot2CzJ6aI9+eDeQLdnpWs=; b=B0C9+clZ3dg1pD44NMEJ4fDkMMAbjxprUV6ZSEGuDQEUQz2YACqD0u9WcEt1fR68Tv WxQNhbJde7vS62sf+cgvVam/UoXwjbeC1HRz7WKO8YimC4TBFlW1aWavp118+EcbkYdt zHLnSYNMv7Hsr6zKYcpOaeWt0NFh+GEk6+9glI5/0/wj/Iiq13mOC9GlgqaWEisz4MSa owufKij0e4Q+1A5wqdvHLrwK1qrbwHDt8H5SKNIeZspD3YbQn/Q/iJRrmteDLg7yFaeK nG1sT9fKt/eJGMA4yfNQIptDM4VGek9y9vj5oMbqFl7VzuueD7gNLzi2YaVhFhU2UVUt Ri3g== X-Gm-Message-State: AN3rC/6WP8YhKRtN4nF3laI9Q69qhTUxtSmWXyQNCq3W99ylQEJ32m4i XFJ0gvobu60nvj1V X-Received: by 10.84.138.1 with SMTP id 1mr42157786plo.29.1493201384807; Wed, 26 Apr 2017 03:09:44 -0700 (PDT) Received: from linaro.domain.name ([49.156.159.34]) by smtp.gmail.com with ESMTPSA id u15sm24053708pgc.66.2017.04.26.03.09.41 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 26 Apr 2017 03:09:43 -0700 (PDT) From: naresh.kamboju@linaro.org To: shuahkh@osg.samsung.com, linux-kselftest@vger.kernel.org Cc: viresh.kumar@linaro.org, fathi.boudra@linaro.org, linux-kernel@vger.kernel.org, milosz.wasilewski@linaro.org Subject: [PATCH v2 resend] selftests: create cpufreq kconfig fragments Date: Wed, 26 Apr 2017 15:39:37 +0530 Message-Id: <1493201377-22448-1-git-send-email-naresh.kamboju@linaro.org> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Naresh Kamboju For the better test coverage of cpufreq driver code these extra configurations are needed. Enable cpufreq governors and stats. Signed-off-by: Naresh Kamboju Acked-by: Viresh Kumar --- tools/testing/selftests/cpufreq/config | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 tools/testing/selftests/cpufreq/config -- 2.11.0 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