[PATCH v4 5/5] arm64: dts: qcom: shikra: add RAS error source nodes
Umang Chheda
umang.chheda at oss.qualcomm.com
Tue Nov 17 11:18:24 PST 2026
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 Shikra 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 <faruque.ansari at oss.qualcomm.com>
Signed-off-by: Faruque Ansari <faruque.ansari at oss.qualcomm.com>
Signed-off-by: Umang Chheda <umang.chheda at oss.qualcomm.com>
---
arch/arm64/boot/dts/qcom/shikra.dtsi | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/shikra.dtsi b/arch/arm64/boot/dts/qcom/shikra.dtsi
index 2623e139196f..5c4a3ce34717 100644
--- a/arch/arm64/boot/dts/qcom/shikra.dtsi
+++ b/arch/arm64/boot/dts/qcom/shikra.dtsi
@@ -332,6 +332,26 @@ opp-2208000000 {
};
};
+ 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_3>;
+ interrupts = <GIC_PPI 6 IRQ_TYPE_LEVEL_LOW 0>;
+ interrupt-names = "fhi";
+ };
+
+ l3-cache-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>;
+ interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH 0>;
+ interrupt-names = "fhi";
+ };
+
modem-etm0 {
compatible = "arm,coresight-dummy-source";
--
2.34.1
More information about the linux-arm-kernel
mailing list