From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=205.220.180.131 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1794943149; b=0T2BbdZ78B8Nl0NJPCDjuUENCXQbToi7Knnfc3i+hx8umD9ax3yFLJNVbvi7h9pZcvYZ 0vFZMsuA4MnsnNXaH4F+/JgWGijhgxRYxhts3D+QOvjKvYLiyjS5HquxWWfVdrW9hU8Qf gdxhvRdaXo1KXiv43x7iV223eIP0Th+PmP31LazPtbT1vZT8RzQYxcExDlgpHIi57y6IB eLe1x6QkSHWqp+7pXvfjFQVMGw+00lX101nLmqZYmC7PSENNxvHGY/oSlTsKI92RvSiYI jv0pwIuL2dsUqtYkXuHjgB+qPYS3R/A4kAGf77UZLIYty9b9HOIQqZKDYGpDv6WMDjQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794943149; h=DMARC-Filter:Received:DKIM-Signature:Received:Received: DKIM-Signature:X-Google-DKIM-Signature:X-Forwarded-Encrypted: X-Gm-Message-State:X-Gm-Gg:X-Received:X-Received:Received:From:Date: Subject:MIME-Version:Content-Type:Content-Transfer-Encoding: Message-Id:References:In-Reply-To:To:Cc:X-Mailer: X-Developer-Signature:X-Developer-Key:X-Proofpoint-Spam-Details-Enc: X-Proofpoint-ORIG-GUID:X-Proofpoint-GUID:X-Authority-Analysis: X-Proofpoint-Spam-Info:X-Proofpoint-Virus-Version: X-Proofpoint-Spam-Details; bh=P64yP0RrCxgP9qn5wf8Xtpf3P+cqpGU4XTo5fll5/sk=; b=IpB3IJ+V70lJL5E5zc36lUhUd/mWN0NWax+uRUUIMtXb7MeDrfGP/lY2ZdM+Cj1Ue0tn jxitEvdKulY10whb15n8oB4uesaFs27zFmW5k3TAKN4POfh5C4Y+PSrGslr/NO5uzI4it gAPg6p9/RM5KSMPhEB0hP0BG0XXACzhDkP8tOlzPbpP0Jba0QeDabYi3+dbQCXBj04qDc HKsimLjZmitP6nwkfgZ8MGYG5sv0b2qXaisUVz7CU4k0d+8Evd4Hz2XRtm4ULAZz7iZyz xSbjKF3i2c5ayCAJSaAgV3quKmwyE0NxQfBmMD1ID0XgGAXz6hq37AGIyLDgtqkFfXQ== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=oss.qualcomm.com; dkim=pass header.d=qualcomm.com header.i=@qualcomm.com header.a=rsa-sha256 header.s=qcppdkim1 header.b=hkXSH2lU; dkim=pass header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.a=rsa-sha256 header.s=google header.b=dZ7o9Sh6; arc=none smtp.remote-ip=205.220.180.131 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5C083606A333 for ; Tue, 17 Nov 2026 19:19:09 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 5C083606A333 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none 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.a=rsa-sha256 header.s=qcppdkim1 header.b=hkXSH2lU; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.a=rsa-sha256 header.s=google header.b=dZ7o9Sh6 Received: from pps.filterd (m0279871.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 6AHJ6eHY3093215 for ; Tue, 17 Nov 2026 19:19:08 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= P64yP0RrCxgP9qn5wf8Xtpf3P+cqpGU4XTo5fll5/sk=; b=hkXSH2lUnTJOZgeo cw2HIU8tUsiI3jryBWqsAgMWzxIno/nxpSwM0W+PUou0vwlBNq2eik1MGWw+6D7u KfXYpcW2OmsHrTPlrrUA98z0/BzzRIjsDtyVBWVgYy3GKhsVSGqEuoEPW0Ug/WY/ jKk3qiBuzqK8d5uznp+UvxlV5MEte8euEbmL3wiD9sigkUjeF3subD1RSotLkxTr pew1BMfDzEpY4si+fLOjC9mbpDFRvQ39mAZTS5Tqv6Dl2BWUpq0yxWxYqDg9oj21 hxszz4pyS57oSXOLf7UW0LLYso55IBJGqy/BmP2OGI7Hdxd6QATtKZ8gCCgktBy3 7dOW7w== Received: from mail-dy1-f197.google.com (mail-dy1-f197.google.com [74.125.82.197]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4j0tjm0smk-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Tue, 17 Nov 2026 19:19:08 +0000 (GMT) Received: by mail-dy1-f197.google.com with SMTP id 5a478bee46e88-33bf1d17dfeso29220eec.2 for ; Tue, 17 Nov 2026 11:19:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1794943147; x=1795547947; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :content-type:mime-version:subject:date:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=P64yP0RrCxgP9qn5wf8Xtpf3P+cqpGU4XTo5fll5/sk=; b=dZ7o9Sh6Y3a4okWmZPl2nuoXKfCGLd3a7beYoH6pNZcuogpZ04BjsnYQqEdiwYg9He h+Ueqmxmc3F6yJZknJkk/nTHmcMpzkYzWgL+4CHeMGmV1UWDDdqskfRK55yb7KGUM1A8 q/n5G8F/zwskgq3lj6uQ0ofbzgyiDlaY2XZNCjuDzTo60brdNmlKXAkYyUdML1o7AZW/ vqgjbA5hYAmHV+G1NU2w80YdPrRSAiOvuPwwfU1jg7tbJuKMlGvvt9mZSQWJzE6A8gK3 LjrHYQnNtl1BsiT1gtnBVh7q/7oyq7N/llpAdRz4AdzgoDROG1UyAIGcr0vs6RdYUxk6 gKnA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1794943147; x=1795547947; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :content-type:mime-version:subject:date:from:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=P64yP0RrCxgP9qn5wf8Xtpf3P+cqpGU4XTo5fll5/sk=; b=Ztt86PluGI1rFV1trPnNEwFAfWjKStjuJxPXXQBOLff/c8GIp/p+jk3lecpXK7myHI CALFmk3pDGwvla3NNT8j3ngJi7+YXB2sr/sISDQQhVJ8V4iJJg4TKxfwOUzG2kiAQEXd Gze8qxXHdqqTiDtdmGRas+ERkUspYeHQ5JM5MIItiId+WzCoRxxgmX8vZiHc4+BN28oq s+W3TB7A93wwOLJM15zw02lRVxeIv1StQAZ49599TLI5M/3Yj7hgL3adIcZqHuT7XDev CASkaPMPr7nt6s3eNTYb7/Xp0OEkqZCauPtXwN2ULCPV1JaRM9Oe3eKn++dEI7p4zlKW wTgA== X-Forwarded-Encrypted: i=1; AL+hErEAvTgg4j04zzX9jK4DY3q6QkqS5EI4apHBMk3hJRkBxKOCYaKJMmgUW9/zuPgrLz1IoKbsutPVU0SwJ2g=@vger.kernel.org X-Gm-Message-State: APuU4Z+v3NjgStAhy5ksaruUubVMTKlHNVHMhx5QVDB6MdIAs8Ol9Yu3 cwYPG5M4ObZyciLOIXRnoLjmR7d3O4P5ZFI994NZTFI/F4ius6lsg6I37dh2fmraWJHS15otjO+ gLK+07otmMahyI4b73pwOGQYfyX3KsmUsPwzwplagjYew4q/gi3qvfHaI4SZ5RHDDah8= X-Gm-Gg: AZFdTZe1iSDluqAEsfcY4PZGMaXf1AOr+INm/cEhx+Nq8czyem87PqBkWD7wJ/0EjL/ OsR1tyw+KGgEx6msZ7yQHdqFQGLHrXX+VgJuskAPfZ0818YLpFAZqSRwG1kpUjNPJHTM/DBbv3q ibM/pMAbnsbN+gAnVokZhBV5Bb33dpHI85dEDQpEHecRtBJyYiYkUaBwMPnLVuYwX451E7l+hu7 k0O6nW3Ym3T9GsJVqtj0ZW7OMU4CyZDevu3Oej3TROqiVCoF+jrMDv2i3pQv+LHCOf83ZwTU/Tg sRMADNJ2SIJdv/wwt9tUm8vEOj8A0HUSLjyG0wEUnp/bDxDDXQ8ipI8nljdft5YCYAvtwkixad8 7zVrffxB5aiDglONoFi5j1cWot1ATYiUH1kxWCcodvKOY8HtplnBJ1iKNyG/kcL8w3gkSeD86pP w5wB8q X-Received: by 2002:a05:7301:92c:b0:381:dc3c:4c16 with SMTP id 5a478bee46e88-3827afccfd8mr520375eec.0.1794943147052; Tue, 17 Nov 2026 11:19:07 -0800 (PST) X-Received: by 2002:a05:7301:92c:b0:381:dc3c:4c16 with SMTP id 5a478bee46e88-3827afccfd8mr520311eec.0.1794943146404; Tue, 17 Nov 2026 11:19:06 -0800 (PST) Received: from hu-uchheda-hyd.qualcomm.com ([202.46.23.25]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-382a63059f8sm32197eec.9.2026.11.17.11.18.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Nov 2026 11:19:06 -0800 (PST) From: Umang Chheda Date: Wed, 18 Nov 2026 00:48:22 +0530 Subject: [PATCH v4 3/5] arm64: dts: qcom: monaco: add RAS error source nodes X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20261118-aest-devicetree-support-v4-3-936587251e8f@oss.qualcomm.com> References: <20261118-aest-devicetree-support-v4-0-936587251e8f@oss.qualcomm.com> In-Reply-To: <20261118-aest-devicetree-support-v4-0-936587251e8f@oss.qualcomm.com> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Umang Chheda , Ruidong Tian , Tony Luck , Borislav Petkov , Bjorn Andersson , Konrad Dybcio , Abel Vesa , Richard Cochran , Catalin Marinas , Will Deacon , Lorenzo Pieralisi , "Rafael J. Wysocki" , Len Brown , Robin Murphy , Peter Zijlstra , James Morse , Sudeep Holla Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-edac@vger.kernel.org, Avaneesh Dwivedi , Faruque Ansari X-Mailer: b4 0.15.1 X-Developer-Signature: v=1; a=ed25519-sha256; t=1794943110; l=2183; i=umang.chheda@oss.qualcomm.com; s=20260328; h=from:subject:message-id; bh=rzIMy+dr2O5MmVR74ypVHrojU5YGoqey7SSKaB74tcU=; b=Cqehjv7sxt8HmB6BRMDrXCbGAdNFBY66C3nTKtWUTzfRwuHm3f0cD+YCdB0dJs76q/VA4mOuW 7W+AFJKELTqAy8VkBh5ve3jTuZ1w0NyNMOsCc8C4vxQBn2t7Cnxf+lG X-Developer-Key: i=umang.chheda@oss.qualcomm.com; a=ed25519; pk=3+tjZ+PFFYphz0Vvu4B14pBQSzqcG0jZAQspTaDRQYA= X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYxMTE3MDA3NiBTYWx0ZWRfX45tGj/Lks5bw 5Uo7AgQy4/gs7K4B0rbw2fKuco0C2N1Pjrly6D4juecMOYjTTz7h6uOgSeWxNl+ZC1Xz4qDP9SQ q3ymvYeSuVP7BuP6ADuQ0+0v4GueuqAvV4pqLxuXnqOhgl1wzbkcntbpsQ0ZYsaIPHmA0HnnFzr RxmAMMTjyiZJ2/R5OA+eK7v4ZerJrQ9KfRUNUT6YRztZGf8RBTXYKqpqd/6l29S+EG1jQ/yNA/F 17RNmxpCnXF5hnDwNR4KWLiFv6jBxCYHrQHzDvN1K2HeeUsmEuLvc0fX6BY7HqwN1y0i/nZM2NA QCx1shHd18/C7iAzPvObDzS/+3eBnR6mkRkDIv3WyimmauzbkzLgqTzEk7m8fiXI55tGQ2t5ASJ f9+E0vNw8Jb6jfuSSX3Ead92b9Pgz0JtPHrBJBzRhoz+CNtDY4TByOoy+V5fKmy3OMkIsUVqTSQ naCFUKbWDlxiA7XNjgA== X-Proofpoint-ORIG-GUID: XqYLmVlRJOtsP6CnDwmkuDym-KAUIW6D X-Proofpoint-GUID: XqYLmVlRJOtsP6CnDwmkuDym-KAUIW6D X-Authority-Analysis: v=2.4 cv=Br8IUoX5 c=1 sm=1 tr=0 ts=6afca8ac cx=c_pps a=Uww141gWH0fZj/3QKPojxA==:117 a=ZePRamnt/+rB5gQjfz0u9A==:17 a=IkcTkHD0fZMA:10 a=zJRp6_cAMcgA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=3WHJM1ZQz_JShphwDgj5:22 a=EUspDBNiAAAA:8 a=KdVUwichBgNWhWzcVTwA:9 a=QEXdDO2ut3YA:10 a=PxkB5W3o20Ba91AHUih5:22 X-Proofpoint-Spam-Info: AW1haW4tMjYxMTE3MDA3NiBTYWx0ZWRfXyGa5zNSbmYw8 +25OhQOMK1TWXDAEfksOc80YUEMKfz95FseOurqf3KGLwbT7d4x+gcyes+FxrqA5ph9VJZQwc44 PE8w3IVN7TyiwC54zq0SwOhmKaHwK7U= X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.138,FMLib:17.12.100.49 definitions=2026-11-17_04,2026-11-16_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 bulkscore=0 priorityscore=1501 malwarescore=0 clxscore=1011 impostorscore=0 spamscore=0 phishscore=0 suspectscore=0 adultscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2611040001 definitions=main-2611170076 ARM Reliability, Availability and Serviceability (RAS) enables processor components(for eg cache, tlb etc) to record and signal hardware faults through architected error records and fault handling interrupts. This allows software to detect, report and, where possible, recover from hardware errors. The Monaco CPU subsystem implements RAS error records for the L1/L2 cache hierarchy and the shared L3 caches. Describe these error sources in Device Tree so that the ARM RAS framework can discover them and handle cache-related error reports. Co-developed-by: Faruque Ansari Signed-off-by: Faruque Ansari Signed-off-by: Umang Chheda --- arch/arm64/boot/dts/qcom/monaco.dtsi | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/monaco.dtsi b/arch/arm64/boot/dts/qcom/monaco.dtsi index 35fbee63d4c6..ea60d6ade02c 100644 --- a/arch/arm64/boot/dts/qcom/monaco.dtsi +++ b/arch/arm64/boot/dts/qcom/monaco.dtsi @@ -617,6 +617,37 @@ scm: scm { }; }; + l2-cache-error { + compatible = "arm,ras-processor"; + arm,num-records = <1>; + arm,record-impl = /bits/ 64 <0x1>; + arm,status-reporting = /bits/ 64 <0x1>; + arm,cache-ref = <&l2_0>, <&l2_1>, <&l2_2>, <&l2_3>, + <&l2_4>, <&l2_5>, <&l2_6>, <&l2_7>; + interrupts = ; + interrupt-names = "fhi"; + }; + + l3-cluster0-error { + compatible = "arm,ras-processor"; + arm,num-records = <2>; + arm,record-impl = /bits/ 64 <0x2>; + arm,status-reporting = /bits/ 64 <0x2>; + arm,cache-ref = <&l3_0>; + interrupts = ; + interrupt-names = "fhi"; + }; + + l3-cluster1-error { + compatible = "arm,ras-processor"; + arm,num-records = <2>; + arm,record-impl = /bits/ 64 <0x2>; + arm,status-reporting = /bits/ 64 <0x2>; + arm,cache-ref = <&l3_1>; + interrupts = ; + interrupt-names = "fhi"; + }; + memory@80000000 { device_type = "memory"; /* We expect the bootloader to fill in the size */ -- 2.34.1