]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc: Rework pseries machine check handler
authorAnton Blanchard <anton@samba.org>
Tue, 11 Jan 2011 19:49:19 +0000 (19:49 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 21 Jan 2011 03:08:38 +0000 (14:08 +1100)
commit20aaf7e9e3882f22a5c1471a227a982bd31c86a9
treec8af975e293d17c96f06913db78cac6041e01a47
parent3f5ab63387762969e9f00975ed90f656768ebb56
powerpc: Rework pseries machine check handler

Rework pseries machine check handler:

- If MSR_RI isn't set, we cannot recover even if the machine check was fully
  recovered

- Rename nonfatal to recovered

- Handle RTAS_DISP_LIMITED_RECOVERY

- Use BUS_MCEERR_AR instead of BUS_ADRERR

- Don't check all the RTAS error log fields when receiving a synchronous
  machine check. Recent versions of the pseries firmware do not fill them
  in during a machine check and instead send a follow up error log with
  the detailed information. If we see a synchronous machine check, and we
  came from userspace then kill the task.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/platforms/pseries/ras.c