From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) (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 6A271204C03 for ; Mon, 3 Feb 2025 13:07:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.180.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1738588080; cv=none; b=ZsGsw8igcY5V9j3OdS68T0K7FlXDU6wgRv3erAxSDmqJ8F1RP1CPDSSHIs4FDtpU4LVpj0FgOMLGXrKBVgO9zTGj2GuGIQ5n87MYMluyJugE/fWLRPJ0vEbRZUqQrsuLEEg91xCZTrwcd466PENWj+BDs29hqFeH3p8tSEpWMW4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1738588080; c=relaxed/simple; bh=WWw+K9LAmi9SdlLNI+IAamnYBiiIiqnarRUibDNdU+o=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=u4UgfBAk9KHu/n6q5QjCT9CGTcHOh6DW3b7qLx2HD8zzv3aRYxk4aqBFow5xG9IUx/d362O3q+kAyZN6No9qo98JeJWwAnvaWAYre3kxOdUMfRse5Y5xEugAuZw1mn505G3d9fAVSeZQEp4GHrSPb/1UkDtV7tioK1DhtJtjXwA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=oss.qualcomm.com; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b=oR2NBUKQ; arc=none smtp.client-ip=205.220.180.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b="oR2NBUKQ" Received: from pps.filterd (m0279869.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 5132bGT2017667 for ; Mon, 3 Feb 2025 13:07:58 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= HHQbos0F5o8aVGN+bxdm35249+HKbFkE1Tu5vGmxSwg=; b=oR2NBUKQ7/7OVoEz 75Z3S7Zi+G+LZmrUzGcpm86o+ATl/EufZiB0ZgLofGPG1yyLZiKL71K3kds4BD1b io5BosJk90tr2DaGkCLxHIk0fSSOZD1FLWIkjgq7SdRiuuJxAV1bUIb7PRqVTNmZ HgnhRWO7xsvt/2zjnkz3M/WbSF545hG/I/CRZmtuhPnEMC2rF9AY582TwJvqQtK3 ulKJnUFQ3kYGUM/997y11W5t/wAxZ/5Vb6DOnYGGUVeEjF2j/1WP5nLv26CtfBDO 3/EoGPka/7COUwWhQlCpimrd6gFwctpRzAlPU9TwpjXrEaYHu+78LcxuefK/4omZ ZV+zhw== Received: from mail-qv1-f71.google.com (mail-qv1-f71.google.com [209.85.219.71]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 44jn5vhbks-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT) for ; Mon, 03 Feb 2025 13:07:58 +0000 (GMT) Received: by mail-qv1-f71.google.com with SMTP id 6a1803df08f44-6dfba8de3cdso15086186d6.0 for ; Mon, 03 Feb 2025 05:07:58 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1738588077; x=1739192877; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=HHQbos0F5o8aVGN+bxdm35249+HKbFkE1Tu5vGmxSwg=; b=RbBV8Br3pNH1PEK5FlHbMSHOcbw+nezhfwDgflw+Jdm8OFoRlMuO1Yt97Af9SG9Wus o+ktOyXCnYhh0LuH5gSXYvbB0cOlTfsle62OiWyzDGC3e2/rwPbC1ZYEnkYrLUmd2g6k K0zx/LWp2m/CMF8G0WKHHgHAs/i/P3qwBtBK40ceeixQEtxoIRLrGe67Jta6HxswCeNt zBfy34JADMfkZ4mi0oKV6/+zwDeeMZ+3RRBRImjlESP8qRZk4/2lnvY4CkbxW+c+wzQZ vCt3x7HhR0MYWPMVeKRD0RxAg4Rpc4urBbX91siPqyFHD5v5+eJZwEJXVgD57YU6qmJc 7W+A== X-Forwarded-Encrypted: i=1; AJvYcCU1ndnrzz+j1xxLUuiuiwCWjtMlinXrDcIynOjRWQgsIFVEEzlxfmr4qN8fiuZoJU9eNStqn/3A01r8+1E=@vger.kernel.org X-Gm-Message-State: AOJu0YwHb+6ZRPRsYfzIKL7Wov9Gx2+w5ahZKxlxXbwWU/1D4thtmtbR YWEHppyhAcEN07ymaV8iHNNQNhZ9Vp3NtGDf/47pOwZA/f0BDsERlzWJKkjYZaFJlGAEoLr1XwE lAkiQSiA2uY9vJG4f/c2BEtsn9FAUXIsyED4ZRfKyC7iegrJfMxLER4sRQUI8ZU6XemDSf68= X-Gm-Gg: ASbGnculJMEyVHVLOMFIwJiDHH8n8yUrtofgbsztRhLLGepKq9/MWFssW/IZQyaSCdX VPHVcj3Rc1JUbE4iylXWSlIIV9Nmz3qnT40ehoNWtd/UT+KQsdamJbAi/PrfuY9riFysDCnVLHG FqZ827tMY73AXth7Ipx6WSzmhIY2jc4oHzBnvloV4okJSW7ekIqlRDbgndoGNAAwZ3I6o4yw8Fs YQTgBhgPmqe3R51er5/gXyC1UvCMKdRBNnghqdhDb78nm6ITCZUoxuVyeLr0m/ninzaQDuqDlmk rVhh42WfLL0W+VtqVXoz4/JQlm2w+pHeoPLjilY8UbvXjoTQXtFLtjWDhcg= X-Received: by 2002:a05:620a:2550:b0:7b6:d026:29f with SMTP id af79cd13be357-7c009afc404mr999176885a.1.1738588077087; Mon, 03 Feb 2025 05:07:57 -0800 (PST) X-Google-Smtp-Source: AGHT+IHvZLxGFmUqIUuPB9CPetG+6orsrmU4X1UOL7phutO1KWwcJSP9Qy+xUEKLVon5cWbx4x4Pgw== X-Received: by 2002:a05:620a:2550:b0:7b6:d026:29f with SMTP id af79cd13be357-7c009afc404mr999174385a.1.1738588076548; Mon, 03 Feb 2025 05:07:56 -0800 (PST) Received: from [192.168.65.90] (078088045245.garwolin.vectranet.pl. [78.88.45.245]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-ab6e47a8268sm753013366b.28.2025.02.03.05.07.55 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 03 Feb 2025 05:07:56 -0800 (PST) Message-ID: <7fef1b3a-6b63-47fd-a3a8-346bded682c3@oss.qualcomm.com> Date: Mon, 3 Feb 2025 14:07:54 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v3 2/2] arm64: dts: qcom: sm8650: setup gpu thermal with higher temperatures To: neil.armstrong@linaro.org, Konrad Dybcio , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20250129-topic-sm8650-thermal-cpu-idle-v3-0-62ab1a64098d@linaro.org> <20250129-topic-sm8650-thermal-cpu-idle-v3-2-62ab1a64098d@linaro.org> <3db4b41c-0d29-468a-875b-eec3cced5aa5@linaro.org> <292ed7db-aa9a-4dd3-a887-70e0ccf346c2@oss.qualcomm.com> <82828c3a-ed8c-42b8-b603-bc73d3be7497@linaro.org> Content-Language: en-US From: Konrad Dybcio In-Reply-To: <82828c3a-ed8c-42b8-b603-bc73d3be7497@linaro.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Proofpoint-ORIG-GUID: zc9j2-7OIstC-ufzw0ZATE4J5Y949lFM X-Proofpoint-GUID: zc9j2-7OIstC-ufzw0ZATE4J5Y949lFM X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1057,Hydra:6.0.680,FMLib:17.12.68.34 definitions=2025-02-03_05,2025-01-31_02,2024-11-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 mlxscore=0 malwarescore=0 phishscore=0 spamscore=0 bulkscore=0 suspectscore=0 lowpriorityscore=0 impostorscore=0 adultscore=0 clxscore=1015 mlxlogscore=999 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2501170000 definitions=main-2502030097 On 3.02.2025 9:23 AM, neil.armstrong@linaro.org wrote: > On 01/02/2025 16:37, Konrad Dybcio wrote: >> On 29.01.2025 3:41 PM, Neil Armstrong wrote: >>> On 29/01/2025 10:43, Neil Armstrong wrote: >>>> On the SM8650, the dynamic clock and voltage scaling (DCVS) for the GPU >>>> is done from the HLOS, but the GPU can achieve a much higher temperature >>>> before failing according the the reference downstream implementation. >>>> >>>> Set higher temperatures in the GPU trip points corresponding to >>>> the temperatures provided by Qualcomm in the dowstream source, much >>>> closer to the junction temperature and with a higher critical >>>> temperature trip in the case the HLOS DCVS cannot handle the >>>> temperature surge. >>> >>> Since the tsens MAX_THRESHOLD which leads to a system >>> monitor thermal shutdown is set at 120C, I need to lower >>> the critical and hot trip point, so please ignore this patchset. >> >> Should we make the "critical" trip point something like 110 or so? If >> LMH triggers a hard shutdown at 120, the OS will not have any time to >> take action. And 120 sounds like we're pushing it quite hard anyway. > > > My plan is to harmonize and use 110 for hot and 115 for critical, and > if available any passive cooling devices is available at 95C sounds good! Konrad