• Andrew Morton's avatar
    [PATCH] More fixes for the x86-64 machine check handler · 7278aee3
    Andrew Morton authored
    From: Andi Kleen <ak@suse.de>
    
    Fix more bad issues in the x86-64 machine check handler. 
    
    - Actually test status after reading it from the register, not before.
    
    - Check the UC bit instead of the PCC bit to detect the bank which caused
      the exception.
    
    - Add tolerant==3 level for easier testing. This will avoid any panics.
    
    - Don't threat bank overflows as fatal - they must have come from a non
      fatal exception, which should not cause a panic.
    Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
    7278aee3
mce.c 12.1 KB