diff options
| author | Sean Christopherson <[email protected]> | 2022-07-11 23:27:48 +0000 |
|---|---|---|
| committer | Sean Christopherson <[email protected]> | 2022-07-13 18:14:05 -0700 |
| commit | ec6e4d863258d4bfb36d48d5e3ef68140234d688 (patch) | |
| tree | 4701c0bd35b304f5a73e8089baf3d770e2b215e3 /tools/perf/scripts/python | |
| parent | 43bb9e000ea4c62154c01844771fea25b8b83520 (diff) | |
KVM: x86: Mark TSS busy during LTR emulation _after_ all fault checks
Wait to mark the TSS as busy during LTR emulation until after all fault
checks for the LTR have passed. Specifically, don't mark the TSS busy if
the new TSS base is non-canonical.
Opportunistically drop the one-off !seg_desc.PRESENT check for TR as the
only reason for the early check was to avoid marking a !PRESENT TSS as
busy, i.e. the common !PRESENT is now done before setting the busy bit.
Fixes: e37a75a13cda ("KVM: x86: Emulator ignores LDTR/TR extended base on LLDT/LTR")
Reported-by: [email protected]
Cc: [email protected]
Cc: Tetsuo Handa <[email protected]>
Cc: Hou Wenlong <[email protected]>
Signed-off-by: Sean Christopherson <[email protected]>
Reviewed-by: Maxim Levitsky <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Sean Christopherson <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions