Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

EDAC, mpc85xx: Add T2080 l2-cache support

The L2 cache controller on the T2080 SoC has similar capabilities to the
others already supported by the mpc85xx_edac driver. Add it to the list
of compatible devices.

Signed-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz>
Acked-by: Johannes Thumshirn <jth@kernel.org>
Acked-by: Michael Ellerman <mpe@ellerman.id.au>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: devicetree@vger.kernel.org
Cc: linux-edac <linux-edac@vger.kernel.org>
Cc: linuxppc-dev@lists.ozlabs.org
Link: http://lkml.kernel.org/r/20170201231624.28843-1-chris.packham@alliedtelesis.co.nz
Signed-off-by: Borislav Petkov <bp@suse.de>

authored by

Chris Packham and committed by
Borislav Petkov
321d17c1 1bd9900b

+2
+1
arch/powerpc/boot/dts/fsl/t2081si-post.dtsi
··· 678 678 compatible = "fsl,t2080-l2-cache-controller"; 679 679 reg = <0xc20000 0x40000>; 680 680 next-level-cache = <&cpc>; 681 + interrupts = <16 2 1 9>; 681 682 }; 682 683 };
+1
drivers/edac/mpc85xx_edac.c
··· 629 629 { .compatible = "fsl,p1020-l2-cache-controller", }, 630 630 { .compatible = "fsl,p1021-l2-cache-controller", }, 631 631 { .compatible = "fsl,p2020-l2-cache-controller", }, 632 + { .compatible = "fsl,t2080-l2-cache-controller", }, 632 633 {}, 633 634 }; 634 635 MODULE_DEVICE_TABLE(of, mpc85xx_l2_err_of_match);