Skip to content

Commit d9de5ce

Browse files
committed
Merge tag 'edac_updates_for_v6.3' of git://git.kernel.org/pub/scm/linux/kernel/git/ras/ras
Pull EDAC updates from Borislav Petkov: - Add a driver for the RAS functionality on Xilinx's on chip memory controller - Add support for decoding errors from the first and second level memory on SKL-based hardware - Add support for the memory controllers in Intel Granite Rapids and Emerald Rapids machines - First round of amd64_edac driver simplification and removal of unneeded functionality - The usual cleanups and fixes * tag 'edac_updates_for_v6.3' of git://git.kernel.org/pub/scm/linux/kernel/git/ras/ras: EDAC/amd64: Shut up an -Werror,-Wsometimes-uninitialized clang false positive EDAC/amd64: Remove early_channel_count() EDAC/amd64: Remove PCI Function 0 EDAC/amd64: Remove PCI Function 6 EDAC/amd64: Remove scrub rate control for Family 17h and later EDAC/amd64: Don't set up EDAC PCI control on Family 17h+ EDAC/i10nm: Add driver decoder for Sapphire Rapids server EDAC/i10nm: Add Intel Granite Rapids server support EDAC/i10nm: Make more configurations CPU model specific EDAC/i10nm: Add Intel Emerald Rapids server support EDAC/skx_common: Delete duplicated and unreachable code EDAC/skx_common: Enable EDAC support for the "near" memory EDAC/qcom: Add platform_device_id table for module autoloading EDAC/zynqmp: Add EDAC support for Xilinx ZynqMP OCM dt-bindings: edac: Add bindings for Xilinx ZynqMP OCM
2 parents 0246725 + 28980db commit d9de5ce

File tree

11 files changed

+1013
-359
lines changed

11 files changed

+1013
-359
lines changed
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/memory-controllers/xlnx,zynqmp-ocmc-1.0.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Xilinx Zynqmp OCM(On-Chip Memory) Controller
8+
9+
maintainers:
10+
- Shubhrajyoti Datta <[email protected]>
11+
- Sai Krishna Potthuri <[email protected]>
12+
13+
description: |
14+
The OCM supports 64-bit wide ECC functionality to detect multi-bit errors
15+
and recover from a single-bit memory fault.On a write, if all bytes are
16+
being written, the ECC is generated and written into the ECC RAM along with
17+
the write-data that is written into the data RAM. If one or more bytes are
18+
not written, then the read operation results in an correctable error or
19+
uncorrectable error.
20+
21+
properties:
22+
compatible:
23+
const: xlnx,zynqmp-ocmc-1.0
24+
25+
reg:
26+
maxItems: 1
27+
28+
interrupts:
29+
maxItems: 1
30+
31+
required:
32+
- compatible
33+
- reg
34+
- interrupts
35+
36+
additionalProperties: false
37+
38+
examples:
39+
- |
40+
#include <dt-bindings/interrupt-controller/arm-gic.h>
41+
memory-controller@ff960000 {
42+
compatible = "xlnx,zynqmp-ocmc-1.0";
43+
reg = <0xff960000 0x1000>;
44+
interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
45+
};

MAINTAINERS

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22743,6 +22743,13 @@ F: Documentation/devicetree/bindings/dma/xilinx/xlnx,zynqmp-dpdma.yaml
2274322743
F: drivers/dma/xilinx/xilinx_dpdma.c
2274422744
F: include/dt-bindings/dma/xlnx-zynqmp-dpdma.h
2274522745

22746+
XILINX ZYNQMP OCM EDAC DRIVER
22747+
M: Shubhrajyoti Datta <[email protected]>
22748+
M: Sai Krishna Potthuri <[email protected]>
22749+
S: Maintained
22750+
F: Documentation/devicetree/bindings/memory-controllers/xlnx,zynqmp-ocmc-1.0.yaml
22751+
F: drivers/edac/zynqmp_edac.c
22752+
2274622753
XILINX ZYNQMP PSGTR PHY DRIVER
2274722754
M: Anurag Kumar Vulisha <[email protected]>
2274822755
M: Laurent Pinchart <[email protected]>

drivers/edac/Kconfig

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -542,4 +542,12 @@ config EDAC_DMC520
542542
Support for error detection and correction on the
543543
SoCs with ARM DMC-520 DRAM controller.
544544

545+
config EDAC_ZYNQMP
546+
tristate "Xilinx ZynqMP OCM Controller"
547+
depends on ARCH_ZYNQMP || COMPILE_TEST
548+
help
549+
This driver supports error detection and correction for the
550+
Xilinx ZynqMP OCM (On Chip Memory) controller. It can also be
551+
built as a module. In that case it will be called zynqmp_edac.
552+
545553
endif # EDAC

drivers/edac/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,3 +84,4 @@ obj-$(CONFIG_EDAC_QCOM) += qcom_edac.o
8484
obj-$(CONFIG_EDAC_ASPEED) += aspeed_edac.o
8585
obj-$(CONFIG_EDAC_BLUEFIELD) += bluefield_edac.o
8686
obj-$(CONFIG_EDAC_DMC520) += dmc520_edac.o
87+
obj-$(CONFIG_EDAC_ZYNQMP) += zynqmp_edac.o

0 commit comments

Comments
 (0)