Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp3180693ybi; Mon, 29 Jul 2019 02:17:45 -0700 (PDT) X-Google-Smtp-Source: APXvYqxzZHlQ6j11FLITwBNgmxzms3I2YGfGlQpwylxCrDTy5STag3f29ghOr7OtPBBWo1yzMoo0 X-Received: by 2002:a17:902:42a5:: with SMTP id h34mr112477370pld.16.1564391865708; Mon, 29 Jul 2019 02:17:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564391865; cv=none; d=google.com; s=arc-20160816; b=DqYq5OXFjFPtb7j+oH0HneBhScdw+vG1glW/8VrKCR2spNfMLzBeD40veuFQIDR1CF TehTCxW2FrC5Jem3N+6gPagb7TxGWd3dwNcWvqeO4T3vaK6cHmewi2eZxya+2krJn1Yy ISMi8Ix0q/xQIVCywWwxnEcjkdkKPoomkK15hq2YjnGuviLP8trksgzabmydhDL7GL4y v4oy4t44mbYkO80qx2sN7ugXqbzpSW0r8YJljTVmv1cKrV82m8bDgP34wSG5TP7f8CSH JNvy6we68qQd1Q7YnYBGnRZ6FSAg06oTabLZqbAJd+SVj6cPWirgYOKNUgMt3reFP79d +xlQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=aWjc30PAr5EtkUPf3hYh6HgrtrFAH1ijstnAfRQ6dIs=; b=Cz62tLNcY812DRTfrMaIsTvXRIi1P2bwLvw1dnyUITqQXHCLD/0KJomp24LZwUWByJ Zrg5pfjTdh51hufNyMMOVI3ZISL70442b/YnweOOkMV7DwMAOlL1tAQxbYSSgL9kjCce Ur50/9ZjHyHapGDm0Jm+71p9Uon2VaObzaFYTnfk4orn8GQ5KOD1km7ac6wOEWObqe3y +xRMPX2sFJ8IwrfcoLte0ZsCmCFR+nJK8iQSXMsxxigMSsR5p46fL7eQpWM0iLxInMog 1sBiQgYQUo3iUYHcgNlk5qPfQ8kznkk1ekPM/G7jMtPMEEfQQ6gXQ03IY0/2k8moKh74 CHNw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@onstation.org header.s=default header.b=GGtx1ojS; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h15si23708425plr.23.2019.07.29.02.17.30; Mon, 29 Jul 2019 02:17:45 -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 (test mode) header.i=@onstation.org header.s=default header.b=GGtx1ojS; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727808AbfG2JHh (ORCPT + 99 others); Mon, 29 Jul 2019 05:07:37 -0400 Received: from onstation.org ([52.200.56.107]:34966 "EHLO onstation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725917AbfG2JHg (ORCPT ); Mon, 29 Jul 2019 05:07:36 -0400 Received: from localhost (c-98-239-145-235.hsd1.wv.comcast.net [98.239.145.235]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: masneyb) by onstation.org (Postfix) with ESMTPSA id 8B73C3E910; Mon, 29 Jul 2019 09:07:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=onstation.org; s=default; t=1564391255; bh=V1mGH9ikCIK/K3J8F2Qd4/cjZZvLv966i1sALH+R43k=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=GGtx1ojSV4tAj6m8rDAyxqCchGky5/dS1e6/1+SZW/FWuiRrLmc+saF7OsAJTOsg5 NoupnDprFoloMMgioKnPspzrJUC5ArAJe5R6HvjmYbLsObp0UyHvnGsFm41qfqBef8 DuJJMWWQWuahZrwiLZvZjJAKRDs5HXMdoq3eKe2o= Date: Mon, 29 Jul 2019 05:07:35 -0400 From: Brian Masney To: Amit Kucheria Cc: LKML , linux-arm-msm , Bjorn Andersson , Eduardo Valentin , Andy Gross , Andy Gross , Daniel Lezcano , Mark Rutland , Rob Herring , Zhang Rui , Marc Gonzalez , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Linux PM list Subject: Re: [PATCH 00/15] thermal: qcom: tsens: Add interrupt support Message-ID: <20190729090735.GA897@onstation.org> References: <20190726103605.GB3327@onstation.org> <20190726112954.GA3984@onstation.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Jul 27, 2019 at 12:58:54PM +0530, Amit Kucheria wrote: > On Fri, Jul 26, 2019 at 4:59 PM Brian Masney wrote: > > On Fri, Jul 26, 2019 at 04:40:16PM +0530, Amit Kucheria wrote: > > > How well does cpufreq work on 8974? I haven't looked at it yet but > > > we'll need it for thermal throttling. > > > > I'm not sure how to tell if the frequency is dynamically changed during > > runtime on arm. x86-64 shows this information in /proc/cpuinfo. Here's > > the /proc/cpuinfo on the Nexus 5: > > Nah. /proc/cpuinfo won't show what we need. > > Try the following: > > $ grep "" /sys/devices/system/cpu/cpufreq/policy?/* > > More specifically, the following files have the information you need. > Run watch -n1 on them. > > $ grep "" /sys/devices/system/cpu/cpufreq/policy?/scaling_*_freq There's no cpufreq directory on msm8974: # ls -1 /sys/devices/system/cpu/ cpu0 cpu1 cpu2 cpu3 cpuidle hotplug isolated kernel_max modalias offline online possible power present smt uevent I'm using qcom_defconfig. Brian