forked from Minki/linux
dd9ebf1f94
Dynamically assign host PIDs to guest PIDs, splitting each guest PID into multiple host (shadow) PIDs based on kernel/user and MSR[IS/DS]. Use both PID0 and PID1 so that the shadow PIDs for the right mode can be selected, that correspond both to guest TID = zero and guest TID = guest PID. This allows us to significantly reduce the frequency of needing to invalidate the entire TLB. When the guest mode or PID changes, we just update the host PID0/PID1. And since the allocation of shadow PIDs is global, multiple guests can share the TLB without conflict. Note that KVM does not yet support the guest setting PID1 or PID2 to a value other than zero. This will need to be fixed for nested KVM to work. Until then, we enforce the requirement for guest PID1/PID2 to stay zero by failing the emulation if the guest tries to set them to something else. Signed-off-by: Liu Yu <yu.liu@freescale.com> Signed-off-by: Scott Wood <scottwood@freescale.com> Signed-off-by: Alexander Graf <agraf@suse.de> |
||
---|---|---|
.. | ||
44x_emulate.c | ||
44x_tlb.c | ||
44x_tlb.h | ||
44x.c | ||
book3s_32_mmu_host.c | ||
book3s_32_mmu.c | ||
book3s_32_sr.S | ||
book3s_64_mmu_host.c | ||
book3s_64_mmu.c | ||
book3s_64_slb.S | ||
book3s_emulate.c | ||
book3s_exports.c | ||
book3s_interrupts.S | ||
book3s_mmu_hpte.c | ||
book3s_paired_singles.c | ||
book3s_rmhandlers.S | ||
book3s_segment.S | ||
book3s.c | ||
booke_emulate.c | ||
booke_interrupts.S | ||
booke.c | ||
booke.h | ||
e500_emulate.c | ||
e500_tlb.c | ||
e500_tlb.h | ||
e500.c | ||
emulate.c | ||
fpu.S | ||
Kconfig | ||
Makefile | ||
powerpc.c | ||
timing.c | ||
timing.h | ||
trace.h |