diff options
author | Yazen Ghannam <[email protected]> | 2017-03-15 12:30:55 -0500 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2017-03-18 13:03:44 +0100 |
commit | 5204bf17031b69fa5faa4dc80a9dc1e2446d74f9 (patch) | |
tree | f24b6f774be261341c9ef216e2e61d2b9ba032cb /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 5bc329503e8191c91c4c40836f062ef771d8ba83 (diff) |
x86/mce: Init some CPU features early
When the MCA banks in __mcheck_cpu_init_generic() are polled for leftover
errors logged during boot or from the previous boot, its required to have
CPU features detected sufficiently so that the reading out and handling of
those early errors is done correctly.
If those features are not available, the decoding may miss some information
and get incomplete errors logged. For example, on SMCA systems the MCA_IPID
and MCA_SYND registers are not logged and MCA_ADDR is not masked
appropriately.
To cure that, do a subset of the basic feature detection early while the
rest happens in its usual place in __mcheck_cpu_init_vendor().
Signed-off-by: Yazen Ghannam <[email protected]>
Cc: Tony Luck <[email protected]>
Cc: linux-edac <[email protected]>
Cc: x86-ml <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
[ Massage commit message and simplify. ]
Signed-off-by: Borislav Petkov <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions