android_kernel_xiaomi_sm8350/drivers/edac
Ira W. Snyder b484625172 edac: mpc85xx add mpc83xx support
Add support for the Freescale MPC83xx memory controller to the existing
driver for the Freescale MPC85xx memory controller.  The only difference
between the two processors are in the CS_BNDS register parsing code, which
has been changed so it will work on both processors.

The L2 cache controller does not exist on the MPC83xx, but the OF
subsystem will not use the driver if the device is not present in the OF
device tree.

I had to change the nr_pages calculation to make the math work out.  I
checked it on my board and did the math by hand for a 64GB 85xx using 64K
pages.  In both cases, nr_pages * PAGE_SIZE comes out to the correct
value.

Signed-off-by: Ira W. Snyder <iws@ovro.caltech.edu>
Signed-off-by: Doug Thompson <dougthompson@xmission.com>
Cc: Kumar Gala <galak@gate.crashing.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2009-09-24 07:21:04 -07:00
..
amd64_edac_dbg.c x86, mce: pass mce info to EDAC for decoding 2009-09-14 18:59:17 +02:00
amd64_edac_inj.c amd64_edac: add DRAM error injection logic using sysfs 2009-06-10 12:18:47 +02:00
amd64_edac.c amd64_edac: check NB MCE bank enable on the current node properly 2009-09-16 13:05:46 +02:00
amd64_edac.h x86, mce: pass mce info to EDAC for decoding 2009-09-14 18:59:17 +02:00
amd76x_edac.c
amd8111_edac.c edac: add edac_device_alloc_index() 2009-06-18 13:03:56 -07:00
amd8111_edac.h edac: AMD8111 driver header file 2009-04-02 19:05:03 -07:00
amd8131_edac.c edac: AMD8111 & AMD8131 use dev_name() 2009-05-29 08:40:03 -07:00
amd8131_edac.h edac: AMD8131 driver header file 2009-04-02 19:05:03 -07:00
cell_edac.c edac: add missing __devexit_p() 2009-06-18 13:03:57 -07:00
cpc925_edac.c edac: add CPC925 Memory Controller driver 2009-06-18 13:03:56 -07:00
e7xxx_edac.c
e752x_edac.c trivial: fix typos s/paramter/parameter/ and s/excute/execute/ in documentation and source comments. 2009-06-12 18:01:46 +02:00
edac_core.h trivial: fix typo "for for" in multiple files 2009-09-21 15:14:54 +02:00
edac_device_sysfs.c
edac_device.c edac: add edac_device_alloc_index() 2009-06-18 13:03:56 -07:00
edac_mc_sysfs.c edac: add DDR3 memory type for MPC85xx EDAC 2009-06-30 18:55:59 -07:00
edac_mc.c edac: use to_delayed_work() 2009-04-13 15:04:34 -07:00
edac_mce_amd.c x86, EDAC: Provide function to return NodeId of a CPU 2009-09-16 11:33:40 +02:00
edac_mce_amd.h EDAC, AMD: carve out MCi_STATUS decoding 2009-09-14 19:01:07 +02:00
edac_module.c
edac_module.h
edac_pci_sysfs.c
edac_pci.c edac: use to_delayed_work() 2009-04-13 15:04:34 -07:00
edac_stub.c
i3000_edac.c
i5000_edac.c
i5100_edac.c
i5400_edac.c
i82443bxgx_edac.c
i82860_edac.c
i82875p_edac.c
i82975x_edac.c
Kconfig edac: mpc85xx add mpc83xx support 2009-09-24 07:21:04 -07:00
Makefile EDAC: move MCE error descriptions to EDAC core 2009-09-14 18:57:48 +02:00
mpc85xx_edac.c edac: mpc85xx add mpc83xx support 2009-09-24 07:21:04 -07:00
mpc85xx_edac.h edac: add DDR3 memory type for MPC85xx EDAC 2009-06-30 18:55:59 -07:00
mv64x60_edac.c
mv64x60_edac.h
pasemi_edac.c
ppc4xx_edac.c edac: new ppc4xx driver module 2009-04-02 19:05:03 -07:00
ppc4xx_edac.h edac: new ppc4xx driver module 2009-04-02 19:05:03 -07:00
r82600_edac.c
x38_edac.c edac: x38 fix mchbar high register addr 2009-07-29 19:10:34 -07:00