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:14:02 +0000 (11:14 -0700)
commit1cf3347a2ebe1fddafed4613dd2dc3d2b0fd6b6c
tree63af6d9a5286660ed9e5a9be0830dd426e230f4a
parent470d85691e2314b16924bc36fdab8ce50bc32388
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