]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
KVM: x86: emulate RDPID
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 12 Jul 2016 09:04:26 +0000 (11:04 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 28 Feb 2020 14:42:10 +0000 (15:42 +0100)
commit01b7a50992c0b0ad8c7baae3a2c54be266ac08ee
treed02181dc40795a5a280277e67366296ff43192cb
parentab19f9491284e674bce6429c6fdb6c56471d230f
KVM: x86: emulate RDPID

commit fb6d4d340e0532032c808a9933eaaa7b8de435ab upstream.

This is encoded as F3 0F C7 /7 with a register argument.  The register
argument is the second array in the group9 GroupDual, while F3 is the
fourth element of a Prefix.

Reviewed-by: Wanpeng Li <wanpeng.li@hotmail.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/x86/kvm/cpuid.c
arch/x86/kvm/emulate.c
arch/x86/kvm/vmx.c