This patch series adds an L2 cache controller driver with DT documentation and an EDAC platform driver for SiFive SoCs. The EDAC platform driver registers for notifier events from the L2 cache controller driver for L2 ECC events. This patchset is based on Linux 5.1-rc2 and tested on HiFive Unleashed board with additional board related patches needed for testing can be found at dev/yashs/L2_cache_controller branch of: https://github.com/yashshah7/riscv-linux.git Yash Shah (3): RISC-V: Add DT documentation for SiFive L2 Cache Controller RISC-V: sifive_l2_cache: Add L2 cache controller driver for SiFive SoCs edac: sifive: Add EDAC platform driver for SiFive SoCs .../devicetree/bindings/riscv/sifive-l2-cache.txt | 53 +++++ arch/riscv/Kconfig | 1 + arch/riscv/mm/Makefile | 1 + arch/riscv/mm/sifive_l2_cache.c | 224 +++++++++++++++++++++ drivers/edac/Kconfig | 6 + drivers/edac/Makefile | 1 + drivers/edac/sifive_edac.c | 121 +++++++++++ 7 files changed, 407 insertions(+) create mode 100644 Documentation/devicetree/bindings/riscv/sifive-l2-cache.txt create mode 100644 arch/riscv/mm/sifive_l2_cache.c create mode 100644 drivers/edac/sifive_edac.c -- 1.9.1