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 C0E8E44DB72 for ; Tue, 20 Jan 2026 14:43:54 +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=1768920236; cv=none; b=IqWIViJfYDmX6CB9hsPo9NDXSfUXUx0KpUYGiLeQIqVZOBTKKCs05Aqg3Gtq7NImSWJhzqCJto5f8mmKbEQ5EvRcMpQ3RStdt8fHAOcwMhOp2bgbDfT8zE8DW0HBJKn/dHyEDj3/0OzIpsLdvUT3xBwA1RvZhC6AGCtsDBGGIlA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768920236; c=relaxed/simple; bh=lfDfPgLnzLb3DFJx/z1f+XkYJVZarEdcqDRTCYUPooI=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=Qj8USWck5c7FOd8Jo8vuHfq8KqTOqr32VHEd3SjLdMi/chnaI6TNTfC2AihQ6d+uvw8s/hRXDPCWcTB3lWRUOHoQtpHJITAI+OhGlRISYVVlcpIVNt5wj0mDZcnFYxddOE/ZTVe5J0d+w1lslv0sTsJjkBTo4D1zShv2YvoUQuM= 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=JXDW4IGN; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=IabMKjdo; 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="JXDW4IGN"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="IabMKjdo" Received: from pps.filterd (m0279864.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 60KETOfA1408539 for ; Tue, 20 Jan 2026 14:43:54 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= 2F2MscGUxOcgirT/V5wZPZEuDvjWdo44geWYhcKaiJk=; b=JXDW4IGN4Wz0LPrN pZWHAkDrMhhIkdEUc7fmc2sfuLODg8GKIKVMY5Lvbev4z99jcTBBkmMQqdXuWpV7 KP2Ew4VD2+VmNcV0iu1w+FEnsAFSFnv6750j11EOanrSavqV92KwC0vUuo1U88sm JJ790XauOMG92IwakOKxYF+DVyOn3uySpO6sSUFNZLl/cfn6FLvhbebqURfdGukq s9ewUJ8rEnut5G2zIURU1V6cAYUy08+hws/dBSj2WOTdTo4l3W+HyXHTNe62Yzbh YMVFj/hnqNo++YHmj5jjesXCjCi8Ana9niz38QrVx1sd643xKtEMk+ggVRDyeyv7 GHujhA== Received: from mail-qv1-f69.google.com (mail-qv1-f69.google.com [209.85.219.69]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4bt4y2scqr-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Tue, 20 Jan 2026 14:43:53 +0000 (GMT) Received: by mail-qv1-f69.google.com with SMTP id 6a1803df08f44-88887682068so18636416d6.0 for ; Tue, 20 Jan 2026 06:43:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1768920233; x=1769525033; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=2F2MscGUxOcgirT/V5wZPZEuDvjWdo44geWYhcKaiJk=; b=IabMKjdo7IbfcJPBa76Y4gCONRB7MzHJk/CzGqHPRSJ19VHBhTjLh0DAUMg/VPZ5Ap PP78RMIO3J8HYZ2pkYbk6NexX/PmXNxlNq03TCX1pyAgFLyG2yRINIQHwX0nKi0R7pO/ yZNcddHx/aQ+Ku636qBbDFUSrpIe/WJBOnWvGq0bUEARwt45PE35l9E6BDtYSJXLQd9n A3RKonAp1bl+Rmcc+L7+LVJSfdNUVAUHpB76CBeSMtwoFjswGhpS4+gliXjYgnKlAxkC 6CVVTwQ9x6dy8yy8ep+v/4h9A2QpVa36p3Zl+MmR1orFcr4Y0O1VlARy3+MC8zzUQufV NK8g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1768920233; x=1769525033; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=2F2MscGUxOcgirT/V5wZPZEuDvjWdo44geWYhcKaiJk=; b=kgsR0vhHMN/B19sK1TDk9dy8r011NBcE/Jx+R0in462BuZQ2X3YXeFmkmdTYMhNo8P rmHMzVQao3Es67kvH2PdBtvywiANP9UfFKlB4wGz9tZO1LB3gr/S+eEESe7AgyIYyLWo paL81BXw7ftqj/RZ/oJYwNG8dW8l2KycTd6d2KHYILYZY7bsNDi9fZ1y+hhcLJXqjk7B hdiSlwL+2NDbaZyk65A5tVSNiO2KmY1gFhQ1As3BGHNndvCHMdN7ZXsslOk37CAeGAD0 DD7Qg1SMr8RCFXS9Z5TAe17HBXjYwFrERtXZpFEKv2Fny1DT4CKHVmm2fqVz85Z+Ypno tkKA== X-Forwarded-Encrypted: i=1; AJvYcCVNgExNS80PtacnmkH6T9T4wWh+dlx44kj31sQK+gb8e5KGtBefUoWLDP+Yb9+zhrs+DtK+73zeq5vTw4I=@vger.kernel.org X-Gm-Message-State: AOJu0Yy6QdG3x3bA7AXDthMvs5aC+n5DRmAaE0jy1klsvG8E0N6XGxab SPB2IyxhHA1GcoxfCTeMW18AREEj+Ja+plogz18OvAXp51D3LWdw/eZd1iwI2n9LZAs4bOt53IL Z57tHkvyYohLLqc+pkXdKP4BNnspELBFxmor+V981SGWg2XMNZR5MhVAVFG+Hg9K/b70= X-Gm-Gg: AY/fxX5l3sMjCjYa9QB50FFbFlLexb1autFwdw7yTAl9/wApVQkqdg9olL9DTcA3fJL QmyddM9x+TuIyV8CB/tCYV5a10G2nxmfu0p8ClkrkruadrF13/tlS8vI7iUkE3cd5LWxsuDNS1N kUPoSW4ORZ8dY7hcumb28CCN2UMMtdWNTm8wbwgs0FieahAkSuFljcrZVq8BV4LcDw0JvP5JTS8 /ZZDgg2x4OrpMVabdxt1emEn+jyNCPf2pJ3gE4atR3CtHkJ9Up3MTHGxI+p6wolvIs+VfJpHil4 57I9RdsB6fiY9g69BQ6SrMd+Nq2EhkcqWxx4BKL/918pIdGT0WZ7ylt6+U+BwhK0DPs56M8DmJy JRGV7qLdkYf/1BLck9QIeFcfjWBz1MsDDkDOPwWqBn/xW0OYE6sEnNwVaXBo5vOwMglw= X-Received: by 2002:ac8:5ac2:0:b0:501:49f9:7495 with SMTP id d75a77b69052e-502a171fe7dmr164515461cf.10.1768920232718; Tue, 20 Jan 2026 06:43:52 -0800 (PST) X-Received: by 2002:ac8:5ac2:0:b0:501:49f9:7495 with SMTP id d75a77b69052e-502a171fe7dmr164515151cf.10.1768920232227; Tue, 20 Jan 2026 06:43:52 -0800 (PST) Received: from [192.168.119.254] (078088045245.garwolin.vectranet.pl. [78.88.45.245]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-655a21abc55sm12521521a12.28.2026.01.20.06.43.50 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 20 Jan 2026 06:43:51 -0800 (PST) Message-ID: <99796cc0-f29b-40d0-b8bb-ebcbcc950b23@oss.qualcomm.com> Date: Tue, 20 Jan 2026 15:43:49 +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 2/2] arm64: dts: qcom: SM8750: Enable CPUFreq support To: Akhil P Oommen , Jagadeesh Kona Cc: Ajit Pandey , Imran Shaik , Taniya Das , linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Sibi Sankar , Jassi Brar , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Bjorn Andersson , Konrad Dybcio References: <20251211-sm8750-cpufreq-v1-0-394609e8d624@oss.qualcomm.com> <20251211-sm8750-cpufreq-v1-2-394609e8d624@oss.qualcomm.com> <908b64f1-f6ac-4c5e-9c72-1174cba62017@oss.qualcomm.com> Content-Language: en-US From: Konrad Dybcio In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwMTIwMDEyMiBTYWx0ZWRfX/i0h8ZR/v1GE W8R9kgYFW3ecjQCCEoQq85Bn7vPMTJxktr3EdQVD0/6nM88Y9GTlGdX+gBofr+4oNJMVyKxyWA7 JbF4aHlOW6caOhxXMzPTTpfsEBZy8h67FGvGo188nEk9thU0eV9w0S8NP1wmh/IQjsXOlemPbjL irdIeE+gc/a9xYpuAiQqBOIeGfb5/ZsSle8RsHs2fx7WKYnHhoUKXLMbL9vyPjF2KPUE1KF+D7t yV7FkqIKuMyih9+UtGjL5o8ziId2RPrx6yMIibSSEk2UQ0HzYeQBgd/QQkNd/tX+8cqd85/vWBk ZaAQeIgdZwjJpL4/UkbE3sBgi6LVI7b8SvYvnCRzU5STZV4OtZ4BZc65z+c/tXzXiICnabZGgm7 ApvWo7IapLdcn0Gx5G7gFqwf9jfXJX1tnyCG9IYDXfMaFoYGHKxj6fUIrX4WTlYZLForc0V+qad mVP3VecMlm6juOYaiUw== X-Authority-Analysis: v=2.4 cv=Ds1bOW/+ c=1 sm=1 tr=0 ts=696f94a9 cx=c_pps a=wEM5vcRIz55oU/E2lInRtA==:117 a=FpWmc02/iXfjRdCD7H54yg==:17 a=IkcTkHD0fZMA:10 a=vUbySO9Y5rIA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=EUspDBNiAAAA:8 a=INXtvDbky3fP8RKYrpwA:9 a=QEXdDO2ut3YA:10 a=OIgjcC2v60KrkQgK7BGD:22 X-Proofpoint-GUID: NY1-emiVRAIM8Tx-hAXZl-9QRxE8b7DK X-Proofpoint-ORIG-GUID: NY1-emiVRAIM8Tx-hAXZl-9QRxE8b7DK X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1121,Hydra:6.1.20,FMLib:17.12.100.49 definitions=2026-01-20_04,2026-01-20_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 bulkscore=0 malwarescore=0 clxscore=1015 impostorscore=0 spamscore=0 phishscore=0 lowpriorityscore=0 adultscore=0 suspectscore=0 priorityscore=1501 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2601150000 definitions=main-2601200122 On 1/20/26 12:25 PM, Akhil P Oommen wrote: > On 1/20/2026 3:44 PM, Konrad Dybcio wrote: >> On 1/19/26 8:00 PM, Akhil P Oommen wrote: >>> On 12/11/2025 12:32 AM, Jagadeesh Kona wrote: >>>> Add the cpucp mailbox, sram and SCMI nodes required to enable >>>> the CPUFreq support using the SCMI perf protocol on SM8750 SoCs. >>>> >>>> Signed-off-by: Jagadeesh Kona >>> >>> Just curious, does this patch enable thermal mitigation for CPU clusters >>> too? >> >> If nothing changed, we have lets-not-explode type mitigations via LMH, >> but lets-not-burn-the-user would require a skin temp sensor to be >> wired up, which then could be used to enable some cooling action > > In some chipsets, I have noticed that the gpu cooling device throttles > GPU to the lowest OPP even with not-so-heavy GPU workloads, making it > unusable-ly slow. My hypothesis was that it was due to unmitigated CPU > temperature tripping up GPU Tsens. > > So, I am wondering if there are any additional CPU cooling related > changes required to get a reasonable overall performance under thermal > constraints. Yes, something like the aforementioned skin-temp sensor at least.. Today Linux will not throttle the CPUs at all (they're not even declared as cooling devices) and we sorta agreed that in general it's a good thing (tm), because otherwise we'd be coding in a cooling profile into the SoC DTSI without taking into account the cooling capabilities of a given end device (i.e. in an extreme case, a PC with SM8650 with a cooler that's 3kg of aluminium vs a Steam Frame headset where the SoC is centimeters away from your face) Currently, we have cooling policies for devices with fans and the only other action is based on a skin temperature sensor (sc8280xp + x13s). Everything else is left up to the LMH defaults. AFAIK work is ongoing to create a more informed solution, that would have to (quite obviously) live in userland. Konrad