Received: by 2002:a05:7412:8d09:b0:fa:4c10:6cad with SMTP id bj9csp463504rdb; Tue, 16 Jan 2024 06:03:47 -0800 (PST) X-Google-Smtp-Source: AGHT+IGQOyaKM3DPfzLv5A+N/E6/k0Y7rHYk+/wE86ucW3pophYF+6I4EyUfLhLBVkU6EVCQAfU/ X-Received: by 2002:a05:6a20:c789:b0:19b:1da3:cb99 with SMTP id hk9-20020a056a20c78900b0019b1da3cb99mr1794737pzb.5.1705413826667; Tue, 16 Jan 2024 06:03:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1705413826; cv=none; d=google.com; s=arc-20160816; b=aLSH0ZoTMWB45YfagYGGsDamd+FTzArXC2dZiG29+xSV+4qUfm7NoTODJtgFeV5MSJ ASDZ/K2yWn2W4KPyY9lq69ns1iT5TL4c7NnUxS5zqtb86AD5fdLnc5lFoVb0IAzyvzBI 5P1rmR2Mz2oz4QSlSFg2eKEs6pwl2VSBRrXou7/WnIukOhE+8A6p9L0Ot4AqD8ponTsl jXrvLNfj280xH1Bbb9BU4IfqJVP/DQHTi4H7COpG4z+gy/nxKvPkQUi2KpwQ8qOZ5rYl KCA+GPgn3gjbpifFQevbL1vm8tDLzcRTErco/ArcU7ly6lozNbCF46rHTpxhfZDrX33Q zTeg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:references:from:subject:cc:to:message-id:date :content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:dkim-signature; bh=s9h/dGqfHWg+QB7S7VecCh/3Jo3Pb/vuBb+hs8ql8+Y=; fh=7j15cZdSA3nIqPjHppHK5ySjfDDS811a1cprY/PPsBs=; b=ks325MF2VTbnlAaBer1DMGhKglTzixB6TAp1Lz+OZy77qjMr6G7heKoyoX1hDwhxWI rHSqNN/dK+uxy2EHo6iMoV5u+ioo6Mu42WFnhOtfh3vyYVxRFs70vJla+AfTT66Xhe/Q IB/fhtuSZUlDkQKjUFoPU4HBY33URWDPwr902o4fVFULDR4cHatxA93IOfpCg8XokWQ4 k5MwI9ESvFEj3eEuFyP9nmYfRB93Y4XIFeeFbH3YSMjyHMDfAbMxRA7gewE+swJt6ryN zOjBQwRoP0yS7Px9+aKBX7G3zmjIM1mwDKc/ELsHHCr4JCaf2Vz2HSiA56/PYm1uJj5m fujw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@fairphone.com header.s=fair header.b=QRsSnLfA; spf=pass (google.com: domain of linux-kernel+bounces-27444-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-27444-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=fairphone.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id d2-20020a633602000000b005c6bab48f48si11255982pga.111.2024.01.16.06.03.46 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Jan 2024 06:03:46 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-27444-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@fairphone.com header.s=fair header.b=QRsSnLfA; spf=pass (google.com: domain of linux-kernel+bounces-27444-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-27444-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=fairphone.com 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id BCBBA284214 for ; Tue, 16 Jan 2024 14:03:45 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C91B71BDE4; Tue, 16 Jan 2024 14:03:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=fairphone.com header.i=@fairphone.com header.b="QRsSnLfA" Received: from mail-ej1-f66.google.com (mail-ej1-f66.google.com [209.85.218.66]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 702911BF26 for ; Tue, 16 Jan 2024 14:03:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=fairphone.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=fairphone.com Received: by mail-ej1-f66.google.com with SMTP id a640c23a62f3a-a2dd05e02ffso218297766b.3 for ; Tue, 16 Jan 2024 06:03:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fairphone.com; s=fair; t=1705413810; x=1706018610; darn=vger.kernel.org; h=in-reply-to:references:from:subject:cc:to:message-id:date :content-transfer-encoding:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=s9h/dGqfHWg+QB7S7VecCh/3Jo3Pb/vuBb+hs8ql8+Y=; b=QRsSnLfAihAwcIxzviXTEjRwcMz56JlMPqqE2pUFmrfJxAK0FDVdlykfouzLI2rwfO VuYDBtriz//NCV//ga9Mmzq8JNNPDnrv+3U0c3koGUQ14zJAszVu85oFBM4jX/lEVj10 sLySTqc++dhih4uEKTGFLMFRDDlc44sIwvhzauvXY0mbbXejIMi1R3cFAgs7jYtjz4H7 XQBbi7wGVeONwkIf8dST1DbIKE0lm1eeRZsYqehJQ+k/6GPvZ5DY5NdzL/eBV2VEmbsX erJv7hL8JztrueK7Yap12yWdZIGIIWz2SLxqGK0cT3R9E693GwEVrBuIdw/VJL1JaQxk AhNg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705413810; x=1706018610; h=in-reply-to:references:from:subject:cc:to:message-id:date :content-transfer-encoding:mime-version:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=s9h/dGqfHWg+QB7S7VecCh/3Jo3Pb/vuBb+hs8ql8+Y=; b=PHICmEuBgbmOoNCwXe5vX1pQg3uvTRWvfbNhqrlvmiBZaCFrKwemjAtPkJJhQVcLWE t5z3jmbMBhX0F8xqyrbbD712KOfcRKAgSElk/k7hAZnXmvCUBP/jPa2+N7boW6665ngq GTrWWipwY1rzfnSsU6mTza7Ca+LgC1UKj6eMLu1zVjXXS7/6DkKM+vKkOxmAroWMLyC2 dUsaZN/C3Ojo09dFypVA0yguyXWDtk3H8kiOQn4y9sghKhgMzDfMeiMkCZlI8cwY1pe9 439CvDbHtBJp4nQDOeJJWaLJVrqp69Bbjc/h7FK5yu67n7oaJGho8gmZaWvCgPmKNtWq ZGOQ== X-Gm-Message-State: AOJu0Yw3j7CEG4LzK2CkpttUqMcj+3hBi7BLe4NjV4z7o6BRZG/XToIa zbzj7BIVqnL8Zf4N9ZnFUxcG/qwhxmvQ2Q== X-Received: by 2002:a17:907:a782:b0:a2c:e2a4:17b3 with SMTP id vx2-20020a170907a78200b00a2ce2a417b3mr2612345ejc.120.1705413810545; Tue, 16 Jan 2024 06:03:30 -0800 (PST) Received: from localhost (144-178-202-138.static.ef-service.nl. [144.178.202.138]) by smtp.gmail.com with ESMTPSA id vb8-20020a170907d04800b00a2d5d42ac39sm3791779ejc.136.2024.01.16.06.03.29 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 16 Jan 2024 06:03:30 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Tue, 16 Jan 2024 15:03:29 +0100 Message-Id: To: "Daniel Lezcano" , Cc: "Amit Pundir" , "Konrad Dybcio" , "Rob Herring" , "Krzysztof Kozlowski" , "Conor Dooley" , "open list:ARM/QUALCOMM SUPPORT" , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , "open list" Subject: Re: [PATCH] arm64: dts: qcom: sdm845: Fix wild reboot during Antutu test From: "Luca Weiss" X-Mailer: aerc 0.15.2 References: <20240116115921.804185-1-daniel.lezcano@linaro.org> <5db88d48-4868-49f0-b702-6eea14400e5b@linaro.org> In-Reply-To: <5db88d48-4868-49f0-b702-6eea14400e5b@linaro.org> 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 s= howing > >> too high temperatures, above 115=C2=B0C. > >> > >> Out of tree configuratons show the gpu thermal zone is configured to > >> be mitigated at 85=C2=B0C 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 node= s") > >> Cc: Amit Pundir > >> Signed-off-by: Daniel Lezcano > >=20 > > A part of this is already included with this patch: > > https://lore.kernel.org/linux-arm-msm/20240102-topic-gpu_cooling-v1-4-f= da30c57e353@linaro.org/ > >=20 > > 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 :) > > The cooling effect does not operate on 'hot' trip point type as it is=20 > considered as a critical trip point. The governor is not invoked, so no= =20 > mitigation happen. The 'hot' trip point type results in sending a=20 > notification to userspace to give the last chance to do something before= =20 > '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. Regards Luca