From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.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 769181DFD8 for ; Mon, 30 Dec 2024 15:35:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.168.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1735572918; cv=none; b=dt2GsxPkRjmr01fmiqS9qGG8bRgIYnPMxuSB0/dFs/yQTmrj3W0WV4Q9J62NpeMLgE/ONtJZyhI9f+FUmXMbwln/wvdCBdXNDI4vBdjSdhFgIL0KxWCccfe2+loJt+YcmnQBIt7Ze+cSKu4wylew/42sDA1I7t9P+NgMMKRFbmU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1735572918; c=relaxed/simple; bh=AiwCry3Gs5B2dJI8QUl2J32f9NlIJFvE4utMRo1+AwY=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=oxq7PY+dp/1vepZtCNZaSiqtczk6BT05eyjYbrcEaL/CA6eZrCiBFRc2lUF3iDYbmh+NHI6Knb6yxw83LA7aTxOXG+lQ+nJvEBv3utSEj8RdohCWslmnSL5jYwJFFKS6xcY5rOcWVFaIph6c1XZW0NjzdWH9DYVnMEAqZO1NYds= 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.168.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 (m0279866.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 4BUF1SaI031574 for ; Mon, 30 Dec 2024 15:35:16 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-f199.google.com (mail-qk1-f199.google.com [209.85.222.199]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 43uwt082cy-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-f199.google.com with SMTP id af79cd13be357-7b704c982eeso68766685a.1 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=ODRpX9C3vSxFhJU2C249pHpmY4SiXZwl6KjUS3JzGOQr7+nIRVBzO1KX++wyf+YA06 ziwtQc1F8G6263LcMK4EIO8mqgnZzlFVvCHQTliNgaO0CQ0kIDUpWhdX9jaVPWjbU4n3 3zcu24H0yUIvmPJNM2UoSTjqyTE89smAMt2VyLwC0g/2uVHljJOtQTu6z25rd+BCBsan S1nhiw5fvP4yKOiT/YcSCneYn7JQ9c/kZTwK6wH38q6OwFm9ON87pmtX2z5zDVLhkxi1 xsVpWyANrRCT5hQab8QuN714R/JmfmrUkbz0dfaUaC3iB5qsFkq8h54Q5VU6yQWTfLsd qTNQ== X-Gm-Message-State: AOJu0YyyzULjGRQhg+GDpUgAFLwb9MNqqkCmkgjWr3t6R92ifqprIV7f 2tMgBzwGRqkMArgQGN7fRckta9viN7lWgsFao3TRvMlOywnaiAFRp30zT3mvbl5ymJXXI9j1p48 qsGbWwwKpoN8IzRTomcyyLJXnSt3NW4itoKEn/EhGDHQdn42CHzlz3dP8gcaEfZX3 X-Gm-Gg: ASbGncsN86I7J/n3NzE4e9KfC3h+h9ltu2TrstCmkp4v2uEufUOBV4mwx6p1fJ17SeF mLclAqQQX6RE7aE35t3u9J4jGBgtOAm/1A96QEWXfXzj/m8f1WF/7wZMRD3vA9VCzrq+ymvDvkF +CSMcZS0tq0AHdF748LxldLg7GSLT9xlkjrwyDdEeMusNNg/ah3qXwqX5DcNVK1mgaoGI2RJ9qa aJBn+O3MZabYNbN/GCV738K8UrbjKPA3MZF0uFu8bQHzxBTT9dGJHXLgGtWSSf6/VcpbnrIzyUi X/HEm3V6zfIl+5CvPu6fYjj3Ctgm5WzwH1E= X-Received: by 2002:a05:620a:2495:b0:7a9:bf88:7d9a with SMTP id af79cd13be357-7b9ba7ac3d7mr2226556885a.10.1735572914549; 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-arm-msm@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: qrzzzYJmYHzQ1Qg9y9UqviXg0GI7m45Y X-Proofpoint-GUID: qrzzzYJmYHzQ1Qg9y9UqviXg0GI7m45Y 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 suspectscore=0 phishscore=0 bulkscore=0 malwarescore=0 adultscore=0 spamscore=0 impostorscore=0 lowpriorityscore=0 mlxscore=0 clxscore=1015 mlxlogscore=636 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2411120000 definitions=main-2412300135 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