• Hidetoshi Seto's avatar
    x86, mce: Add boot options for corrected errors · 62fdac59
    Hidetoshi Seto authored
    This patch introduces three boot options (no_cmci, dont_log_ce
    and ignore_ce) to control handling for corrected errors.
    
    The "mce=no_cmci" boot option disables the CMCI feature.
    
    Since CMCI is a new feature so having boot controls to disable
    it will be a help if the hardware is misbehaving.
    
    The "mce=dont_log_ce" boot option disables logging for corrected
    errors. All reported corrected errors will be cleared silently.
    This option will be useful if you never care about corrected
    errors.
    
    The "mce=ignore_ce" boot option disables features for corrected
    errors, i.e. polling timer and cmci.  All corrected events are
    not cleared and kept in bank MSRs.
    
    Usually this disablement is not recommended, however it will be
    a help if there are some conflict with the BIOS or hardware
    monitoring applications etc., that clears corrected events in
    banks instead of OS.
    
    [ And trivial cleanup (space -> tab) for doc is included. ]
    Signed-off-by: default avatarHidetoshi Seto <seto.hidetoshi@jp.fujitsu.com>
    Reviewed-by: default avatarAndi Kleen <ak@linux.intel.com>
    LKML-Reference: <4A30ACDF.5030408@jp.fujitsu.com>
    Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
    62fdac59
mce.c 44.4 KB