linux/arch
Avi Kivity b0bc3ee2b5 KVM: MMU: Fix regression with ept memory types merged into non-ept page tables
Commit "KVM: MMU: Make tdp_enabled a mmu-context parameter" made real-mode
set ->direct_map, and changed the code that merges in the memory type depend
on direct_map instead of tdp_enabled.  However, in this case what really
matters is tdp, not direct_map, since tdp changes the pte format regardless
of whether the mapping is direct or not.

As a result, real-mode shadow mappings got corrupted with ept memory types.
The result was a huge slowdown, likely due to the cache being disabled.

Change it back as the simplest fix for the regression (real fix is to move
all that to vmx code, and not use tdp_enabled as a synonym for ept).

Signed-off-by: Avi Kivity <avi@redhat.com>
2010-10-24 10:52:49 +02:00
..
alpha
arm Merge master.kernel.org:/home/rmk/linux-2.6-arm 2010-10-13 16:35:33 -07:00
avr32
blackfin
cris
frv
h8300
ia64 KVM: ia64: define kvm_lapic_enabled() to fix a compile error 2010-10-24 10:52:00 +02:00
m32r m32r: test __LITTLE_ENDIAN__ instead of __LITTLE_ENDIAN 2010-10-15 19:37:50 -07:00
m68k
m68knommu
microblaze
mips Merge branch 'upstream' of git://git.linux-mips.org/pub/scm/upstream-linus 2010-10-18 13:10:36 -07:00
mn10300
parisc
powerpc KVM: PPC: Move of include to __KERNEL__ section 2010-10-24 10:52:23 +02:00
s390 KVM: S390: Export kvm_virtio.h 2010-10-24 10:51:30 +02:00
score
sh
sparc
tile
um uml: fix build 2010-10-15 14:42:24 -07:00
x86 KVM: MMU: Fix regression with ept memory types merged into non-ept page tables 2010-10-24 10:52:49 +02:00
xtensa
.gitignore
Kconfig