diff options
author | Yazen Ghannam <[email protected]> | 2016-09-12 09:59:31 +0200 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2016-09-13 15:23:08 +0200 |
commit | cfee4f6f0b2026380c6bc6913dbd27943df17371 (patch) | |
tree | 835891bc3c6371bd62617c198d3c5b547bf33222 /scripts/gdb/linux/lists.py | |
parent | bad744b7f29d264c2c2ad8fb723dd480e6c9b007 (diff) |
x86/mce/AMD: Read MSRs on the CPU allocating the threshold blocks
Scalable MCA systems allow non-core MCA banks to only be accessible by
certain CPUs. The MSRs for these banks are Read-as-Zero on other CPUs.
During allocate_threshold_blocks(), get_block_address() can be scheduled
on CPUs other than the one allocating the block. This causes the MSRs to
be read on the wrong CPU and results in incorrect behavior.
Add a @cpu parameter to get_block_address() and pass this in to ensure
that the MSRs are only read on the CPU that is allocating the block.
Signed-off-by: Yazen Ghannam <[email protected]>
Signed-off-by: Borislav Petkov <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Thomas Gleixner <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/lists.py')
0 files changed, 0 insertions, 0 deletions