• B
    x86, MCE, AMD: Make error_count read only · 6e927361
    Borislav Petkov 提交于
    Until now, writing to error count caused the code to reset the
    thresholding bank to the current thresholding limit and start counting
    errors from the beginning.
    
    This is misleading and unclear, and can be accomplished by writing the
    old thresholding limit into ->threshold_limit.
    
    Make error_count read-only with the functionality to show the current
    error count.
    Signed-off-by: NBorislav Petkov <borislav.petkov@amd.com>
    6e927361
mce_amd.c 15.6 KB