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 3009D38759B for ; Thu, 29 Jan 2026 11:56:14 +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=1769687777; cv=none; b=d5zO09GLuzmfR7cy+q7qMRAOzmNAz5rW9p2ESFhZwg3Lud7lvz8I7XWC5L9PmOJiMp2iSZuVrUhOD0Kme92is/amox+MTjO0gkZlclld/cISLb5DvbRAp8mkLilxlKSfaofS7mYAu0HT6bhxmwImXGjOzIXHwbvOBBllSluTnTw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769687777; c=relaxed/simple; bh=7ben1nzOgp6NuXj4JLhvupKl4cYUOi4ZHQrjO7Ao/EA=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=hXnRj6v2lh1ya05CGzGOMAuvo3z0+S2oL4h2zdt8BF5RNzZgTBXqRExyXweoZ1Adx6GC9bbkj6YoLBCvfd7TYKpJlS1IgXaKIsE0soRzYv/9bW49oDcvEVTXeth1C1aSweixrrHAbbjBLo+iilk+/zTcDTY2vVjwbGkY3nv4pnI= 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=fr338N09; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=VjlchsDJ; 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="fr338N09"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="VjlchsDJ" Received: from pps.filterd (m0279872.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 60TAHDkq2033220 for ; Thu, 29 Jan 2026 11:56:14 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= pDQk3BRBpJ5FcpP/PG7QKmjxWd+qP3CsaWqRU/Nc09Y=; b=fr338N09oLKwgduE v6HCBwwmmWGv/TDQIRAbG8KrD35Zil/KNLb5EwjEizg/5HwqvYYck+jrtk96ZFGf OKrRIgCdnFJxsmJBNtzMQltOltSeTu81dsGuho7KVunKrWnrkI437yZp0kGdLHQR TrJLJGzMlhaM84X6cFwI4IaV9uq4gBqoAMTCJDFZ3RQykO8Ws/PV6ngvelciPcgk bYXkRMJN9yZK0RDERmSeFEK6+Qjx+edqlBtud88hAJZ6NI04BGLJ4ZFYLJ5VVjKL Nm7mcE2W0RqOUpolYJ4ClJsmEcj+zVDgbovo7Dt+9yT2LsZ6cC+HQUHV58vI33wy zYgt7w== 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 4bytqy2b2q-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Thu, 29 Jan 2026 11:56:13 +0000 (GMT) Received: by mail-qk1-f199.google.com with SMTP id af79cd13be357-8c536c9d2f7so28596185a.1 for ; Thu, 29 Jan 2026 03:56:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1769687773; x=1770292573; 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=pDQk3BRBpJ5FcpP/PG7QKmjxWd+qP3CsaWqRU/Nc09Y=; b=VjlchsDJGEcAsIg355ndQzWO6N9JybmuSh3Aj9c9CtVCS+4WW60WMPZ3S5O73r6gi6 uicvQQef1FttEVfYxCJLQUJgObIZHZddpH1CNdhljoolZJo6IuGq3Jgb9d9Bk09w+Kzi 2lEgCs1HPk98ip+ZZEATlzWjGcni5X5lpCFlbUm0RGJx0742bZ62tyY/4OGifzUOH3fV 3MOEXoD5Uxu7tbMu+2q7RheAOScP06dOrICWQzypsOOwGt3lwp+cFYVEbD+QxWd3eS1c k8Qiknl11rrq9dIGxGw2JuDUecEtNgpyHCPgVNsirFIa7rTLE8cJpKy28IrXPJ6WM8uy nPvg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1769687773; x=1770292573; 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=pDQk3BRBpJ5FcpP/PG7QKmjxWd+qP3CsaWqRU/Nc09Y=; b=S+9NKNrJMhwsZOatgKq5MgtFy6T9SRBIp6795dA77g3yZVUhsC+Zly3C6jlc5GmYlQ cfE1QBiX5NbBsRjEe+KUuvL7QTOyHaRCKC3WqBKhOCfo/J+Xl+LLhpKvROtoKhsVw8Kd DWdoijvgvIqUdlvbLqHgf6fTIGXpI77LmsY0dMQFM7jGqp8pWpLaMNJ8V7zjdaSrEUfB gf8dGbriFgA7BmUczgYdwroyOhEK6tmP4Eg7qoPi8N2IytytFxe1t7M5R1pr9k8+I92q NOwBJwBATwweFzE430d20yA04nP9jcawx1F3Yia3O3iv8/yrh06G38sQUrGBedo5DbpH iJ+A== X-Forwarded-Encrypted: i=1; AJvYcCWfLn2UHvLNenk9mMKaB5GUJMViiW0b6bWLjjXwYvLFhSuDgj5FlogpLBRA+hJp85HGB6r1OX5MKN1yONI=@vger.kernel.org X-Gm-Message-State: AOJu0YzA5PD5MUZvJLHWYEwIIpB9Ygje/z0hhUyYwlJXVLNhIMK+vn+V FIh/fl7tQPTQcSX3r5NeIJ9om2QH6rI6gXG1rxD+BnAedUV6Sgpq7nSioC7O7vptLUlJ2T25VSi ps3BTd74qp98ugISph2CW3W2Uu+YeJixO5bB56ikJsdAC+/h03gJVxN9uDOSAVS16mDg= X-Gm-Gg: AZuq6aKOpssutWQHTNJDxHvjhmRrd6VUfUe5q8lG+friyCHlSIyyfZgWRbFxtPiPvfN aRVtEd3Grs2heq/h9l8Wwg6g+xxWZSDGhEGRqzBSNy02MLmviA25ugrfBQffJv1W0UKk2To03Iq NqieZYz8MrIxMtw/JQYKawMfftRhFHKXsQimn+Rtw07A/fhByv8kiQJkHcZhYEepDeVnHecW7ON +4Ipli5QyOB8yx8oSIpetDikzrznKTgtPAKI4DqWU1AEcZdCqIii8jnmEArjSNBUTRs+I8DX92P wlj26EPNDBbS60omXn613l1rhtwpvMxWga+nMaA9l6yXAv78+XTtaobxJD6SfS/EaOVfTJP+Tj9 7aYLEIEsFbsJlekAK5wXIqMHKsvk5tV9Om6eChSJaB6gxB0zX6VKbXdcri4sGz0m3//U= X-Received: by 2002:a05:620a:4049:b0:85a:8fc6:5c28 with SMTP id af79cd13be357-8c71acf3225mr341018485a.6.1769687773343; Thu, 29 Jan 2026 03:56:13 -0800 (PST) X-Received: by 2002:a05:620a:4049:b0:85a:8fc6:5c28 with SMTP id af79cd13be357-8c71acf3225mr341016985a.6.1769687772773; Thu, 29 Jan 2026 03:56:12 -0800 (PST) Received: from [192.168.119.254] (078088045245.garwolin.vectranet.pl. [78.88.45.245]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-b8dbf1c5b23sm247562466b.57.2026.01.29.03.56.10 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 29 Jan 2026 03:56:12 -0800 (PST) Message-ID: <26e2aa8a-912b-4e83-ad00-130cc137aa4b@oss.qualcomm.com> Date: Thu, 29 Jan 2026 12:56:09 +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] arm64: dts: qcom: sm8550: Update EAS properties To: Lukasz Luba , Viresh Kumar Cc: webgeek1234@gmail.com, Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Viresh Kumar , "Rafael J. Wysocki" , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Xilin Wu References: <20260128-sm8550-eas-v1-1-fb80615bed5c@gmail.com> <76c24508-bb75-475a-b973-d7ad18c302ce@oss.qualcomm.com> <2ca3a260-d05f-4f2d-bf3f-08b4a3908792@arm.com> Content-Language: en-US From: Konrad Dybcio In-Reply-To: <2ca3a260-d05f-4f2d-bf3f-08b4a3908792@arm.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwMTI5MDA4MCBTYWx0ZWRfXw/0LAW/At1Zc SJ9kls1wR1323B/GAhIJ2CSWVD33H9JXzEEFw+QYjbaQOyhVZXKyC/vXeXEsySKnruvo0Smj7qX M/ZOvY6eMlg/uQEMz04szYEA0cfSDN5Pk+OjANzOwcmpxpMFPFS5/7u065Iy5lSVZiX/zoPQpFj YLvwCztMWjPExzrA0mYgqZ63wcIuXCakYtyoxK8SfoshvS/lhXb7POTYPAdJeCuRHu11a31sDfV 7msug9Hh2jwAJGn+1fMB4+HLbKM8o+xaU4fqyWF4sg02qegrJ402lrd1a2sI3Cf5WgwuzLnn18x uAd4QoRVV4H0LBPm3TnM1TdN0yTffGNsVuT11aa9Xo9AI3/cGorpcOSf9anQFAtNxn6EmYoGaAm LZ1cJZr5TiqLK1DUAtJV3A2thXCxbj+2Y6aC/WXa5pNuWu0aUhqWa5NcjbQ1BisVRDNPbA2HXzt g595Q5LZMjYK2pshK0g== X-Authority-Analysis: v=2.4 cv=Je2xbEKV c=1 sm=1 tr=0 ts=697b4add cx=c_pps a=HLyN3IcIa5EE8TELMZ618Q==:117 a=FpWmc02/iXfjRdCD7H54yg==:17 a=IkcTkHD0fZMA:10 a=vUbySO9Y5rIA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=VwQbUJbxAAAA:8 a=pGLkceISAAAA:8 a=PiMsTdOUj7AAGbzPdagA:9 a=QEXdDO2ut3YA:10 a=bTQJ7kPSJx9SKPbeHEYW:22 X-Proofpoint-ORIG-GUID: -ePg-0F9Sct6Fs_LEAGaH9SxeaWsOf4x X-Proofpoint-GUID: -ePg-0F9Sct6Fs_LEAGaH9SxeaWsOf4x X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1121,Hydra:6.1.51,FMLib:17.12.100.49 definitions=2026-01-29_02,2026-01-28_03,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 malwarescore=0 adultscore=0 priorityscore=1501 phishscore=0 lowpriorityscore=0 spamscore=0 impostorscore=0 clxscore=1015 bulkscore=0 suspectscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2601150000 definitions=main-2601290080 On 1/29/26 12:38 PM, Lukasz Luba wrote: > > > On 1/29/26 11:23, Konrad Dybcio wrote: >> On 1/29/26 12:05 PM, Viresh Kumar wrote: >>> On 29-01-26, 12:00, Konrad Dybcio wrote: >>>> On 1/28/26 8:11 PM, Aaron Kling via B4 Relay wrote: >>>>> It should be noted that the A715 cores seem less efficient than the >>>>> A710 cores. Therefore, an average value has been assigned to them, >>>>> considering that the A715 and A710 cores share a single cpufreq >>>>> domain. >>>> >>>> Regarding the CPUFreq domain shared across cores with different power >>>> characteristics, I think we shouldn't be lying to the OS, rather Linux >>>> should be able to deal with it, somehow. >>> >>> cpufreq-domain == cpufreq-policy here I guess. All CPUs that change >>> their DVFS state together should be part of one policy. Not sure if >>> there is something else you were pointing at. >> >> Yes, they change their state together. >> >> The question is whether it's okay for these CPUs to have different >> dynamic-power-coefficient values, and whether the EM code won't be >> thrown off by that. > > The Energy Model won't support that, since it's a single > instance per-cpufreq-policy and we have to pick 'some' values (in this > case). Do you think taking an average, like suggested by the original author, makes sense here? >> Again, they differ because within that shared policy, there's 2 >> separate kinds of cores (2x Cortex-A715 + 2x Cortex-A710). >> > > For this SoC I assume the physical HW (power rail and frequency domain) > is linked to those 4 CPUs. That's quite novel configuration... > > Maybe I could give you some hint at least for the EAS part (the EM > for EAS), because for something in other areas (e.g. thermal) might > be really tough. In this case, these cores have **fairly** similar power/perf characteristics, as evidenced by the measurements in the root of this thread, see: https://lore.kernel.org/linux-arm-msm/20260128-sm8550-eas-v1-1-fb80615bed5c@gmail.com/ > What are the other CPUs in that SoC and their DVFS configs? Domain 0: 3x A510 Domain 1: 2x A715 + 2x A710 Domain 2: 1x X3 Konrad