Received: by 2002:a05:7412:9c07:b0:fa:6e18:a558 with SMTP id lr7csp811057rdb; Sun, 28 Jan 2024 10:00:38 -0800 (PST) X-Google-Smtp-Source: AGHT+IFnq/LiFwJXzkLH8DE4By8mo/83D8YsMIfoKYjAln4Ij2N4NztShJ8gZrbGZu6hceq/mbny X-Received: by 2002:a05:6214:529c:b0:68c:4a47:d31d with SMTP id kj28-20020a056214529c00b0068c4a47d31dmr1162084qvb.45.1706464838031; Sun, 28 Jan 2024 10:00:38 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706464838; cv=pass; d=google.com; s=arc-20160816; b=0NKZdNdzpqJ7fX6QW+CrmvKCmA493wJcnOseAciG/tsGPO1Eh7puuQ09r7U7g2DJZw FTS5sZb/ywAMkJ5AK6BNDNpx12ZGswAW6hXfIXHHoeL73KHRHOGnDwJsaySLjkQZuOuL OcVwxlIJCVOdGAo2kyK6gaWPASUHBguBT5qbBbg6hAEm2AOy7Py4OQd7qjIQRwKPkhy1 qwCBsw0IbLouOPjULOO1LUEqA/VRlabBUYqMVgxek4VgKGBV7VI5bM5PEKONBgVZT93D nG/AcBHfoyl9y2gpCpB8lEy2iXqdEl+R+ok5wzf+UxncMdEn0k62eGc5rfRjCo+QTm26 1c8Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:date:dkim-signature; bh=WL/g4f4WHLlMhfwPy4LMGJUOyvw0KMUJeiF5vEBQjdM=; fh=3lRHhM9keEMxtpk8C/i8udXIvEzqBNwOGOa+gkV4Kus=; b=Molti736Wyh76BKF3JNideeSOzOPyeddyTlVkneuZJ54H/pFeHFr0J8P9PbaqOrs3C 0D1DyAWYfROY2lWbGw7HP/OQ+0EWSM3mizkM3lEv5uLoT55QfctPESe2TkRFsDUSPjqQ y+2DJAHwKDDN9LxLc21Ixbp7adirma6cD4T7W9moy3uZs9HzdhmXlAgf28oPMmUkMrzb IykKNWQy3Y4RjlZSHkwJTCrQ9N7fbBr4Sv8B9Oz8dmYqBZWMKMtZQO+1VlEGPPtxurde OzNv7Nm3ux38me3gWb3WTqUQ5yIbk4nruIf3t6EBaT93l/+Ibx8VBrR6rltTkNTWE3OH Zk9A== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=FsT1GXoX; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-41863-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-41863-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id m8-20020a0562141bc800b0068179773b51si5957689qvc.550.2024.01.28.10.00.37 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 28 Jan 2024 10:00:38 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-41863-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=FsT1GXoX; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-41863-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-41863-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id BF0441C21AB1 for ; Sun, 28 Jan 2024 18:00:37 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0EDAC2E419; Sun, 28 Jan 2024 18:00:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="FsT1GXoX" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 323652D044; Sun, 28 Jan 2024 18:00:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706464830; cv=none; b=jv8OSSoQSL8gzKVRoJqeKcTTMtEerVNddP1RwpV89Jwgjx69YJpGQtYL4zlWsE9cG2u2lGfynsy5m5TNQi0WghAyYcpdRruOMiU/LvjAWkA+Vrk4YUEUOddxzEnCQYyc++JhaSfa10NFbWziztMF0TDVCMJuIzUUypYqarg1kOw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706464830; c=relaxed/simple; bh=6qEE5iFXL0RGoiqfGo6GjJkdO/zywWgXuJlLPmA7+5k=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=isJ3TLAzV502IGeCTDWnN0Tv3OEnoP1TrJ+S8zC8GQKcy0i6mD9yRt7kItCX/3WecVxliAn3FwNnl99oOxjTcIjcpKRhuTM5w5MHn13qLgn5PgJoN4hVWLRhU589yjXwBuHI4CcYO/lcB0q2qAd6kSiLuSy9XTyJM+SFRObOhAs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=FsT1GXoX; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id C3FFAC433C7; Sun, 28 Jan 2024 18:00:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1706464828; bh=6qEE5iFXL0RGoiqfGo6GjJkdO/zywWgXuJlLPmA7+5k=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=FsT1GXoXSH/52LxccsjtDsNIjuDdp8OxanWHiflBkvM4boc+NDZQgx38HErpRkpjr zWNUG4SsPOUwkzQRjwyvB1o9KRmCjIw4WWycMBKjEGkTXf1FAYJZnnk+yWAbIacRSu J2bLdsy2Xs7Ev/FQCB1EqbtLo3KqFCeutoaBwdALuQWsEWpqyItBbN3TWeXzTqotwX VxF5zvN16MRc13vmRb6mx34Osu22+d5xhVzSDqsBrbug2pOW6YnLOZH+RRVSkyLGtF ejemvflsjZmD4nJRYlITF+ri8myBfU6f8pqhQ5mllrbuo6bpZoFxOWEWdkuPb2Th/5 t3lTUck/b9GvA== Date: Sun, 28 Jan 2024 12:00:25 -0600 From: Bjorn Andersson To: Daniel Lezcano Cc: Luca Weiss , Konrad Dybcio , Amit Pundir , Rob Herring , Krzysztof Kozlowski , Conor Dooley , "open list:ARM/QUALCOMM SUPPORT" , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , open list Subject: Re: Re: [PATCH] arm64: dts: qcom: sdm845: Fix wild reboot during Antutu test Message-ID: References: <20240116115921.804185-1-daniel.lezcano@linaro.org> <5db88d48-4868-49f0-b702-6eea14400e5b@linaro.org> <70b359c6-f094-4874-b903-1dca07d0db7c@linaro.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <70b359c6-f094-4874-b903-1dca07d0db7c@linaro.org> On Tue, Jan 16, 2024 at 04:38:33PM +0100, Daniel Lezcano wrote: > On 16/01/2024 15:03, Luca Weiss wrote: > > On Tue Jan 16, 2024 at 1:51 PM CET, Daniel Lezcano wrote: > > > On 16/01/2024 13:37, Luca Weiss wrote: > > > > On Tue Jan 16, 2024 at 12:59 PM CET, Daniel Lezcano wrote: > > > > > Running an Antutu benchmark makes the board to do a hard reboot. > > > > > > > > > > Cause: it appears the gpu-bottom and gpu-top temperature sensors are showing > > > > > too high temperatures, above 115?C. > > > > > > > > > > Out of tree configuratons show the gpu thermal zone is configured to > > > > > be mitigated at 85?C with devfreq. > > > > > > > > > > Add the DT snippet to enable the thermal mitigation on the sdm845 > > > > > based board. > > > > > > > > > > Fixes: c79800103eb18 ("arm64: dts: sdm845: Add gpu and gmu device nodes") > > > > > Cc: Amit Pundir > > > > > Signed-off-by: Daniel Lezcano > > > > > > > > A part of this is already included with this patch: > > > > https://lore.kernel.org/linux-arm-msm/20240102-topic-gpu_cooling-v1-4-fda30c57e353@linaro.org/ > > > > > > > > Maybe rebase on top of that one and add the 85degC trip point or > > > > something? > > > > > > Actually, I think the patch is wrong. > > > > I recommend telling Konrad in that patch then, not me :) > > That's good Konrad is in the recipient list :) > > > > The cooling effect does not operate on 'hot' trip point type as it is > > > considered as a critical trip point. The governor is not invoked, so no > > > mitigation happen. The 'hot' trip point type results in sending a > > > notification to userspace to give the last chance to do something before > > > 'critical' is reached where the system is shut down. > > > > > > I suggest to revert it and pick the one I proposed. > > > > It hasn't been applied yet so it can be fixed in v2 there. > > The patch was submitted without testing AFAICT. So it is preferable to pick > the one I sent which was tested by Amit and me. > I would have loved to have that feedback in the thread that is wrong! Due to my lack of understanding of this detail, and only positive reviews I merged said series. Please fix your patch and rebase it on top of linux-next. Thanks, Bjorn