EDAC, altera: Add Stratix10 peripheral support
authorThor Thayer <thor.thayer@linux.intel.com>
Tue, 25 Sep 2018 13:49:01 +0000 (08:49 -0500)
committerBorislav Petkov <bp@suse.de>
Tue, 25 Sep 2018 19:22:20 +0000 (21:22 +0200)
commit064acbd4f4ab509dd3f31e1a2d1e04a43d5b1009
tree910c83819a536732a25246e2bdea4c3f76319d82
parent08f08bfb7b4cc7b7037c8818acb1b6abccf2bd0e
EDAC, altera: Add Stratix10 peripheral support

Add a new peripheral ECC error injection algorithm for Stratix10 and
some Arria10 peripherals. Inject a single bit error and upon readback,
it will be corrected and the SBE IRQ handler will be called.

Add regmap selection for Stratix10 or Arria10 peripheral device memory
initialization.

Add checks for both Arria10 and Stratix10 to the peripheral ECC setup.

Signed-off-by: Thor Thayer <thor.thayer@linux.intel.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Cc: dinguyen@kernel.org
Cc: robh+dt@kernel.org
Cc: mark.rutland@arm.com
Cc: mchehab@kernel.org
Cc: devicetree@vger.kernel.org
Cc: linux-edac@vger.kernel.org
Link: https://lkml.kernel.org/r/1537883342-30180-6-git-send-email-thor.thayer@linux.intel.com
drivers/edac/altera_edac.c
drivers/edac/altera_edac.h