]> git.baikalelectronics.ru Git - kernel.git/commit
i7core_edac: Add edac_mce glue
authorMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 10 Jul 2009 01:06:41 +0000 (22:06 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 10 May 2010 14:44:50 +0000 (11:44 -0300)
commit7daf0f4f73f6952474460735ef162ac027db7ada
treee8d73b1a3aa701fccb57dbf7f50e60faa75a0ecc
parente531c7ef736086e97442951cd982fddcc66e3493
i7core_edac: Add edac_mce glue

Adds a glue code to allow i7core to work with mcelog. With the glue,
i7core registers itself on edac_mce. At mce, when an error is detected,
it calls all registered drivers (in this case, i7core), for EDAC error
handling.

TODO: It currently just prints the MCE error log using about the same
      format as mce panic messages. The error message should be enhanced
      with mcelog userspace info and converted into the proper EDAC format,
      to feed the EDAC error counts.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/edac/edac_mce.c
drivers/edac/i7core_edac.c