Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp7126575pxb; Thu, 18 Feb 2021 02:02:27 -0800 (PST) X-Google-Smtp-Source: ABdhPJxSkX2YeLoBvjS/W7rSgjH7MddEzVeJ1Z939BBifzSRdLg09FM+xtGX0uQgQJvhWTkFT2+P X-Received: by 2002:a05:6402:1a58:: with SMTP id bf24mr3278300edb.191.1613642547371; Thu, 18 Feb 2021 02:02:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613642547; cv=none; d=google.com; s=arc-20160816; b=mtZDfEMNcY28p6SP7MumC1h+Gt8T3/DYjbOdo5LIDWox0V1xqlZ7jf8hAosmofDypQ y0omPz+5atQIx/uB1UNhV3XRhCkk8MvB2gwdYI4odnfLzCtmje5VaH2bVgMAaTMRy1QA mywJY/zdiknGw9ycf4NmMBuw+f12JfV9J5ypwaAp79bTuZ7qHz84Bz310okJ28fEat9F lAyjp6F16kZGr1jlUkxEyrLRCl+jTpYn0yQW94O/dFsGsEh/kpCsBiNOPj2pmQfjlek0 p62zoRf79xEa99DwU7AZK9Mn+VcGTgorTpprBUqFu12X5ReDVkvg9qzxVb4doGPOn8Wx /Idw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=5V1dhMz49FBbfbFJI2tpYTF5MVo+s3zgUy0K5VPiR4o=; b=aqRWJ7ors10w49tX/ZDDs/hFEftbIh/kErjxPpxlrT0IwTE/0PWZN66sWSzVwFcbyP fSZW4cClCh91R270dsr9MO5YTEdiPQPZcBm9JFEAgGaJfc84XNpe/Uzoqx7gBJKww2+V T6fXkNHIJ/UzzdkaiidcUewa1rq5I525Ioz3A1JSZzhl4V1aXizNel0v0dIG4h4DMOKn k6n7BwO3nOJv5IiyTmm2jSMclXUUroZys+NnciDS+crP9mZ03nrLb4RW7FIhyqbOjBGy bwgK3ruyvfoDUUz0UlzMo97k7k/tDjDzUqdx6WBZ6h3uhkfYmIPXWh8vQOwhnwh8obzB u+4A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=SMYKL3rd; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a89si3429115ede.326.2021.02.18.02.02.03; Thu, 18 Feb 2021 02:02:27 -0800 (PST) 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=pass header.i=@linaro.org header.s=google header.b=SMYKL3rd; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230253AbhBRJ4F (ORCPT + 99 others); Thu, 18 Feb 2021 04:56:05 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58050 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231376AbhBRIta (ORCPT ); Thu, 18 Feb 2021 03:49:30 -0500 Received: from mail-pl1-x632.google.com (mail-pl1-x632.google.com [IPv6:2607:f8b0:4864:20::632]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6C01AC06178A for ; Thu, 18 Feb 2021 00:48:50 -0800 (PST) Received: by mail-pl1-x632.google.com with SMTP id e9so880502plh.3 for ; Thu, 18 Feb 2021 00:48:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=5V1dhMz49FBbfbFJI2tpYTF5MVo+s3zgUy0K5VPiR4o=; b=SMYKL3rdCwOCRSemhKAk0Bi3POUbxr8tuzIIcTwf4oF+HkrTWpgFFTZqK25UpiiGZg 7IAtw6NJR4wVDtdc/WRWmyGkNqkLm2CvO585jawp5SAfmzDrYDGZpWklrcNjBvHjPlD3 qbyFQqFkXmFQUqW7mJq1AEo7Jo6loSl7ygP2PQdGqR5VFXeuvhWrS88QRjukJnDcuLFt bKE0Fpr5n6fG6GX16PY98WH+crByHTNIgSvOtOJrT3Uuwb/GAvnxJpt9P04dr+wUCond 8o+UCRVEs0lAkN/MFPygRx1oWBPdB0jGRad8iCfjVU+KJ+XPykPEPj/Q8ijCE/mzKoZz 86Iw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=5V1dhMz49FBbfbFJI2tpYTF5MVo+s3zgUy0K5VPiR4o=; b=ml0lLoh7w8ZaHN4ZeGVpIZyYUuvEMvHyWrGboJOwh5MjBtZlWeiktM7wniKmdNYWud r9+W6gmZ+K9+GWhFd9qky/5Skowc+u5GCrkQnkxWlCDq59uYzM4sTkV1KE+yoHp75VFy vmjHK6UNi2MQbk/wATVvBtobSduq0tqKFNMKho6EGNAizulPuM5O88DBSXgSYbB/A2gj zWqTvdajduGwZqb+egXo+PPsLbFbIfCzBQH3+Z2P3gnYn8CSx91QhNus4/b+aEbG7kLt DIuq7KSCuwZ5lMk7UqQ25UdaaMfWQG7gx8/PhFKbnYkXJizu92HKfmETuLawXZfDRvSj 7TuA== X-Gm-Message-State: AOAM533EMY39ZB5k0K+r6CN2tIAxI24J/RY53Sec4XiUOfUWOdkueBuJ pCGgHjT36vBGc6NWARV2U7/a4A== X-Received: by 2002:a17:902:7b89:b029:e1:1b46:bcec with SMTP id w9-20020a1709027b89b02900e11b46bcecmr3321594pll.5.1613638129948; Thu, 18 Feb 2021 00:48:49 -0800 (PST) Received: from localhost ([122.172.59.240]) by smtp.gmail.com with ESMTPSA id u20sm4960335pjy.36.2021.02.18.00.48.48 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 18 Feb 2021 00:48:49 -0800 (PST) Date: Thu, 18 Feb 2021 14:18:47 +0530 From: Viresh Kumar To: Thara Gopinath Cc: rjw@rjwysocki.net, bjorn.andersson@linaro.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org Subject: Re: [PATCH] cpufreq: exclude boost frequencies from valid count if not enabled Message-ID: <20210218084847.743rttqwlmwyx6pz@vireshk-i7> References: <20210217000013.4063289-1-thara.gopinath@linaro.org> <20210217055029.a25wjsyoosxageti@vireshk-i7> <4c9d9d44-5fa5-3ae1-e9bb-45cf6521b764@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4c9d9d44-5fa5-3ae1-e9bb-45cf6521b764@linaro.org> User-Agent: NeoMutt/20180716-391-311a52 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 17-02-21, 10:32, Thara Gopinath wrote: > First of all, I am still unable to find this setting in the sysfs space. The driver needs to call cpufreq_enable_boost_support() for that. > Irrespective the ideal behavior here will be to change the cpufreq cooling > dev max state when this happens. Hmm.. recreating it every time boost frequency is enabled is like inviting trouble and it will be tricky. Maybe it can be done, I don't know.:) -- viresh