mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: York Sun <york.sun@nxp.com>
To: bp@alien8.de
Cc: linux-edac@vger.kernel.org, linux-kernel@vger.kernel.org,
	York Sun <york.sun@nxp.com>
Subject: [PATCH RFC 2/2] arm64: Update device tree for ls1043a and ls1046a to enable edac driver
Date: Wed, 14 Mar 2018 17:17:47 -0700	[thread overview]
Message-ID: <1521073067-24348-2-git-send-email-york.sun@nxp.com> (raw)
In-Reply-To: <1521073067-24348-1-git-send-email-york.sun@nxp.com>

Add edac node to enable error detection for L1 and L2 cache.

Signed-off-by: York Sun <york.sun@nxp.com>
---
 arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi | 9 +++++++++
 arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi | 9 +++++++++
 2 files changed, 18 insertions(+)

diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi
index d16b9cc..4fa14db 100644
--- a/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi
@@ -749,6 +749,15 @@
 		};
 	};
 
+	edac-a53 {
+		compatible = "arm,cortex-a53-edac";
+		cpus = <&cpu0>,
+		       <&cpu1>,
+		       <&cpu2>,
+		       <&cpu3>;
+		interrupts = <0 108 0x4>;
+	};
+
 };
 
 #include "qoriq-qman-portals.dtsi"
diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi
index c8ff0ba..9095d48 100644
--- a/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi
@@ -689,6 +689,15 @@
 			no-map;
 		};
 	};
+
+	edac-a57 {
+		compatible = "arm,cortex-a57-edac";
+		cpus = <&cpu0>,
+		       <&cpu1>,
+		       <&cpu2>,
+		       <&cpu3>;
+		interrupts = <0 108 0x4>;
+	};
 };
 
 #include "qoriq-qman-portals.dtsi"
-- 
2.7.4

  reply	other threads:[~2018-03-15  0:18 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-15  0:17 [PATCH RFC 1/2] drivers/edac: Add L1 and L2 error detection for A53 and A57 York Sun
2018-03-15  0:17 ` York Sun [this message]
2018-03-15  1:07 ` Borislav Petkov
2018-03-15  1:20   ` York Sun
2018-03-15 10:17     ` Borislav Petkov
2018-03-15 14:55       ` York Sun
2018-03-15 15:10   ` Mark Rutland
2018-03-15 13:33 ` James Morse
2018-03-15 15:15   ` York Sun
2018-03-15 15:07 ` Mark Rutland
2018-03-15 15:15   ` York Sun

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1521073067-24348-2-git-send-email-york.sun@nxp.com \
    --to=york.sun@nxp.com \
    --cc=bp@alien8.de \
    --cc=linux-edac@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome