EDAC/altera: Add Stratix10 OCRAM ECC support
authorThor Thayer <thor.thayer@linux.intel.com>
Tue, 23 Apr 2019 14:36:34 +0000 (09:36 -0500)
committerTony Luck <tony.luck@intel.com>
Thu, 20 Jun 2019 18:44:36 +0000 (11:44 -0700)
commit17e47dc6db4fa6114f031365a81fda1b2d9b8e3f
tree3f8c49966a67219f5ae2dfec9afb8b3a4609b79b
parent7adc05d2dc3af95e4e1534841d58f736262142cd
EDAC/altera: Add Stratix10 OCRAM ECC support

Use the newer ECC error injection method for Arria10 and Stratix10
OCRAM. If OCRAM has already been initialized during boot and OCRAM ECC
is enabled, ensure the Single Bit Error IRQ is enabled.

Signed-off-by: Thor Thayer <thor.thayer@linux.intel.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Cc: devicetree@vger.kernel.org
Cc: dinguyen@kernel.org
Cc: James Morse <james.morse@arm.com>
Cc: linux-edac <linux-edac@vger.kernel.org>
Cc: mark.rutland@arm.com
Cc: Mauro Carvalho Chehab <mchehab@kernel.org>
Cc: robh+dt@kernel.org
Link: https://lkml.kernel.org/r/1556030197-24534-2-git-send-email-thor.thayer@linux.intel.com
drivers/edac/altera_edac.c