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 B435635FF4D for ; Wed, 19 Nov 2025 14:06: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=1763561179; cv=none; b=sPSBo9PHgv4eA8feE/wyf7g4msds5G/PvwnNrMwTlvcwDFsRW+xUv7YiI9ey6ZGVbmpinXdI2lrcLTm3MDjITPPFNiD719UmlsjE/5vGrAAqtsT8uCHOZckvtL79SsHT9VYQKHtSUji//rvOKN5MAWdVxNGPomr8Y0KPEKaOiLw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763561179; c=relaxed/simple; bh=dpjWMKZAxDPDzdh5nmSMsAsebFf1j7wkXJlaXSuX6fU=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=ezXM5s6qRsy7sInzPxSAgFzhGZqtDyxEXVSdYxbvXUVY90dZOg4AywUOyLdwYw9Gvmlz2fbOCwkdMbthRTMMq9nzHqbqYHoWwSI3wJJWuF3FQs/7DNDuTV6UIb/0vJrYPJVLUWuvSMMjqmlwB/kB3bf6yfpwrPMlfPiu/2mfohw= 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=aXOp3Jpq; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=S407Oyr9; 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="aXOp3Jpq"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="S407Oyr9" Received: from pps.filterd (m0279865.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 5AJCCLWL1727444 for ; Wed, 19 Nov 2025 14:06: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= 0Qes0uTFZFHa9NsIpsziOa1xLGXFiHkyg/VBp5V2ZmU=; b=aXOp3JpqoNHqyPaJ u94HqWlAbGcLpISp6vR89uCUErrMYEsh6QF0haF29CoDJIwFLoUJSr1MS8tLiCsc 6awRHBEAUdkWgNS67ygthLMlaSvJzuAsUrClsfbhQgMKtqGTe0eZf/4p236SebZ9 Bn6NfZPgphqX9ACp4+rri6buICluumYUppD0TubzqqjmDeVx91vqcEmaGchmu13Q ZTZ+h8mCmmCycqKpmgZauQU7ci5uHREeCpjjzEBmc+iUgWzknoAIcb8oSnPyJ/+S FwkxTWKAsrc2wV5inmG3GyVAmomuXlB7RLiqq+8iJYrLQWST7PFqVxD4M3rPYpXx ErOjeg== Received: from mail-qv1-f70.google.com (mail-qv1-f70.google.com [209.85.219.70]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4ahdpr0a1n-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Wed, 19 Nov 2025 14:06:15 +0000 (GMT) Received: by mail-qv1-f70.google.com with SMTP id 6a1803df08f44-87ff7511178so26230496d6.2 for ; Wed, 19 Nov 2025 06:06:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1763561174; x=1764165974; 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=0Qes0uTFZFHa9NsIpsziOa1xLGXFiHkyg/VBp5V2ZmU=; b=S407Oyr9b/GBhYKkkgjSSSuJG0AZ21eQdQQr6wpVDdRcwErou2VqfaRdli++AvCNFo 16tVnSZTfiLwRkuNhlzMsb6l2vTeWFXObPGv4LBEDcW+spZX/oeYYSsweWHRs1gjLM22 +D4p+kdS4jmkNlA18Kb0PUMrTXObvTl7RiZ+jO8oHgStAGOrM/C+0LAtfVBBBdI3sl8e 8l/Pa7EYB0bYgYU16HAf4J0RJSY6NuvPEqsoXTArgMfWhyQjruJIXZ0xw8QlQZoh/iyA tKUEpDU+3DhNL/ni4/eJY4RKlj8rHaFSY6eqaW8+tP8dCUc45cirWmRheDf7X0zJoTvg BBaw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1763561174; x=1764165974; 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=0Qes0uTFZFHa9NsIpsziOa1xLGXFiHkyg/VBp5V2ZmU=; b=bqvgUgHz8LWrwiF0PlQBcMgeTAd0BZSVrzanY2pvzpmKI/DURJj/9lwVyFVwUPsYXL wFEFNH3cvVX3Zhk263fNKdgsTO9jOfk9Ld0vC4pY6zqSXoLeNP5qwMROFLPTnuBSFPIg Ne8ph1sddbn1yeLPmP9Ur9Sbc180UIENUxth4T1cm4zXQT75k28Q9nNcewiwLe5gBGYi SEr+LAYrz7+lmKZuqIHEck8mTdF6B5YIExFmytD1Qw2EAUuPR48ncc0BKiKuxIVEQurf ELP3KikSIh7mmjkzAFAC4wft61/sChD0X3RQu/rc7otQuiTqSFh7xe1CKc/jwxQ+6PXi GKIA== X-Forwarded-Encrypted: i=1; AJvYcCVlBPN7vTQoPJuiqk9NDjSSQNYxM/U1H2hhTrj1r3+3MqhrtalSv5ZqFRuQwOM/CrdAmgxZBbfWUMI2mwI=@vger.kernel.org X-Gm-Message-State: AOJu0YyLsmKiObc4Zbg/9JAsIGHKwe8ukxVE7eAW1/sWRy3PnXaL+jJM 6mVqq8kyN+vTigMjRP0YlIEiKoJxsG5yWFawMUPq4wT2JDfRC953VtJitk+sHLZAekKEy5LLUA/ 4HuMXQIUSCCLga+70P0dqxF0xnCt/lxdly20XlbR1iJdhKRNMbTVh8MLYKvGSUHQV4Iw= X-Gm-Gg: ASbGncuWx09m5MSmnq/tYmIZJZIp2JZbq2GyHr2BrCjWhobBAGdcTi6+Npo2LxsCBe6 AzimZUOOof1XXFVa8TWsKb1rHsMgvYqb8l69DuoZAGMpjCpGltONJgi27aXaBYowyfbQWt4p5XX R8cT3PaTAopRy+c+l/IlEoRo0agcEcx4lKOVPGbpt6txMXxK4ZZO1SlluCbZUqoDAXxETsJGNeS eFo0QY6Djrm7AWu16RgrNrEP3q2wlvzddqd0GxQr27WqQ4TOQtK8V1ohC/iKRR6LAKaTRZ8tCBF j01IQ1gxLItXgw5RoYD9+xbv1ZMfdxI65aDwFFa09O9wZpRFW+yxrgcUdrPpV9+7QPzXwqYPN0w sXDwNSZbvImM2gm6f2itc8FCzpuiNRI4nsZj8uum/fzOLDJndrcLD+efDad2/Idrbcas= X-Received: by 2002:a05:622a:118c:b0:4ee:87e:dee0 with SMTP id d75a77b69052e-4ee317b615emr68795061cf.9.1763561174181; Wed, 19 Nov 2025 06:06:14 -0800 (PST) X-Google-Smtp-Source: AGHT+IGC/GxW90CSjD9X99yXw14hwGdaunyaI7OzNy4Ri4K1ArJh12VHpQw536wUemF3pk/tElXELQ== X-Received: by 2002:a05:622a:118c:b0:4ee:87e:dee0 with SMTP id d75a77b69052e-4ee317b615emr68794381cf.9.1763561173574; Wed, 19 Nov 2025 06:06:13 -0800 (PST) Received: from [192.168.119.202] (078088045245.garwolin.vectranet.pl. [78.88.45.245]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-6433a3d6f5bsm15139107a12.6.2025.11.19.06.06.11 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 19 Nov 2025 06:06:13 -0800 (PST) Message-ID: <5b93af24-d05c-48a5-b552-d0374ed3f00a@oss.qualcomm.com> Date: Wed, 19 Nov 2025 15:06:11 +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: qcom: dts: sm8750: add coresight nodes To: Jie Gan , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Tingwei Zhang Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20251117-add-coresight-nodes-for-pakala-v1-1-d26bfaa44fe7@oss.qualcomm.com> <350ddcc0-cbab-4b58-8b50-5004f27688db@oss.qualcomm.com> Content-Language: en-US From: Konrad Dybcio In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Authority-Analysis: v=2.4 cv=Uq5u9uwB c=1 sm=1 tr=0 ts=691dced7 cx=c_pps a=oc9J++0uMp73DTRD5QyR2A==:117 a=FpWmc02/iXfjRdCD7H54yg==:17 a=IkcTkHD0fZMA:10 a=6UeiqGixMTsA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=EUspDBNiAAAA:8 a=lhKjhfexzfBmDlcAgNcA:9 a=3ZKOabzyN94A:10 a=QEXdDO2ut3YA:10 a=iYH6xdkBrDN1Jqds4HTS:22 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjUxMTE5MDExMyBTYWx0ZWRfX8aXXNYS5mkIk MOR5R+D85mc6eet10qIdofp/lukSDkf5XYpMBN+ucyvkjCaPyxDSMk9dSYtwsH+QONjcuh6iL3A dwKZ/QL/afVMX3CYAuGkAD6cHGHO1Fg3WBLgzw47kNK19HBLQGa+evUYOjAt7UwPIaH5RiTBvrx 8VLPsDoNP0ojRBBxeCPFmwYmw+9G3o4ZQjBXgYyfuVUpMqiS2rND3WSwiXBvSIdaHIZ+dIedmdc CFXSPNy7YgzcO36NqSXC7VJpbj0qCGsuGDa4sqjdxxjA2/RGbxd6b3mMWssXGT/9lNWPsxLakgs aW8CTc/B3P20+ff/m2NY/Ez0SDulh4DIrCECN2r2EgDTLR8S3vntDOvJZUYUBFHFt25HYedSRpZ zNlVwlt5kgANK2Aawn0TPrw3Cjfgtw== X-Proofpoint-ORIG-GUID: WoEvIZ1bFolV0FD_McZvV0TkYYT9tQpH X-Proofpoint-GUID: WoEvIZ1bFolV0FD_McZvV0TkYYT9tQpH X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1121,Hydra:6.1.9,FMLib:17.12.100.49 definitions=2025-11-19_04,2025-11-18_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 suspectscore=0 phishscore=0 priorityscore=1501 spamscore=0 malwarescore=0 lowpriorityscore=0 bulkscore=0 adultscore=0 clxscore=1015 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2510240001 definitions=main-2511190113 On 11/19/25 3:01 AM, Jie Gan wrote: > > > On 11/18/2025 6:03 PM, Konrad Dybcio wrote: >> On 11/17/25 10:31 AM, Jie Gan wrote: >>> Add CoreSight DT nodes for AOSS, QDSS, Turing, and Modem blocks to enable >>> the STM and TPDM sources to route trace data to the ETF for debugging. >>> >>> Signed-off-by: Jie Gan >>> --- >>>   arch/arm64/boot/dts/qcom/sm8750.dtsi | 981 +++++++++++++++++++++++++++++++++++ >>>   1 file changed, 981 insertions(+) >>> >>> diff --git a/arch/arm64/boot/dts/qcom/sm8750.dtsi b/arch/arm64/boot/dts/qcom/sm8750.dtsi >>> index 3f0b57f428bb..56c2605f3e0d 100644 >>> --- a/arch/arm64/boot/dts/qcom/sm8750.dtsi >>> +++ b/arch/arm64/boot/dts/qcom/sm8750.dtsi >>> @@ -3313,6 +3313,948 @@ tcsrcc: clock-controller@f204008 { >>>               #reset-cells = <1>; >>>           }; >>>   +        stm@10002000 { >>> +            compatible = "arm,coresight-stm", "arm,primecell"; >>> +            reg = <0x0 0x10002000 0x0 0x1000>, >>> +                  <0x0 0x37280000 0x0 0x180000>; >> >> This region is a little bigger but it's not described clearly. Is there >> a reason to use this slice of it and not the whole thing? > > This region is about the STM channels which are allocated for APSS/HLOS. The channel 10240-20479 is allocated for APSS/HLOS, each occupied 256. So the start address is 10240 * 256 = 2,621,440 (0x28000). The length is 0x180000 because we only use part of these channels so far. This is useful information. Could we better document it internally in the usual place one would go to check on registers? Konrad