linux-stable/arch
Sean Christopherson 689ceaad94 KVM: x86: Restore all 64 bits of DR6 and DR7 during RSM on x86-64
[ Upstream commit 2644312052 ]

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: 660a5d517a ("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>
2021-03-04 11:37:48 +01:00
..
alpha
arc
arm ARM: at91: use proper asm syntax in pm_suspend 2021-03-04 11:37:28 +01:00
arm64 crypto: arm64/aes-ce - really hide slower algos when faster ones are enabled 2021-03-04 11:37:37 +01:00
c6x
csky
h8300 h8300: fix PREEMPTION build, TI_PRE_COUNT undefined 2021-02-17 11:02:28 +01:00
hexagon
ia64
m68k
microblaze
mips MIPS: Compare __SYNC_loongson3_war against 0 2021-03-04 11:37:41 +01:00
nds32
nios2
openrisc
parisc
powerpc powerpc/64/signal: Fix regression in __kernel_sigtramp_rt64() semantics 2021-02-13 13:55:02 +01:00
riscv riscv: virt_addr_valid must check the address belongs to linear mapping 2021-02-17 11:02:23 +01:00
s390
sh
sparc
um um: virtio: free vu_dev only with the contained struct device 2021-02-10 09:29:12 +01:00
x86 KVM: x86: Restore all 64 bits of DR6 and DR7 during RSM on x86-64 2021-03-04 11:37:48 +01:00
xtensa
.gitignore
Kconfig