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 BBF3E2686A9 for ; Fri, 9 May 2025 08:54:07 +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=1746780849; cv=none; b=N99O/q/qeQbbE6UVPmHWQ0sQNIPxhZeLj8WWtggocqSAPGpKj5wIMaKMQa4iB1KXfOaVsVUMbJ+yAyovZKgyVICr0/EBieHEAECyKa2Jwt7WcFcx4tLX9CEL4qK6Jb7bTI3f5X9PXGXOqLLdtFRtcQtMabf2Firyzlw0CID8dao= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1746780849; c=relaxed/simple; bh=OmNQjmyPp6Z636I5uUjUoUqHm3MUQ4+t+kb9qveiRHU=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=kJJ3rI0l1Y03xSPG9Qn12JiVtyVr8RO85LM3YvHSXmkXuq7hEhjmmpETqZQnQmi9q3hBUGP6yWtXJNdQsSDRAbxKnSU2tABy7K2czIDMD6n8Hhn9v2w6y76Aj/58tixQczDVJuf+Va5iyW1YHcyX08jimodCQbzqO0V3W93nUXI= 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=A2AJc1qN; 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="A2AJc1qN" Received: from pps.filterd (m0279870.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 5492Ceuq014014 for ; Fri, 9 May 2025 08:54:06 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= IV0D8yzLQVRBQnd1oWrr/dIt7LcIbiRjDinSoGOBI8E=; b=A2AJc1qNusIAE7xI qjQA4HRPlAVjmd7TRXJw85IGyhazSu4EnETJcer+0zi3LKrWg2UuBo4JPyGDPJNy BeIRFGsbOGiX6ibkldPHI+HoZvZkT//7QeBanFsNWBxMSIkEWBgRFCUlPcxjkEI4 DS2gsuWuFRGrgPBdtMvmA81XwdT7g7o6bkddJy9Y/ahDh5O+m+pKfzqxno2uH+Qk mMkB8aUHsS6CO+pGq12mWJhFSBz2vDUR9MjPjg0/4YGtoO3u7vymrfAR0kcB/Qwe Uyvb4wY7VNW5B+BwMF14Q+W6KjYL6OnvOPOkhT2p3S0hEWwuU9mO6YwfuDbpLdoo Nl4H6A== 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 46gnp4m1ej-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT) for ; Fri, 09 May 2025 08:54:06 +0000 (GMT) Received: by mail-qv1-f69.google.com with SMTP id 6a1803df08f44-6f2c8929757so5021986d6.3 for ; Fri, 09 May 2025 01:54:06 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1746780846; x=1747385646; 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=IV0D8yzLQVRBQnd1oWrr/dIt7LcIbiRjDinSoGOBI8E=; b=izZsLpqCWjN+90GF5rhSRTqCWG3ENQNmur9SOxEPMJsL5OJ2ywsTr8QJaW84YWKlma LUYbuw4ShIBRmrOQzIn5m4bB8+WxYRxZ8TOBiUMQG+Io+c9AgScPrVhPCPeOnE1BW745 aghCKBVQRe/ys28UrOdNjn49AXJrtsOZ60l7y4Qw5HjTfWpBxVyAGZ7GCI8uwYCb0+8f hd4meOgi1YdExJMfTZ9BEJxcdfcsV/qtJ9RbC8oLEH8BPmb/QTF3kxZj/m3VMBKzG+b/ YYe1GJ/igN/r0jK2YpKdd86BuvqqzOsAMP9OhwGk1ob8mFZYqeKjpmbu0MRHD3ksHbZ6 pu2g== X-Forwarded-Encrypted: i=1; AJvYcCWpeuNoRCz83zETZIuKpW8cfYevWGjfRLvmTJoFZ+OxR/EwW87PvM2Oq41sYFfu6QWBPDexbXeyvsfnlp4=@vger.kernel.org X-Gm-Message-State: AOJu0Yz3cTgqXpb43jEobFxEeoBQ5tMl6ZVlp6Ew7CSc0UBaP2AxAN7H lil9aAF4iEcHhmyTA23xu72XOt2lYf4RlR+AqEkYLiBzCe+WjruMQkZvWcj2vuqPKBsoJ8rSpqm 62P3N6yQDWfKozBeUQLbzxFhI8TeZDfEn5UNEecitlyH4hfarqw5FQmJT8ZA21JI= X-Gm-Gg: ASbGncsdNCDrHETtkPzOn7cLxnRAXVEPmDqSmtaxEWQFM+Gn0P1SZUoyU0mfusrvf2a 5ukZeiP04wG9tI4ggp89xkYh1GqjsiM2KlIpPjGJaY/8YzEx4RaTDDrUjn8iN/UJ83zvLrhCxMt zzFmbDDxO4vzPFg5VOAZwaglQGb1hBt8/rYSZXIu6St4M1FRvIxLWy/xii++RtjPjN/VVLLIlff I2kztjTPlG6znJKwiZI/oJ/CedY8Ws8zQYgjMBB0UCM0medZxU4C/cFZJ37NN3EA9VHsk8HoBVS ml+eASKTcV4p+3yGUJZHrFJfxjFhmdJNZPESnQBWjLI2ws91IY6NUwnDd01BkaRC8WE= X-Received: by 2002:a05:620a:4245:b0:7c3:e399:3289 with SMTP id af79cd13be357-7cd010f666fmr137576685a.4.1746780845776; Fri, 09 May 2025 01:54:05 -0700 (PDT) X-Google-Smtp-Source: AGHT+IH+J/MkT6NQsYDL7XSlUAYiFpI2bUxkR6fZJcPuGNLv0URPMJ0peP3i2w8xGWlPulpMsyQ3OA== X-Received: by 2002:a05:620a:4245:b0:7c3:e399:3289 with SMTP id af79cd13be357-7cd010f666fmr137574785a.4.1746780845419; Fri, 09 May 2025 01:54:05 -0700 (PDT) Received: from [192.168.65.105] (078088045245.garwolin.vectranet.pl. [78.88.45.245]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-ad219348762sm120339466b.69.2025.05.09.01.54.03 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 09 May 2025 01:54:04 -0700 (PDT) Message-ID: Date: Fri, 9 May 2025 10:54:02 +0200 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 v2 4/6] arm64: dts: qcom: qcs615: Add IMEM and PIL info region To: Lijuan Gao , Konrad Dybcio , Bjorn Andersson , Mathieu Poirier , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Manivannan Sadhasivam , Konrad Dybcio Cc: kernel@quicinc.com, linux-arm-msm@vger.kernel.org, linux-remoteproc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20250507-add_qcs615_remoteproc_support-v2-0-52ac6cb43a39@quicinc.com> <20250507-add_qcs615_remoteproc_support-v2-4-52ac6cb43a39@quicinc.com> <64893588-544f-4cb0-8c0b-7eef588468d5@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-Proofpoint-GUID: 0kReFz_hvHJ3H1OMKdv0z4cx7R612uSO X-Authority-Analysis: v=2.4 cv=E5XNpbdl c=1 sm=1 tr=0 ts=681dc2ae cx=c_pps a=wEM5vcRIz55oU/E2lInRtA==:117 a=FpWmc02/iXfjRdCD7H54yg==:17 a=IkcTkHD0fZMA:10 a=dt9VzEwgFbYA:10 a=COk6AnOGAAAA:8 a=0LysrvarD7n8M2PFuPIA:9 a=3ZKOabzyN94A:10 a=QEXdDO2ut3YA:10 a=OIgjcC2v60KrkQgK7BGD:22 a=TjNXssC_j7lpFel5tvFf:22 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjUwNTA5MDA4NSBTYWx0ZWRfX6xvbr3V+CYd1 469iCJaxAdUJI9Ev90yBixbtXxyHJHHhs6cmC6vxlMC2+AE8/NfS6+Po/Pl2nOt7Z2Qhpuq3BdA rdUhUaPNVcju4hslO9Isok+u+x1VHMsW7n2MyB3cc94uRANCOKNT4rL8M7XbCGEwnFvN3Ftjmoa +oilTIqpJtgUsPi6j+9IVu56JZ+mhe4Qd54G0s5BEXcU9Z/Bn0p/OZl/gwh+zxQoecO+wq5jMup a0BDN14VDWRzPhGkZbVasAgXdt5kZXt/OJShvnRWWZcT0gtE7aOrBhusfgsGoHD2o9zGYs0m2/u kaBzMRRcwdw3y5tpI637ZfSbUohlnCqYH2tFr3vsv0QOLUlgUJFHqQYbg1EKgPNnFk67I6j0zK5 O+tr+dI/YEVrA3dnLJKK0hNiaZwZKx/3FlE8TlC9nzaCIZx0w+EID0bXtyg8sxYUW5IVDKuO X-Proofpoint-ORIG-GUID: 0kReFz_hvHJ3H1OMKdv0z4cx7R612uSO X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1099,Hydra:6.0.736,FMLib:17.12.80.40 definitions=2025-05-09_03,2025-05-08_04,2025-02-21_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 suspectscore=0 adultscore=0 mlxscore=0 malwarescore=0 bulkscore=0 phishscore=0 spamscore=0 priorityscore=1501 mlxlogscore=999 lowpriorityscore=0 impostorscore=0 classifier=spam authscore=0 authtc=n/a authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.19.0-2504070000 definitions=main-2505090085 On 5/9/25 9:37 AM, Lijuan Gao wrote: > > > 在 5/8/2025 10:41 PM, Konrad Dybcio 写道: >> On 5/7/25 12:26 PM, Lijuan Gao wrote: >>> Add a simple-mfd representing IMEM on QCS615 and define the PIL >>> relocation info region as its child. The PIL region in IMEM is used to >>> communicate load addresses of remoteproc to post mortem debug tools, so >>> that these tools can collect ramdumps. >>> >>> Signed-off-by: Lijuan Gao >>> --- >>>   arch/arm64/boot/dts/qcom/qcs615.dtsi | 14 ++++++++++++++ >>>   1 file changed, 14 insertions(+) >>> >>> diff --git a/arch/arm64/boot/dts/qcom/qcs615.dtsi b/arch/arm64/boot/dts/qcom/qcs615.dtsi >>> index 53661e3a852e..fefdb0fd66f7 100644 >>> --- a/arch/arm64/boot/dts/qcom/qcs615.dtsi >>> +++ b/arch/arm64/boot/dts/qcom/qcs615.dtsi >>> @@ -3266,6 +3266,20 @@ sram@c3f0000 { >>>               reg = <0x0 0x0c3f0000 0x0 0x400>; >>>           }; >>>   +        sram@146aa000 { >>> +            compatible = "qcom,qcs615-imem", "syscon", "simple-mfd"; >>> +            reg = <0x0 0x146aa000 0x0 0x1000>; >> >> 0x14680000 0x2c000 > > I checked the latest datasheet, the Shared IMEM address is 0x146aa000 and its size is 0x1000, 0x14680000 is the start address of IMEM layout. The shared IMEM is used for debugging purposes, while the others parts are dedicated. Even if we don't use the entirety of it, it's good to describe the whole block Konrad