diff options
author | Borislav Petkov <[email protected]> | 2019-04-18 18:32:50 +0200 |
---|---|---|
committer | Paolo Bonzini <[email protected]> | 2019-04-30 21:32:22 +0200 |
commit | 191c8137a93989825f0e9f78a198367dde677216 (patch) | |
tree | ff52632c417b12349903c076c23e0c06eeb82ea5 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 19e38336d71d22e27b60e70334ad572d4e3d0042 (diff) |
x86/kvm: Implement HWCR support
The hardware configuration register has some useful bits which can be
used by guests. Implement McStatusWrEn which can be used by guests when
injecting MCEs with the in-kernel mce-inject module.
For that, we need to set bit 18 - McStatusWrEn - first, before writing
the MCi_STATUS registers (otherwise we #GP).
Add the required machinery to do so.
Signed-off-by: Borislav Petkov <[email protected]>
Cc: Jim Mattson <[email protected]>
Cc: Joerg Roedel <[email protected]>
Cc: KVM <[email protected]>
Cc: Paolo Bonzini <[email protected]>
Cc: Radim Krčmář <[email protected]>
Cc: Sean Christopherson <[email protected]>
Cc: Tom Lendacky <[email protected]>
Cc: Tony Luck <[email protected]>
Cc: Yazen Ghannam <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions