linux_dsm_epyc7002/arch
Jim Mattson cb957adb4e kvm: x86: Toggling CR4.PKE does not load PDPTEs in PAE mode
See the SDM, volume 3, section 4.4.1:

If PAE paging would be in use following an execution of MOV to CR0 or
MOV to CR4 (see Section 4.1.1) and the instruction is modifying any of
CR0.CD, CR0.NW, CR0.PG, CR4.PAE, CR4.PGE, CR4.PSE, or CR4.SMEP; then
the PDPTEs are loaded from the address in CR3.

Fixes: b9baba8614 ("KVM, pkeys: expose CPUID/CR4 to guest")
Cc: Huaitong Han <huaitong.han@intel.com>
Signed-off-by: Jim Mattson <jmattson@google.com>
Reviewed-by: Peter Shier <pshier@google.com>
Reviewed-by: Oliver Upton <oupton@google.com>
Message-Id: <20200817181655.3716509-1-jmattson@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2020-08-17 15:24:08 -04:00
..
alpha asm-generic: pgalloc: provide generic pgd_free() 2020-08-07 11:33:26 -07:00
arc Merge branch 'akpm' (patches from Andrew) 2020-08-07 11:39:33 -07:00
arm media updates for v5.9-rc1 2020-08-07 13:00:53 -07:00
arm64 KVM/arm64 updates for Linux 5.9: 2020-08-09 12:58:23 -04:00
c6x Merge branch 'work.regset' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2020-08-07 09:29:25 -07:00
csky Merge branch 'akpm' (patches from Andrew) 2020-08-07 11:39:33 -07:00
h8300 Merge branch 'work.regset' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2020-08-07 09:29:25 -07:00
hexagon Merge branch 'akpm' (patches from Andrew) 2020-08-07 11:39:33 -07:00
ia64 Merge branch 'work.fdpic' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2020-08-07 13:29:39 -07:00
m68k Merge branch 'akpm' (patches from Andrew) 2020-08-07 11:39:33 -07:00
microblaze mm/sparse: cleanup the code surrounding memory_present() 2020-08-07 11:33:27 -07:00
mips KVM: MIPS/VZ: Fix build error caused by 'kvm_run' cleanup 2020-08-11 07:19:41 -04:00
nds32 Merge branch 'akpm' (patches from Andrew) 2020-08-07 11:39:33 -07:00
nios2 Merge branch 'akpm' (patches from Andrew) 2020-08-07 11:39:33 -07:00
openrisc Merge branch 'akpm' (patches from Andrew) 2020-08-07 11:39:33 -07:00
parisc Merge branch 'akpm' (patches from Andrew) 2020-08-07 11:39:33 -07:00
powerpc PPC KVM update for 5.9 2020-08-09 13:24:02 -04:00
riscv Merge branch 'akpm' (patches from Andrew) 2020-08-07 11:39:33 -07:00
s390 Merge branch 'work.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2020-08-07 21:14:30 -07:00
sh media updates for v5.9-rc1 2020-08-07 13:00:53 -07:00
sparc Merge branch 'akpm' (patches from Andrew) 2020-08-07 11:39:33 -07:00
um asm-generic: pgalloc: provide generic pgd_free() 2020-08-07 11:33:26 -07:00
x86 kvm: x86: Toggling CR4.PKE does not load PDPTEs in PAE mode 2020-08-17 15:24:08 -04:00
xtensa Merge branch 'akpm' (patches from Andrew) 2020-08-07 11:39:33 -07:00
.gitignore
Kconfig It's been a busy cycle for documentation - hopefully the busiest for a 2020-08-04 22:47:54 -07:00