From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.3 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 02F3DC43381 for ; Thu, 18 Feb 2021 09:59:19 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id B1BCF64E5F for ; Thu, 18 Feb 2021 09:59:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230263AbhBRJ4X (ORCPT ); Thu, 18 Feb 2021 04:56:23 -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-Google-Smtp-Source: ABdhPJwQzMQEQHeUP0SWs/zHqqmTL2W9ZrTk6OG29IwBDBRBEVQcu/fZ4fXs++FfQLe1eghBKfTGTA== 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