diff options
author | 2017-11-29 22:23:43 +0100 | |
---|---|---|
committer | 2017-12-14 09:26:43 +0100 | |
commit | 431f5d4443964bcc58ac2e4c6fd8ace6dcd3a8d1 (patch) | |
tree | 4b3faad19cac641eb7e78a3040c06eb1ce816c87 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | KVM: x86: drop bogus MWAIT check (diff) | |
download | linux-dev-431f5d4443964bcc58ac2e4c6fd8ace6dcd3a8d1.tar.xz linux-dev-431f5d4443964bcc58ac2e4c6fd8ace6dcd3a8d1.zip |
KVM: x86: simplify kvm_mwait_in_guest()
If Intel/AMD implements MWAIT, we expect that it works well and only
reject known bugs; no reason to do it the other way around for minor
vendors. (Not that they are relevant ATM.)
This allows further simplification of kvm_mwait_in_guest().
And use boot_cpu_has() instead of "cpu_has(&boot_cpu_data," while at it.
Reviewed-by: Alexander Graf <agraf@suse.de>
Acked-by: Borislav Petkov <bp@suse.de>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions