Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp4345652pxb; Mon, 27 Sep 2021 15:07:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyIpfsObpDqORQsGtVxYID9OEgYU28MAF4sVB0u7kNx56UW64J9rRyyOIQnl1CUQUIzcX42 X-Received: by 2002:a17:906:b052:: with SMTP id bj18mr2814240ejb.55.1632780445292; Mon, 27 Sep 2021 15:07:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632780445; cv=none; d=google.com; s=arc-20160816; b=tCujOUNCMBoI8XKO1ZwPWsXDGvGtumKn8Inz2dpWDdREGODQhJMSq/lVqoYUDtvj/k CQezyEolQ3LlP4Dz4fHwIowHvnxO5L5vkFNSxHORKCe3BbRWLR2kBkG4Uc716ElZDrmJ +qimUHfSDy4PWwQK5ti7N3LJLLqQXeaR3woD7qQpJAD3N1AmWZFLAaE+UtFOx1D6iwLL fCfzdr/4xiW3LxURen8N6kIh9DL+01nx3XH59oxjbiFjx3PBoJyEzlr7074rxmStiRDK tu60Sv+TuFsEgfpI0XZNInv1jKHfIaLytbs+SmTMHLua8fG/lSh3yhrdlz/kHuDnal78 BOxg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :mime-version:user-agent:date:message-id:subject:from:cc:to :in-reply-to:dkim-signature; bh=76O8WApWZLvvT9G+XCfOcuQCiQOca2oZUFcluWt6zrM=; b=Lxr1zi7V0tlsMV4DLAfsY45BlhvM69YXpGUlW7JWavVADROz2K4Cnmw9UHhkIbeYEx jzvksQ7nb4wla4RpgUv4zWz/uKX/0+DLQwl5bnFtYTGqzQ8ktIM7IaBxSZ8Dy0XL+obK ZK1HwGWMztfzs76q5Cq8PydN5X6o39uIMl7tKBx7xCo5WMvCS77YQeWKq5kXaXUI2RCO jQw8+uQt7sHicZruIKqClNxfYzGmFV1M4WM58yS7dEnzS7/eVdUeF6IiBBdAU4JoSypJ QDnrRtVnEsQeWO55C7NTr8UdAzZMuA9VB95Y1SKyrIiUzfUy6KzX9z99X/y/QHFzUpCM 49Dg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@igalia.com header.s=20170329 header.b=qYU02jar; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 6si19133757ejc.751.2021.09.27.15.07.01; Mon, 27 Sep 2021 15:07:25 -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=@igalia.com header.s=20170329 header.b=qYU02jar; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238355AbhI0WHP (ORCPT + 99 others); Mon, 27 Sep 2021 18:07:15 -0400 Received: from fanzine.igalia.com ([178.60.130.6]:43271 "EHLO fanzine.igalia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238069AbhI0WGf (ORCPT ); Mon, 27 Sep 2021 18:06:35 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=igalia.com; s=20170329; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Date:Message-ID:Subject:From:Cc:To:In-Reply-To; bh=76O8WApWZLvvT9G+XCfOcuQCiQOca2oZUFcluWt6zrM=; b=qYU02jarWH/Q81NUeqRbHk0JowJIp3xSc9ELm8wFxzLQzOEf4poDyieVahX4bbbyqBAZoucMFOKPu9oMwmJwa2TXoL/+oaZH0ZCGcaWvlDThhTJle1ACAVifr2BBKqPRcotX2FoeyTzMbXgOcw8lK4tujOiSCp9Fpzkk2lAiVJwCWxjm160HRHHhle1+HAb0T1FzPPjtQZHVkwBir2gojO824L+oZNjdU12snLjbIN3KSZqbeVvyJPYSKYLm5k48lNc9/Zm2ptjP9t7ig8BEcHnVWtSct9iS5YatiiL5djVoeWr1Fm51p6McVrvhQqSWJIZGT70su8jeZ6BkINpYVw==; Received: from [177.95.15.66] (helo=[192.168.1.64]) by fanzine.igalia.com with esmtpsa (Cipher TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim) id 1mUyRW-0008Rw-8w; Mon, 27 Sep 2021 23:45:46 +0200 In-Reply-To: To: y.oudjana@protonmail.com Cc: agross@kernel.org, bjorn.andersson@linaro.org, devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, robh+dt@kernel.org, gpiccoli@igalia.com, kernel@gpiccoli.net, loic.poulain@linaro.org, konrad.dybcio@somainline.org From: "Guilherme G. Piccoli" Subject: Re: [PATCH] arm64: dts: qcom: msm8996: Add CPU cooling suppor,t Message-ID: <5ccc4ea8-e000-b6b9-0781-dcde814eda96@igalia.com> Date: Mon, 27 Sep 2021 18:45:29 -0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Yassine, thanks for the patch! I was doing some experiments with a dragonboard 820-based board, and without your patch, a CPU benchmark can quickly cause overheating - throttling mechanism doesn't start and we get a FW reset to a bad state (likely a HW protection mechanism). I noticed that a similar patch including cooling maps is present in Linaro's qcom tree [0], and it was submitted upstream [1], but there was a re-submission [2] by Konrad that was merged and dropped the thermals part. Based on some threads I read, it seems a FW lockup was detected with the complete patch? I'm not sure, so I'm looping Konrad / Loic / Bjorn here, to understand better what made this portion of the patch to be dropped. Anyway, I think worth to mention this in your commit message Yassine, including perhaps a fixes tag like: Fixes: 90173a954a22 ("arm64: dts: qcom: msm8996: Add CPU opps"). Also, I'm not sure why there was no response here or why it wasn't merged, but if it helps, please have my: Tested-by: Guilherme G. Piccoli Thanks, Guilherme [0] https://git.linaro.org/landing-teams/working/qualcomm/kernel.git/commit/?h=release/qcomlt-4.14&id=2274c48c671 [1] https://patchwork.kernel.org/project/linux-arm-msm/patch/1595253740-29466-6-git-send-email-loic.poulain@linaro.org/ [2] https://lore.kernel.org/linux-arm-msm/20210527194455.782108-2-konrad.dybcio@somainline.org/