summaryrefslogtreecommitdiffstats
path: root/drivers/s390
diff options
context:
space:
mode:
authorSean Christopherson <seanjc@google.com>2021-02-04 17:24:58 -0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-03-04 11:37:48 +0100
commit689ceaad9423c18cf503e9b8ba42d8d1dad8711a (patch)
tree9a3d31c652b7ba4020791343f2ee84f704240490 /drivers/s390
parent6a402b937eb121a09b35e9a1a53d91343e33e4dd (diff)
downloadlinux-stable-689ceaad9423c18cf503e9b8ba42d8d1dad8711a.tar.gz
linux-stable-689ceaad9423c18cf503e9b8ba42d8d1dad8711a.tar.bz2
linux-stable-689ceaad9423c18cf503e9b8ba42d8d1dad8711a.zip
KVM: x86: Restore all 64 bits of DR6 and DR7 during RSM on x86-64
[ Upstream commit 2644312052d54e2e7543c7d186899a36ed22f0bf ] Restore the full 64-bit values of DR6 and DR7 when emulating RSM on x86-64, as defined by both Intel's SDM and AMD's APM. Note, bits 63:32 of DR6 and DR7 are reserved, so this is a glorified nop unless the SMM handler is poking into SMRAM, which it most definitely shouldn't be doing since both Intel and AMD list the DR6 and DR7 fields as read-only. Fixes: 660a5d517aaa ("KVM: x86: save/load state on SMM switch") Signed-off-by: Sean Christopherson <seanjc@google.com> Message-Id: <20210205012458.3872687-3-seanjc@google.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/s390')
0 files changed, 0 insertions, 0 deletions