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 A1FFE1AA783 for ; Mon, 30 Dec 2024 15:35:16 +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=1735572919; cv=none; b=KQY9Sn+/0hGFimlzo0d/5t6K4TlNOgUCm130PAofwWRp7jNbDPqiOCPiiJaBh6Wj+PTqzuCeVZaF5l14Q30HpfczY1D1uapXNovzxto475RbwXrV5IG4xh3vGdVhy6eNOLx3IZ/HN8x483Fi5Ci1Um3BZAc2NKr5UzwC8CMVj0o= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1735572919; c=relaxed/simple; bh=AiwCry3Gs5B2dJI8QUl2J32f9NlIJFvE4utMRo1+AwY=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=Zi95/a7h/PI3q8Xl8IFWF1lRdoVtTSqZ6yj5a2MVK/ljxRQKs18B9Gfcry03kjRNMofSusF7KVQ9n6dlbbCJMiyqwEsLc5+5CkAB5c3mCs1wuhU2Qqd6duPLg4O/fwHzxAd2lQUHrWmzr57ULj5v/o5pRR/lD2/6217nwyO0h00= 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=fp+hDUDN; 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="fp+hDUDN" 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 4BUC03K2024890 for ; Mon, 30 Dec 2024 15:35:15 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= G6DsLmKHA3xw0Cm7uPlNkuGtUtB9kPNcRYhw+UIhcf4=; b=fp+hDUDNq07NgwZr 2nP8Tf4bLReyqM2tIfHJhIFM/fgdX7wGUQqMElm/vT0XDTEu5e0tpfqaVx6VkF0b HkIXusfY1vlOqeIIHXE1p3awYsDnfHyg9GUogTV/ks+4pXMIG5Uud80D3RTVxaJ+ Vxr9jSOLE3uznCbhKH/OQ5g62Gr1xV3K2pfvArTwtIDfuqssELvWvUAG7Z0n5bXK H1A3RtpPZ9w/j1MoRN9HB6ds2AOT8Y+dz7SRtx0zFdFMl549WAhRZUKe4TKkBa6R UZyuclwXuuw527eeYqE21j91cinM4vTQ1ab9yU2bYKuBn4HobAg0qVZtMwyutCob 8ulBXA== Received: from mail-qk1-f200.google.com (mail-qk1-f200.google.com [209.85.222.200]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 43uu4srecr-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT) for ; Mon, 30 Dec 2024 15:35:15 +0000 (GMT) Received: by mail-qk1-f200.google.com with SMTP id af79cd13be357-7b6f134dac1so76658985a.3 for ; Mon, 30 Dec 2024 07:35:15 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1735572914; x=1736177714; 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=G6DsLmKHA3xw0Cm7uPlNkuGtUtB9kPNcRYhw+UIhcf4=; b=fvts2uNIltYURQXTXd8ZgLRgpPlgmqpKYJUAbH5wFV4C0EQV5jwOal7SyBexCBE7ZH AzWGwKRCP16NA67ad7P7Fg7ul+gPMxk7aVJgQVglP22YT00YDdE+7ckLprx6a3gsD6vt SNY4mXDmWaCB7hhn9ACef6WmH6BVP9NiEfj5G1xeu5hCAePUShTxOa/OtXgxPWhuIkYi mRC85udlfhiHhG0wHxv/aUnC5bQei+HL2M1t81/+CRD7XvrJp8TF9Cw04FcKhXZwJJ4n xsnKUs2Kimec9KLRNPDw6dAd01BPPjgFnq7mfQNoLvO8ygv9X1eScf6RciTn2tvo7BEi EXHw== X-Forwarded-Encrypted: i=1; AJvYcCWBozqcNtejQphkY1hEm9opf7b3n8Vk0UwiK1UYYhQLIdxha6+Hzdrs8XN7b8uvGG5IUvvTBKIrGWh7Z5c=@vger.kernel.org X-Gm-Message-State: AOJu0YxcIhIfKcTWIw5c/N/vQSABcZpQ9Wr9qPhBEoNJSw9MOO5NCoyk Hq3kxH2LbVo1r3JCNhT0m2+PRPcEZo+lPaQiFy5HuQ+dhbLvGUui8wXcPuj938y0zZJNSWR1k4o QcncaD3eLFyVl4J6muoSwsxrmC37XyKNqXgsO+wxxG33i/Ib05SJ4Z+XHG8vnulU= X-Gm-Gg: ASbGncuhEmoz5wcBKdNguxaBJT4d9HryXcJQ1BtvMDL4bXs6ZWDGGpQBh5kraiiOPP+ eJSqEi37q0LVNHDzBqdWYEjtx21+oB/l7Hl6D/DT7oN8JvGLTH3jfnwQLkLS0a+WG2oK03dsDpo uX4sFBhkuN24tw7t2gyhr7MRD14419u9I+eSoAWcOogBqBbL9DWOrV9iosgeJLA75jTILsawbjv dCHxcaDee3DkhNtey/hRp7t8E6UlrAJQ+J00OHjhJBji55YaDxT2MDaRWXuieob0zPN1A8reF9y ZPK5GVqKlUly3MgEF3IEmQ8S0wSHnU/eGOY= X-Received: by 2002:a05:620a:2495:b0:7a9:bf88:7d9a with SMTP id af79cd13be357-7b9ba7ac3d7mr2226556685a.10.1735572914546; Mon, 30 Dec 2024 07:35:14 -0800 (PST) X-Google-Smtp-Source: AGHT+IGgqkt0UOCFDb0H79bXWrsGewT/tB8O7wJMdc1uf2zbsprFuC+EnDk1PAr9Hps0gm0QaaWaMQ== X-Received: by 2002:a05:620a:2495:b0:7a9:bf88:7d9a with SMTP id af79cd13be357-7b9ba7ac3d7mr2226554685a.10.1735572914162; Mon, 30 Dec 2024 07:35:14 -0800 (PST) Received: from [192.168.65.90] (078088045245.garwolin.vectranet.pl. [78.88.45.245]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-aac0e8954bfsm1499953566b.60.2024.12.30.07.35.12 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 30 Dec 2024 07:35:13 -0800 (PST) Message-ID: Date: Mon, 30 Dec 2024 16:35:12 +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 v5 6/6] arm64: dts: qcom: Enable cpu cooling devices for QCS9075 platforms To: Wasim Nazir , 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, kernel@quicinc.com, Manaf Meethalavalappu Pallikunhi References: <20241229152332.3068172-1-quic_wasimn@quicinc.com> <20241229152332.3068172-7-quic_wasimn@quicinc.com> Content-Language: en-US From: Konrad Dybcio In-Reply-To: <20241229152332.3068172-7-quic_wasimn@quicinc.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Proofpoint-ORIG-GUID: sTNEtxKgohuPNi_s6ttcarjt_rBaOkgg X-Proofpoint-GUID: sTNEtxKgohuPNi_s6ttcarjt_rBaOkgg X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.60.29 definitions=2024-09-06_09,2024-09-06_01,2024-09-02_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 bulkscore=0 adultscore=0 phishscore=0 malwarescore=0 mlxscore=0 spamscore=0 lowpriorityscore=0 mlxlogscore=641 impostorscore=0 suspectscore=0 clxscore=1015 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2411120000 definitions=main-2412300134 On 29.12.2024 4:23 PM, Wasim Nazir wrote: > From: Manaf Meethalavalappu Pallikunhi > > In QCS9100 SoC, the safety subsystem monitors all thermal sensors and > does corrective action for each subsystem based on sensor violation > to comply safety standards. But as QCS9075 is non-safe SoC it > requires conventional thermal mitigation to control thermal for > different subsystems. > > The cpu frequency throttling for different cpu tsens is enabled in > hardware as first defense for cpu thermal control. But QCS9075 SoC > has higher ambient specification. During high ambient condition, even > lowest frequency with multi cores can slowly build heat over the time > and it can lead to thermal run-away situations. This patch restrict > cpu cores during this scenario helps further thermal control and > avoids thermal critical violation. > > Add cpu idle injection cooling bindings for cpu tsens thermal zones > as a mitigation for cpu subsystem prior to thermal shutdown. > > Add cpu frequency cooling devices that will be used by userspace > thermal governor to mitigate skin thermal management. > > Signed-off-by: Manaf Meethalavalappu Pallikunhi > --- Does this bring measurable benefits over just making the CPU a cooling device and pointing the thermal zones to it (and not the idle subnode)? Konrad