edac: Add debufs nodes to allow doing fake error inject
authorMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 26 Mar 2012 12:35:11 +0000 (09:35 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 11 Jun 2012 16:23:43 +0000 (13:23 -0300)
commit452a6bf955ee1842361742833e40e046287308f4
tree2e4fb61fbbf32f17d80d9fce27a985361e6fc9af
parent8ad6c78a69ac5c74e8f4e8c78cdb86772face433
edac: Add debufs nodes to allow doing fake error inject

Sometimes, it is useful to have a mechanism that generates fake
errors, in order to test the EDAC core code, and the userspace
tools.

Provide such mechanism by adding a few debugfs nodes.

Reviewed-by: Aristeu Rozanski <arozansk@redhat.com>
Cc: Doug Thompson <norsk5@yahoo.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/edac/edac_mc_sysfs.c
include/linux/edac.h