Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp379269ybg; Wed, 3 Jun 2020 03:12:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzPYmsYnxzsNpCLNaWHkersOnII3dcqqb1YeafVtkYCK533eB1xcXWnGLoDmyzA3/CI4xIr X-Received: by 2002:a17:906:c837:: with SMTP id dd23mr27359563ejb.272.1591179158787; Wed, 03 Jun 2020 03:12:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591179158; cv=none; d=google.com; s=arc-20160816; b=hOdI1MiN3+dAic/rn2wzxRVZk51nXygzEinJKDhJTRuFhAm63fFSN8hWeaMF7zNN1I 5OHtiQunDNEQh5XpwFnvGHG1m0EZ1SrdKju5sHV0D0W4pPn4CL//AYcZL4exlclamF4v XNJvk5dl8vSUe+kEYu09406jm4Uu6+Nfa37iBprm/f4oJlD8vaBDh1MWr8erx7WgjYYO 3NHI5F0kd+E08AXRLI/Svo2e5Vx3Wnfdr/WAk26poTDEl08l4Upb0wHUYnfReF9KzTpw iFW/rFf2eqAI2PqfrvqLOslPSegwuGvPh3O0kGJJzlECSVFkpPDFbofv2Qp6Efgsahve WF5g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=NMA8UswHoR10ZkKb/xOBjfFah7opSPUF3++8T+IfxFs=; b=UVrRBPsLSENnOVC/3iAvOeSrzZfN1+9lhITA2q5u2ZyHlYEA3fvP451s/NHPVnc6TZ iTM/6TOiap69dZ02CIi/awZqrm1E8yoKO5EJk4uZLTpxCWI4RGV+ag+OqbUfuL0mdEvD BLdvRf/CTbl6L2w1TtbnllB5WI50Amt4YZi28RWd0C4AfDyo2ReRQKEWJ5ILSX8a0Y/g hfgjlrAe8X2i5bjI+PpyhgcU4MqCSsqOM4Lx4rK0ExG1Bvj0UiTdX3bEcdOgI+L2QjhW 4rjIVhgA/FmFSvTVFfuUr7CH4D8sczM9npCnck3sTYvpPRGWvps80i/WaxCQwg8xyoRD rvSA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=bbY2Dpz1; 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 s12si247150ejx.234.2020.06.03.03.12.15; Wed, 03 Jun 2020 03:12:38 -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=pass header.i=@linaro.org header.s=google header.b=bbY2Dpz1; 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 S1726597AbgFCKKP (ORCPT + 99 others); Wed, 3 Jun 2020 06:10:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44256 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725881AbgFCKKO (ORCPT ); Wed, 3 Jun 2020 06:10:14 -0400 Received: from mail-pf1-x42d.google.com (mail-pf1-x42d.google.com [IPv6:2607:f8b0:4864:20::42d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 039BBC05BD1E for ; Wed, 3 Jun 2020 03:10:14 -0700 (PDT) Received: by mail-pf1-x42d.google.com with SMTP id z64so1316293pfb.1 for ; Wed, 03 Jun 2020 03:10:13 -0700 (PDT) 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=NMA8UswHoR10ZkKb/xOBjfFah7opSPUF3++8T+IfxFs=; b=bbY2Dpz1nYTTpJmtv4MB4qZePaCtWdI2q0cWL16Ks+j0wZKR8/5Ks5hu4TPVUai1sr RYBRPO4yT9Wwkur4+WZRMT1CZ3rIvVrNEiparBSnRiDOx4HgDLldQ26qvGo2mgR+70MW +qD6UM9LZC1GqAPuvv3Om2jH99di6UMYJtvICVhDyQ4cVkXchRRpGdZhQT+FMPbg0Vif oDnFjOudHWJwuHzUq18DbSfR/TV442MJ2N/xa6Ch/Uj4O27wgsOLZVlTXb2zyu5hALVQ c7WL7a9RDlgB9qnUGHusQ+Ygqo9gzRZVMX/faO5lc1xArPgKQdwoA24EsDHFVvKxrTDp QyyQ== 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=NMA8UswHoR10ZkKb/xOBjfFah7opSPUF3++8T+IfxFs=; b=OrazwTabj3Y88IygtC+FaCTK1WL+dV2slDyc4euOh34HYSIjo+TuJw83AX5HHVCZcQ nStlomE2sBK7p+FxfD/C8IdQ8QUClxs3J6Dw50pRq9YLK9iSfyE4ufHT/o6htBuk19UX tHFKjwcx1hJxmdnMhmgrIz8ELfYuwjT9S15+si/rACIFeYNDckJecm27vbYDdnW5bVKH QIzb5BATnitC12zIexhiLDqttpILBQMXHjERzKWkCZYtWMEt3WfYLmFEYZp9jhlNfjCT rblaMw+ZB8RHwp0kmsl5hk/yqSDCL7YCBJ6isfy1qEZDgxCLNAtIs5kl72zTIRUX6cfo hrxA== X-Gm-Message-State: AOAM530XfS149jKbu4QFkZEVrBtxX+LTCq+/gq7wvVuUyH7URD0VW86+ ZauaDxoUeuL1PhPYxftcmUYR1A== X-Received: by 2002:aa7:96d7:: with SMTP id h23mr14182341pfq.320.1591179013326; Wed, 03 Jun 2020 03:10:13 -0700 (PDT) Received: from localhost ([122.172.62.209]) by smtp.gmail.com with ESMTPSA id w6sm1947722pjy.15.2020.06.03.03.10.11 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 03 Jun 2020 03:10:12 -0700 (PDT) Date: Wed, 3 Jun 2020 15:40:10 +0530 From: Viresh Kumar To: Sudeep Holla Cc: Xiongfeng Wang , rjw@rjwysocki.net, guohanjun@huawei.com, ionela.voinescu@arm.com, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [Question]: about 'cpuinfo_cur_freq' shown in sysfs when the CPU is in idle state Message-ID: <20200603101010.alijrfmte2c6xv5c@vireshk-i7> References: <20200603075200.hbyofgcyiwocl565@vireshk-i7> <20200603100727.GB7259@bogus> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200603100727.GB7259@bogus> User-Agent: NeoMutt/20180716-391-311a52 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 03-06-20, 11:07, Sudeep Holla wrote: > But I have another question. If we can detect that CPPC on some platforms > rely on CPU registers(I assume FFH registers here and not system/io/... > type of GAS registers), can we set dvfs_on_any_cpu(can't recall exact > flag name) to false if not already done to prevent such issues. Or I am > talking non-sense as it may be applicable only for _set operation and Yes, non-sense :) > not _get. -- viresh