diff options
author | Sean Christopherson <[email protected]> | 2022-08-30 23:15:54 +0000 |
---|---|---|
committer | Paolo Bonzini <[email protected]> | 2022-09-26 12:03:05 -0400 |
commit | b9d44f9091ac6c325fc2f7b7671b462fb36abbed (patch) | |
tree | 082c475bec4d25379e899bef8b5ea55b27cf394a /tools/perf/scripts/python/flamegraph.py | |
parent | 8d178f460772ecdee8e6d72389b43a8d35a14ff5 (diff) |
KVM: nVMX: Prioritize TSS T-flag #DBs over Monitor Trap Flag
Service TSS T-flag #DBs prior to pending MTFs, as such #DBs are higher
priority than MTF. KVM itself doesn't emulate TSS #DBs, and any such
exceptions injected from L1 will be handled by hardware (or morphed to
a fault-like exception if injection fails), but theoretically userspace
could pend a TSS T-flag #DB in conjunction with a pending MTF.
Note, there's no known use case this fixes, it's purely to be technically
correct with respect to Intel's SDM.
Cc: Oliver Upton <[email protected]>
Cc: Peter Shier <[email protected]>
Fixes: 5ef8acbdd687 ("KVM: nVMX: Emulate MTF when performing instruction emulation")
Signed-off-by: Sean Christopherson <[email protected]>
Reviewed-by: Maxim Levitsky <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions