Skip to content

Commit 9b7e624

Browse files
Stefan M Schaeckelersuryasaimadhu
authored andcommitted
EDAC, aspeed: Add an Aspeed AST2500 EDAC driver
Add support for the Aspeed AST2500 SoC. Signed-off-by: Stefan M Schaeckeler <sschaeck@cisco.com> Signed-off-by: Borislav Petkov <bp@suse.de> Cc: Andrew Jeffery <andrew@aj.id.au> Cc: Joel Stanley <joel@jms.id.au> Cc: Mark Rutland <mark.rutland@arm.com> Cc: Mauro Carvalho Chehab <mchehab@kernel.org> Cc: Rob Herring <robh+dt@kernel.org> Cc: devicetree@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org Cc: linux-aspeed@lists.ozlabs.org Cc: linux-edac <linux-edac@vger.kernel.org> Link: https://lkml.kernel.org/r/1547743097-5236-2-git-send-email-schaecsn@gmx.net
1 parent bfeffd1 commit 9b7e624

5 files changed

Lines changed: 444 additions & 0 deletions

File tree

‎MAINTAINERS‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5396,6 +5396,12 @@ L: linux-edac@vger.kernel.org
53965396
S: Maintained
53975397
F: drivers/edac/amd64_edac*
53985398

5399+
EDAC-AST2500
5400+
M: Stefan Schaeckeler <sschaeck@cisco.com>
5401+
S: Supported
5402+
F: drivers/edac/aspeed_edac.c
5403+
F: Documentation/devicetree/bindings/edac/aspeed-sdram-edac.txt
5404+
53995405
EDAC-CALXEDA
54005406
M: Robert Richter <rric@kernel.org>
54015407
L: linux-edac@vger.kernel.org

‎arch/arm/boot/dts/aspeed-g5.dtsi‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,13 @@
4747
reg = <0x80000000 0>;
4848
};
4949

50+
edac: sdram@1e6e0000 {
51+
compatible = "aspeed,ast2500-sdram-edac";
52+
reg = <0x1e6e0000 0x174>;
53+
interrupts = <0>;
54+
status = "disabled";
55+
};
56+
5057
ahb {
5158
compatible = "simple-bus";
5259
#address-cells = <1>;

‎drivers/edac/Kconfig‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -475,4 +475,13 @@ config EDAC_QCOM
475475
For debugging issues having to do with stability and overall system
476476
health, you should probably say 'Y' here.
477477

478+
config EDAC_ASPEED
479+
tristate "Aspeed AST 2500 SoC"
480+
depends on MACH_ASPEED_G5
481+
help
482+
Support for error detection and correction on the Aspeed AST 2500 SoC.
483+
484+
First, ECC must be configured in the bootloader. Then, this driver
485+
will expose error counters via the EDAC kernel framework.
486+
478487
endif # EDAC

‎drivers/edac/Makefile‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,3 +78,4 @@ obj-$(CONFIG_EDAC_SYNOPSYS) += synopsys_edac.o
7878
obj-$(CONFIG_EDAC_XGENE) += xgene_edac.o
7979
obj-$(CONFIG_EDAC_TI) += ti_edac.o
8080
obj-$(CONFIG_EDAC_QCOM) += qcom_edac.o
81+
obj-$(CONFIG_EDAC_ASPEED) += aspeed_edac.o

0 commit comments

Comments
 (0)