commit | 6e927361bd403dbf5f6a2668a2a07df1f1b2daff | [log] [tgz] |
---|---|---|
author | Borislav Petkov <borislav.petkov@amd.com> | Fri Apr 27 15:37:25 2012 +0200 |
committer | Borislav Petkov <borislav.petkov@amd.com> | Thu Jun 07 12:43:47 2012 +0200 |
tree | d689a592de1dd09f9e5e9077274106c3b8d7e196 | |
parent | 2c9c42fa98c283961b7f6b6542fb4bf0c0539e15 [diff] |
x86, MCE, AMD: Make error_count read only 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: Borislav Petkov <borislav.petkov@amd.com>