Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp1089779ybh; Wed, 22 Jul 2020 23:25:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwXpsNFkjbC/CYilNmjEgi2glr4HbkxTuyKMdK7TgTITIkm4Zc2lsqB9XustG4QAmMSA8Hp X-Received: by 2002:aa7:d0c5:: with SMTP id u5mr2503143edo.163.1595485548242; Wed, 22 Jul 2020 23:25:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595485548; cv=none; d=google.com; s=arc-20160816; b=zQ6MxHB/yWJKHqRf3PcccdIvCZBX9of2QlZHHK23vYvY7qgTQWQqh8C3IaQDl0bRBA 38/xszt/rqkmdmouzpRN7yQBs2d8ehu0nOli54m2UUnej5gfIH78huCxxFvhJeHRyFdV URZGYercGgz8rvyJMRiXtl8HsL4S6zMUfzjWSOIXR/xM9iM+msTYfBl5FMKQJAAOe29t 22O8oUstXA3J+C9v9T0HBAi32cpZyc8YA1P2bDUNEHR7jvMu4RtEKXvCJgAbq04VR6hS YvePubIX66bMFiR1ScOEmJBsSouvDFuJn077ROl9ccbhg6yui/Q2yM53f3HE/i+iPd9e CzWA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=pjr5iP/6E7OeZxRztKUO1s2/ZLCAyytKnlW4zOJ8uI4=; b=KlNhlchthT9NxRr/2PX88KJSfIL1zTUqoaJ4bpKHSTxcAIZZFM8xHxHapEWWq+OhMy fg/yh9lhZMKfPZEGrXKoG9IXn6KWubacqqABCKNGpZ1kss6Qg0rtpL56Am1n5t0xtPbw ttgiqAU2KwqA4AM55Q7AnLwcajvgc6P+lPIg/RkuyCgjGMRVRDU0fAIKs/ahl0t/Gvyk eRyuXCLw6MGn2f8kSbLlY/UUzJoLbW5meehZb8Hr2l2L8djEsPjgMmr4Epi96cJ4VIQ6 5tSz6uaYTWhTheHnvG/FjuIFTwO2GejntS/qp7WIjjUUergXDlsAXG+Yt+Fy7n020TdD b2dw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b=iDYVlM2Z; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m15si1471812ejr.38.2020.07.22.23.25.24; Wed, 22 Jul 2020 23:25:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b=iDYVlM2Z; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726304AbgGWGZE (ORCPT + 99 others); Thu, 23 Jul 2020 02:25:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58958 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725849AbgGWGZE (ORCPT ); Thu, 23 Jul 2020 02:25:04 -0400 Received: from merlin.infradead.org (merlin.infradead.org [IPv6:2001:8b0:10b:1231::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 27A6AC0619DC; Wed, 22 Jul 2020 23:25:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To:Subject:Sender :Reply-To:Content-ID:Content-Description; bh=pjr5iP/6E7OeZxRztKUO1s2/ZLCAyytKnlW4zOJ8uI4=; b=iDYVlM2ZhdXKhXn0ZvMLEHaUJw laOWedbmPiFJHZTC0btCQKGCljV6+OT+V9tEG07dZfQIxGoUt6xEO6H+TIv7+aCZeAljHRJG/S3rr 4nwz8MZV+M7YFBXMDnacBGBCKfcHNGghJ+9OlcxBwEfgWfrRHridy/Ly5uYn459gazYqHAmpWba+8 5kCNpwDiTPOHNdH0gy/6FF5Om9RgjXAqowauFNQqUB/QoSAuasEc7zxiv5w7A3LyvlsdunQFYmCIX 769JTlvalr2v1PGKHBfobKSH0RC8/ySucxDcpA232H6ec9B+kqHzAuNOfAQv4kg8tHL2P7BoV54zh byFp+//A==; Received: from [2601:1c0:6280:3f0::19c2] by merlin.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1jyUf3-00065W-Dr; Thu, 23 Jul 2020 06:24:57 +0000 Subject: Re: [RFC] cpuidle : Add support for pseudo-cpuidle driver To: Abhishek Goel , linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org Cc: rjw@rjwysocki.net, daniel.lezcano@linaro.org, mpe@ellerman.id.au, ego@linux.vnet.ibm.com References: <20200723061339.9747-1-huntbag@linux.vnet.ibm.com> From: Randy Dunlap Message-ID: <1be8a3d4-52cc-c91c-2560-25e0af41dd5c@infradead.org> Date: Wed, 22 Jul 2020 23:24:52 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <20200723061339.9747-1-huntbag@linux.vnet.ibm.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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