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 75BD6277032 for ; Fri, 11 Apr 2025 05:01:22 +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=1744347683; cv=none; b=MXQOiL2aAn0m+HNz94fy+PZQoZFAL4mb4ePw+Mfvd9Pvf3rAlujivYMsjhnw/bO3C+m4kmddmtBrNlkKZWgzxKeh5XVhpZiGMro0JixBK9t/7ZJV2/zyHlvXjgDz2uy42CjTtONqBkhA1raFMD96jZCNj3OW/FKNsSdrESK8sNo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1744347683; c=relaxed/simple; bh=Bqqip6vv1AXlW007YF0paom7H9l2UwCGujjxv1oS0Io=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=K+/zpPP0r6xjbwzBQgs6bIJzpNES137sBiH1Lume+Xy4haHSCT3m/7mEEvPyVAWcaxjImIU67qVIzxnPI7Dp14I5jiNcrhi68kdIYXcyRbBH781H9ITD840JU7rdDbignfIzjuYEYG3F9arJ/OHZ06PdZ5PJB0OSsF5YyBwRVB4= 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=SnnRPlaO; 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="SnnRPlaO" Received: from pps.filterd (m0279867.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 53AG3DtO014062 for ; Fri, 11 Apr 2025 05:01:21 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= iU3jF42CcRbDvr47i+k1eJkOuCjg/GXrWsAC7AGbOiU=; b=SnnRPlaOCdmkVqZq gb6vEUDOmCtJa/M2Kejm6+mqBauZf5wNspnKNhoDa0aVWUlMXjjSiQO5BMfQj0N1 850wLswsmidsF7o8UnqBGIW+SFssP0fUgrjSDCFmEsdljWZRPRLLoxCmRQZUdisP eXFzRyOpOHX8PnKrunk4uvT6mq7XEIIvKZ9xBmg/h+sHBN9YdCOccuGNtqcaiK6G TLKbKMClnAYUWQq7yKyL/LJE3LLZYJrsv1ZWTVBl5JCs+wGg/PzBTUM1ftrTZUSw B/qnposh/BzXZFiT9EJFzthnb9Al/Q9jhIqy8RBd4OtTMAmTqLHI1WB688hzPe63 aBcy6A== Received: from mail-pf1-f198.google.com (mail-pf1-f198.google.com [209.85.210.198]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 45twbeh8wm-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT) for ; Fri, 11 Apr 2025 05:01:21 +0000 (GMT) Received: by mail-pf1-f198.google.com with SMTP id d2e1a72fcca58-736fff82264so1282611b3a.1 for ; Thu, 10 Apr 2025 22:01:21 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1744347681; x=1744952481; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=iU3jF42CcRbDvr47i+k1eJkOuCjg/GXrWsAC7AGbOiU=; b=AJobJP8xR1TRvDwtXAhIBOBVgzAEEHV07GznpNZTRKpTdQBj3R0FbXYj2Qg+jAuEmp NwW3PsiACtJvfyIOrgs93F9tT1eKlsY5mSy4F1y3A0zNip+ixYQEQKCfL/flyHVBoEIB bP/lj3BIL+jtwRvt5gCgrK7vqAUVdDEl6UT3YWm8K/rdsfsh+7MMLMgC4/HQQ+pcauiz xZEID6ntppdGMgJsZCkyCpHu2UkH3/zXSwp/xLJMdbUX0xUN5SrpkEEfKFm+SEOklNqh D1JXw5b8CeXhMLWTi9RHv3+CzvP9CLoeRz8QvjTtGU2vOhq2dsKkplIF1jlYCqZRA+DV JuJw== X-Gm-Message-State: AOJu0Yw6T4F6mLoUIL0xOlWtu5SKVoG/72NLVUpnikFWQJtXNTBqG55x kewzKeJ+XMqw0qJYWELjpU/ILAA1a8T1Xjq8hGjl08VoMri27ewjXsW4GPU+I0o9ufqzRv5Vw/1 GM7GHB3i9wCFSsv4ahL9nYTXkbjMPCNcrRw7HAjkeJaR4LQzTh0jMNM/v6p4ZrSM/ X-Gm-Gg: ASbGnctDBKz5DJ1R+fyp70wd+b9FBTs7WcKn+5Stv7SWDKkpVPaklG2glWcbtu7h1b2 WZ100odBEdIHu7jValYpmUzGyqHr9VeFLdJNcuq1mT6X5JvZizH8LAd8Y0Vy2bw/0Txa3MuOu4v VRLy3NP0ieip3fM8kPV9vgCWlC0PxcEKVeoL8w+B/itzIUKWK0ixhQ/XRFKfH380gZJlyWhqQdY iYpybHBbTzTsbxgfDs/dFHeSktuQUntckQVigr+nTT4Skd0k5SfPixV6F7PCIG5VZxH0ViLdP4h 2Co8JdvERhXgw89nulCFiGN7/KNOCb+v8q/jZ9GLP2WpuyKCkI9P X-Received: by 2002:a05:6a00:98b:b0:736:5969:2b6f with SMTP id d2e1a72fcca58-73bd0c23517mr2253805b3a.6.1744347680614; Thu, 10 Apr 2025 22:01:20 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFIC6y3kfTqx6FOCy0TY1K2LPWbtvRdwzYJO2IyUfSa5wij8amglx6d0xzJSPEL9BxFADh8lw== X-Received: by 2002:a05:6a00:98b:b0:736:5969:2b6f with SMTP id d2e1a72fcca58-73bd0c23517mr2253757b3a.6.1744347680105; Thu, 10 Apr 2025 22:01:20 -0700 (PDT) Received: from [10.151.37.217] ([202.46.23.19]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-73bd2198c17sm529769b3a.36.2025.04.10.22.01.16 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 10 Apr 2025 22:01:19 -0700 (PDT) Message-ID: <54efe237-01ea-4f98-8dbe-390d344aa6cf@oss.qualcomm.com> Date: Fri, 11 Apr 2025 10:31:14 +0530 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 RFC 2/6] arm64: dts: qcom: ipq5424: Add the IMEM node Content-Language: en-US To: Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Bjorn Andersson , Konrad Dybcio , Wim Van Sebroeck , Guenter Roeck Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-watchdog@vger.kernel.org References: <20250408-wdt_reset_reason-v1-0-e6ec30c2c926@oss.qualcomm.com> <20250408-wdt_reset_reason-v1-2-e6ec30c2c926@oss.qualcomm.com> <6298f149-caae-49d0-af68-c3d102d0ef7d@oss.qualcomm.com> From: Kathiravan Thirumoorthy In-Reply-To: <6298f149-caae-49d0-af68-c3d102d0ef7d@oss.qualcomm.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Proofpoint-GUID: ATVtbdKBLBzbLdBqXFhFcBYVR6Sah2Gd X-Authority-Analysis: v=2.4 cv=T7OMT+KQ c=1 sm=1 tr=0 ts=67f8a221 cx=c_pps a=m5Vt/hrsBiPMCU0y4gIsQw==:117 a=j4ogTh8yFefVWWEFDRgCtg==:17 a=IkcTkHD0fZMA:10 a=XR8D0OoHHMoA:10 a=EUspDBNiAAAA:8 a=jTFA79TV-ThCIif_KeMA:9 a=QEXdDO2ut3YA:10 a=IoOABgeZipijB_acs4fv:22 X-Proofpoint-ORIG-GUID: ATVtbdKBLBzbLdBqXFhFcBYVR6Sah2Gd X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1095,Hydra:6.0.680,FMLib:17.12.68.34 definitions=2025-04-11_01,2025-04-10_01,2024-11-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 mlxlogscore=880 lowpriorityscore=0 adultscore=0 phishscore=0 bulkscore=0 mlxscore=0 malwarescore=0 suspectscore=0 priorityscore=1501 spamscore=0 clxscore=1015 classifier=spam authscore=0 authtc=n/a authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.19.0-2502280000 definitions=main-2504110035 On 4/10/2025 12:11 AM, Konrad Dybcio wrote: > On 4/8/25 10:49 AM, Kathiravan Thirumoorthy wrote: >> Add the IMEM node to the device tree to extract debugging information >> like system restart reason, which is populated via IMEM. Define the >> IMEM region to enable this functionality. Corresponding DTS and driver >> changes will be added incrementally. >> >> Signed-off-by: Kathiravan Thirumoorthy >> --- >> arch/arm64/boot/dts/qcom/ipq5424.dtsi | 9 +++++++++ >> 1 file changed, 9 insertions(+) >> >> diff --git a/arch/arm64/boot/dts/qcom/ipq5424.dtsi b/arch/arm64/boot/dts/qcom/ipq5424.dtsi >> index 5d6ed2172b1bb0a57c593f121f387ec917f42419..a772736f314f46d11c473160c522af4edeb900b7 100644 >> --- a/arch/arm64/boot/dts/qcom/ipq5424.dtsi >> +++ b/arch/arm64/boot/dts/qcom/ipq5424.dtsi >> @@ -486,6 +486,15 @@ ssphy_0: phy@7d000 { >> status = "disabled"; >> }; >> >> + sram@8600000 { >> + compatible = "qcom,ipq5424-imem", "syscon", "simple-mfd"; >> + reg = <0 0x08600000 0 0x1000>; >> + ranges = <0 0 0x08600000 0x1000>; > It looks like this should be a little longer Yes. It is 112KB. But only first 4KB is accessible by all masters in the system, remaining regions are access protected by TZ. I shall mention this in the commit message in the next version. > > Konrad