EDAC, altera: Add Arria10 L2 Cache ECC handling
authorThor Thayer <tthayer@opensource.altera.com>
Mon, 21 Mar 2016 16:01:44 +0000 (11:01 -0500)
committerBorislav Petkov <bp@suse.de>
Tue, 29 Mar 2016 08:34:06 +0000 (10:34 +0200)
commit588cb03ea208b303e6dee7e916f329043fd0fc26
treeacc1e591b446c8bee8016c33f6b7fbf8bf277b8c
parent8b39ab7290d571b91867b15c02a59edf0a5b00bb
EDAC, altera: Add Arria10 L2 Cache ECC handling

Add a private data structure for Arria10 L2 cache ECC and the probe
function for it.

The Arria10 ECC device IRQs are in a shared register so the ECC Manager
parent/child relationship requires a different probe function.

Signed-off-by: Thor Thayer <tthayer@opensource.altera.com>
Cc: devicetree@vger.kernel.org
Cc: dinguyen@opensource.altera.com
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux@arm.linux.org.uk
Cc: linux-edac <linux-edac@vger.kernel.org>
Link: http://lkml.kernel.org/r/1458576106-24505-8-git-send-email-tthayer@opensource.altera.com
Signed-off-by: Borislav Petkov <bp@suse.de>
drivers/edac/altera_edac.c
drivers/edac/altera_edac.h