• Anton Blanchard's avatar
    powerpc: Rework pseries machine check handler · d47d1d8a
    Anton Blanchard authored
    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: default avatarAnton Blanchard <anton@samba.org>
    Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
    d47d1d8a
ras.c 9.29 KB