aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorZhenzhong Duan <[email protected]>2022-03-11 10:26:43 +0000
committerPaolo Bonzini <[email protected]>2022-04-02 09:37:26 +0000
commit4335edbbc1284259b17590f76a21fd4a162b4305 (patch)
tree76a329197cd01455b867b9c66e6113baeafc26d7 /tools/perf/scripts/python/event_analyzing_sample.py
parentKVM: x86: cleanup enter_rmode() (diff)
downloadkernel-4335edbbc1284259b17590f76a21fd4a162b4305.tar.gz
kernel-4335edbbc1284259b17590f76a21fd4a162b4305.zip
KVM: x86: Remove redundant vm_entry_controls_clearbit() call
When emulating exit from long mode, EFER_LMA is cleared with vmx_set_efer(). This will already unset the VM_ENTRY_IA32E_MODE control bit as requested by SDM, so there is no need to unset VM_ENTRY_IA32E_MODE again in exit_lmode() explicitly. In case EFER isn't supported by hardware, long mode isn't supported, so exit_lmode() cannot be reached. Note that, thanks to the shadow controls mechanism, this change doesn't eliminate vmread or vmwrite. Signed-off-by: Zhenzhong Duan <[email protected]> Message-Id: <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions