linux-stable-rt/arch/x86/kvm
Avi Kivity a2edf57f51 KVM: Fix PDPTR reloading on CR4 writes
The processor is documented to reload the PDPTRs while in PAE mode if any
of the CR4 bits PSE, PGE, or PAE change.  Linux relies on this
behaviour when zapping the low mappings of PAE kernels during boot.

The code already handled changes to CR4.PAE; augment it to also notice changes
to PSE and PGE.

This triggered while booting an F11 PAE kernel; the futex initialization code
runs before any CR3 reloads and writes to a NULL pointer; the futex subsystem
ended up uninitialized, killing PI futexes and pulseaudio which uses them.

Cc: stable@kernel.org
Signed-off-by: Avi Kivity <avi@redhat.com>
2009-05-25 20:00:53 +03:00
..
Kconfig Merge branch 'tracing/core-v2' into tracing-for-linus 2009-04-02 00:49:02 +02:00
Makefile
i8254.c
i8254.h
i8259.c
irq.c
irq.h
kvm_cache_regs.h
kvm_svm.h
lapic.c
lapic.h
mmu.c KVM: Make paravirt tlb flush also reload the PAE PDPTRs 2009-05-25 20:00:50 +03:00
mmu.h
paging_tmpl.h
svm.c KVM: SVM: Remove port 80 passthrough 2009-05-11 14:40:51 +03:00
tss.h
vmx.c KVM: VMX: Don't allow uninhibited access to EFER on i386 2009-03-24 11:03:15 +02:00
x86.c KVM: Fix PDPTR reloading on CR4 writes 2009-05-25 20:00:53 +03:00
x86.h
x86_emulate.c