original_kernel/arch/powerpc/kvm
Alexander Graf 4b5c9b7f9b KVM: PPC: Make large pages work
An SLB entry contains two pieces of information related to size:

  1) PTE size
  2) SLB size

The L bit defines the PTE be "large" (usually means 16MB),
SLB_VSID_B_1T defines that the SLB should span 1 GB instead of the
default 256MB.

Apparently I messed things up and just put those two in one box,
shaked it heavily and came up with the current code which handles
large pages incorrectly, because it also treats large page SLB entries
as "1TB" segment entries.

This patch splits those two features apart, making Linux guests boot
even when they have > 256MB.

Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Avi Kivity <avi@redhat.com>
2010-03-01 12:35:50 -03:00
..
44x.c
44x_emulate.c KVM: PPC: Use accessor functions for GPR access 2010-03-01 12:35:47 -03:00
44x_tlb.c KVM: PPC: Add helpers for CR, XER 2010-03-01 12:35:47 -03:00
44x_tlb.h
Kconfig KVM: Add KVM_MMIO kconfig item 2010-03-01 12:35:41 -03:00
Makefile
book3s.c KVM: PPC: Pass program interrupt flags to the guest 2010-03-01 12:35:49 -03:00
book3s_32_mmu.c
book3s_64_emulate.c KVM: PPC: Use accessor functions for GPR access 2010-03-01 12:35:47 -03:00
book3s_64_exports.c KVM: PPC: Call SLB patching code in interrupt safe manner 2010-03-01 12:35:49 -03:00
book3s_64_interrupts.S KVM: PPC: Fix HID5 setting code 2010-03-01 12:35:49 -03:00
book3s_64_mmu.c KVM: PPC: Make large pages work 2010-03-01 12:35:50 -03:00
book3s_64_mmu_host.c
book3s_64_rmhandlers.S KVM: PPC: Call SLB patching code in interrupt safe manner 2010-03-01 12:35:49 -03:00
book3s_64_slb.S KVM: PPC: Call SLB patching code in interrupt safe manner 2010-03-01 12:35:49 -03:00
booke.c KVM: PPC: Emulate trap SRR1 flags properly 2010-03-01 12:35:49 -03:00
booke.h
booke_emulate.c KVM: PPC: Use accessor functions for GPR access 2010-03-01 12:35:47 -03:00
booke_interrupts.S
e500.c
e500_emulate.c KVM: PPC: Use accessor functions for GPR access 2010-03-01 12:35:47 -03:00
e500_tlb.c KVM: PPC: Use accessor functions for GPR access 2010-03-01 12:35:47 -03:00
e500_tlb.h
emulate.c KVM: PPC: Pass through program interrupts 2010-03-01 12:35:49 -03:00
powerpc.c KVM: PPC: Use accessor functions for GPR access 2010-03-01 12:35:47 -03:00
timing.c
timing.h
trace.h