EDAC: Octeon: Add error injection support
authorDaniel Walker <dwalker@fifo99.com>
Fri, 20 Sep 2013 22:46:41 +0000 (15:46 -0700)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 31 Mar 2014 16:17:12 +0000 (18:17 +0200)
commit1bc021e815659190c31b19acead70d4e96516bf1
treed2ecd6b517d0af7b5e362a7da7d1d070db12dc68
parent5331de0570b95a105b74eff9d39d9a79656743b2
EDAC: Octeon: Add error injection support

This adds an ad-hoc error injection method. Octeon II doesn't have
hardware support for injection, so this simulates it.

Signed-off-by: Daniel Walker <dwalker@fifo99.com>
Cc: David Daney <david.daney@cavium.com>
Cc: Doug Thompson <dougthompson@xmission.com>
Cc: linux-edac@vger.kernel.org
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/5873/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
drivers/edac/octeon_edac-lmc.c