forked from mirrors/linux
		
	EDAC, thunderx: Add Cavium ThunderX EDAC driver
Add support for Cavium ThunderX EDAC capable on-chip peripherals, namely the DRAM controller (LMC), cache coherent processor interconnect (CCPI) and level 2 cache blocks (L2C-TAD, L2C-MCI, L2C-CBC) Signed-off-by: Sergey Temerkhanov <s.temerkhanov@gmail.com> Cc: David.Daney@cavium.com Cc: Jan.Glauber@cavium.com Cc: linux-edac <linux-edac@vger.kernel.org> Link: http://lkml.kernel.org/r/20170324222837.60583-1-s.temerkhanov@gmail.com Signed-off-by: Borislav Petkov <bp@suse.de>
This commit is contained in:
		
							parent
							
								
									819f60fb7d
								
							
						
					
					
						commit
						41003396f9
					
				
					 4 changed files with 2196 additions and 0 deletions
				
			
		|  | @ -4695,6 +4695,7 @@ L:	linux-edac@vger.kernel.org | ||||||
| L:	linux-mips@linux-mips.org | L:	linux-mips@linux-mips.org | ||||||
| S:	Supported | S:	Supported | ||||||
| F:	drivers/edac/octeon_edac* | F:	drivers/edac/octeon_edac* | ||||||
|  | F:	drivers/edac/thunderx_edac* | ||||||
| 
 | 
 | ||||||
| EDAC-E752X | EDAC-E752X | ||||||
| M:	Mark Gross <mark.gross@intel.com> | M:	Mark Gross <mark.gross@intel.com> | ||||||
|  |  | ||||||
|  | @ -392,6 +392,17 @@ config EDAC_OCTEON_PCI | ||||||
| 	  Support for error detection and correction on the | 	  Support for error detection and correction on the | ||||||
| 	  Cavium Octeon family of SOCs. | 	  Cavium Octeon family of SOCs. | ||||||
| 
 | 
 | ||||||
|  | config EDAC_THUNDERX | ||||||
|  | 	tristate "Cavium ThunderX EDAC" | ||||||
|  | 	depends on EDAC_MM_EDAC | ||||||
|  | 	depends on ARM64 | ||||||
|  | 	depends on PCI | ||||||
|  | 	help | ||||||
|  | 	  Support for error detection and correction on the | ||||||
|  | 	  Cavium ThunderX memory controllers (LMC), Cache | ||||||
|  | 	  Coherent Processor Interconnect (CCPI) and L2 cache | ||||||
|  | 	  blocks (TAD, CBC, MCI). | ||||||
|  | 
 | ||||||
| config EDAC_ALTERA | config EDAC_ALTERA | ||||||
| 	bool "Altera SOCFPGA ECC" | 	bool "Altera SOCFPGA ECC" | ||||||
| 	depends on EDAC_MM_EDAC=y && ARCH_SOCFPGA | 	depends on EDAC_MM_EDAC=y && ARCH_SOCFPGA | ||||||
|  |  | ||||||
|  | @ -74,6 +74,7 @@ obj-$(CONFIG_EDAC_OCTEON_PC)		+= octeon_edac-pc.o | ||||||
| obj-$(CONFIG_EDAC_OCTEON_L2C)		+= octeon_edac-l2c.o | obj-$(CONFIG_EDAC_OCTEON_L2C)		+= octeon_edac-l2c.o | ||||||
| obj-$(CONFIG_EDAC_OCTEON_LMC)		+= octeon_edac-lmc.o | obj-$(CONFIG_EDAC_OCTEON_LMC)		+= octeon_edac-lmc.o | ||||||
| obj-$(CONFIG_EDAC_OCTEON_PCI)		+= octeon_edac-pci.o | obj-$(CONFIG_EDAC_OCTEON_PCI)		+= octeon_edac-pci.o | ||||||
|  | obj-$(CONFIG_EDAC_THUNDERX)		+= thunderx_edac.o | ||||||
| 
 | 
 | ||||||
| obj-$(CONFIG_EDAC_ALTERA)		+= altera_edac.o | obj-$(CONFIG_EDAC_ALTERA)		+= altera_edac.o | ||||||
| obj-$(CONFIG_EDAC_SYNOPSYS)		+= synopsys_edac.o | obj-$(CONFIG_EDAC_SYNOPSYS)		+= synopsys_edac.o | ||||||
|  |  | ||||||
							
								
								
									
										2183
									
								
								drivers/edac/thunderx_edac.c
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										2183
									
								
								drivers/edac/thunderx_edac.c
									
									
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because it is too large
												Load diff
											
										
									
								
							
		Loading…
	
		Reference in a new issue
	
	 Sergey Temerkhanov
						Sergey Temerkhanov