KVM: x86: preserve the high 32-bits of the PAT register
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 19 Jun 2014 09:40:18 +0000 (11:40 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 9 Jul 2014 18:18:27 +0000 (11:18 -0700)
commita46438472e31a9766352c97e37caaa2848ddea10
tree2a12e9195deaff0670a4bbf20c7e81de2bf60bfd
parent16f225f355b19890d4e09b345c3fd85496fa4c66
KVM: x86: preserve the high 32-bits of the PAT register

commit 7cb060a91c0efc5ff94f83c6df3ed705e143cdb9 upstream.

KVM does not really do much with the PAT, so this went unnoticed for a
long time.  It is exposed however if you try to do rdmsr on the PAT
register.

Reported-by: Valentine Sinitsyn <valentine.sinitsyn@gmail.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/x86/include/asm/kvm_host.h