Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp751880imm; Wed, 29 Aug 2018 11:14:24 -0700 (PDT) X-Google-Smtp-Source: ANB0VdY9BaxYtL/0cizO0OZMoSuIpRubyIqbd5bn1mxntrx2Vopcv8zrGqJsG1HpHpFFz7Cf7mpY X-Received: by 2002:a63:60c1:: with SMTP id u184-v6mr6675071pgb.266.1535566464252; Wed, 29 Aug 2018 11:14:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535566464; cv=none; d=google.com; s=arc-20160816; b=GS+sMsNNxaT2zxozLy5/ujBYlLs3ILT/sRsUJe71y9DU5HyVA+tYfsAX/EiJfI3NI2 fzmPDjV+z6Cs5/PYSslUygEZf+n33cVp4RuGowt/jE4uHqEqcDZR+j00Z70Amf6kFkvU X4WwBKI1ILPdLK167huDbY2set7spKM6/4uZQ4UwPyLGGNNVfoZbzlb2J69+HH/0pZFn RXVbtA/Gxmd9pHy4fasOB/T9lz07k9YDKJJOiJhwMJFEcVHUV2a5d9ApCEA80eDw8hWw 0UC0I5wFXMCxSiB8+kPcOAJTqeuJ3qEpeC53JWmDxQBmNspsl6XMNSVEYPwT9UzmEds8 nSqQ== 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:arc-authentication-results; bh=7woql3FaI3QRpEtCaSFvRq28PNUfUNTSsf/Q6j+fTiU=; b=qrOeBsi8vCeGiLoyU7qBHWP1TGRIzj4cgTh/oKMiTauGC4p8etQcKIsSmcREgg3LiE XccGrmuoDcxFDhw2wQkxui2yAOofaMu7vPq5aRDSQ23JNh3UIF+kqBjZT5Y8wNP+b/v4 6OQyCdqcU6OMUxcPs5AVe6f38MOsGbP7RnUHOuzPSU25WFy1x27lGGv9CYouS67GWGEj ZHgmrDQNVr0GBj/oV6RHlZhWLSrwY3sdvhUSdBHlA0I+0qHdmgsyqZ52kWyahU3RYti8 GMGUBB2sRecXwX9mMzhpbKOykSnSMe9nYdLwe6XXEvVGBaHDWZnu2pbz8RZ//YNBRbEu 642Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=leA9ea0g; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 69-v6si4674185plc.388.2018.08.29.11.14.09; Wed, 29 Aug 2018 11:14:24 -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 header.i=@chromium.org header.s=google header.b=leA9ea0g; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728184AbeH2WKW (ORCPT + 99 others); Wed, 29 Aug 2018 18:10:22 -0400 Received: from mail-pg1-f196.google.com ([209.85.215.196]:36025 "EHLO mail-pg1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727399AbeH2WKW (ORCPT ); Wed, 29 Aug 2018 18:10:22 -0400 Received: by mail-pg1-f196.google.com with SMTP id d1-v6so2677247pgo.3 for ; Wed, 29 Aug 2018 11:12:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=7woql3FaI3QRpEtCaSFvRq28PNUfUNTSsf/Q6j+fTiU=; b=leA9ea0gORbhgWTuDHjb95UiF5d5/za19jEpzIMC4Sgo+S5YAIdYGIe6N2Po4B/2Qk DEGiU4Whx1Lg1UEm+oZKmaAkmjfQurQCOYiOjigyyJpaXsWqq9GAySQgCmt34KSG8sps nKaXPzaIKoNorKeX7e8JE2M/jPwmdk/jLJd+4= 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=7woql3FaI3QRpEtCaSFvRq28PNUfUNTSsf/Q6j+fTiU=; b=hevO0ex1n0420KUQFkcP7E1AA+lnighsvGX/d19fGMnWqwVT9jRtr+hh+t/5GgQWwR R9c15ppA/AOcXwcoeeEHsPfnW2NJ7QcpsiSdNaCfdz/OGjM9B9xKQUoqkWB94dUcHZPn hL8jNdl2E7rs6HU8M6yHR0u/xsmalb0GjWVHuuGGF8FT9zEc7o5YAFbRyZ8SY2DjF38Q bpOG6tF5vRmLWFU2/6DBQPZ12OFt/5edC4+/KgIEJI2ek7z5l6C+rqJdlyWflgw4E03S yNeJGVl0g3NiR7QA2GCaAN55aoVHfRUUGJhX54Y5jKKOZDrle9iRfJTK+ZwbRzza0kM1 1dPQ== X-Gm-Message-State: APzg51DAh/Qo2NwdxvlAbj+kqAylvEndN8hA0UCqorfpGOg/zft1jgcD 6HAKK4dgcl+gBfDLQ0IMbeCCjg== X-Received: by 2002:a65:464b:: with SMTP id k11-v6mr6576509pgr.448.1535566337751; Wed, 29 Aug 2018 11:12:17 -0700 (PDT) Received: from localhost ([2620:15c:202:1:b6af:f85:ed6c:ac6a]) by smtp.gmail.com with ESMTPSA id o10-v6sm18383911pfk.76.2018.08.29.11.12.16 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 29 Aug 2018 11:12:17 -0700 (PDT) Date: Wed, 29 Aug 2018 11:12:16 -0700 From: Matthias Kaehlcke To: Daniel Lezcano Cc: Amit Kucheria , linux-kernel@vger.kernel.org, rnayak@codeaurora.org, linux-arm-msm@vger.kernel.org, bjorn.andersson@linaro.org, andy.gross@linaro.org, dianders@chromium.org, edubezval@gmail.com, David Brown , Rob Herring , Mark Rutland , Catalin Marinas , Will Deacon , linux-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Taniya Das Subject: Re: [PATCH v1] arm64: dts: sdm845: enable tsens thermal zones Message-ID: <20180829181216.GD10879@google.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.2 (2017-12-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Aug 29, 2018 at 11:39:12AM +0200, Daniel Lezcano wrote: > On 18/07/2018 09:49, Amit Kucheria wrote: > > One thermal zone per cpu is defined > > The thermal zones are very close, especially when the CPUs belong to the > same 'cluster'. Very likely the temperature will propagate from one core > to another core, so when one core reaches the trip0, there is good > chance the other cores will be close and cross the trip0 threshold too. > > Having multiple thermal zones, one per CPU, may trigger an interrupts > storm with the passive polling timer delay. > > Does this board have a cooling device per CPU also ? The cpufreq driver is still under development: https://lore.kernel.org/patchwork/patch/966833/ . It currently doesn't register cooling devices, but since CPUs from a 'cluster' use the same cpufreq policy I think there will be one cooling device per 'cluster'.