kernel-hacking-2024-linux-s.../arch/x86/kvm
Sheng Yang d40a1ee485 KVM: MMU: Modify kvm_shadow_walk.entry to accept u64 addr
EPT is 4 level by default in 32pae(48 bits), but the addr parameter
of kvm_shadow_walk->entry() only accept unsigned long as virtual
address, which is 32bit in 32pae. This result in SHADOW_PT_INDEX()
overflow when try to fetch level 4 index.

Fix it by extend kvm_shadow_walk->entry() to accept 64bit addr in
parameter.

Signed-off-by: Sheng Yang <sheng.yang@intel.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
2008-10-15 10:15:25 +02:00
..
i8254.c KVM: make irq ack notifier functions static 2008-10-15 10:15:21 +02:00
i8254.h KVM: PIT: fix injection logic and count 2008-10-15 10:15:17 +02:00
i8259.c KVM: fix i8259 reset irq acking 2008-10-15 10:15:19 +02:00
irq.c KVM: PIT: fix injection logic and count 2008-10-15 10:15:17 +02:00
irq.h KVM: irq ack notification 2008-10-15 10:15:16 +02:00
Kconfig mmu-notifiers: core 2008-07-28 16:30:21 -07:00
kvm_cache_regs.h KVM: x86: accessors for guest registers 2008-10-15 10:13:57 +02:00
kvm_svm.h
lapic.c KVM: irq ack notification 2008-10-15 10:15:16 +02:00
lapic.h KVM: add statics were possible, function definition in lapic.h 2008-07-20 12:40:46 +03:00
Makefile KVM: Add coalesced MMIO support (x86 part) 2008-07-20 12:42:31 +03:00
mmu.c KVM: MMU: Modify kvm_shadow_walk.entry to accept u64 addr 2008-10-15 10:15:25 +02:00
mmu.h KVM: MMU: Fix false flooding when a pte points to page table 2008-07-20 12:40:50 +03:00
paging_tmpl.h KVM: MMU: Modify kvm_shadow_walk.entry to accept u64 addr 2008-10-15 10:15:25 +02:00
svm.c KVM: SVM: No need to unprotect memory during event injection when using npt 2008-10-15 10:15:24 +02:00
svm.h
tss.h
vmx.c KVM: VMX: Change segment dpl at reset to 3 2008-10-15 10:15:21 +02:00
vmx.h KVM: VMX: Rename misnamed msr bits 2008-10-15 10:13:57 +02:00
x86.c KVM: add MC5_MISC msr read support 2008-10-15 10:15:24 +02:00
x86.h KVM: Add a pending interrupt queue 2008-10-15 10:15:13 +02:00
x86_emulate.c KVM: x86 emulator: Add std and cld instructions (opcodes 0xfc-0xfd) 2008-10-15 10:15:25 +02:00