diff options
author | Hollis Blanchard <hollisb@us.ibm.com> | 2009-01-03 23:23:11 +0100 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2009-03-24 10:02:59 +0100 |
commit | b52a638c391c5c7b013180f5374274698b8535c8 (patch) | |
tree | bc0e5ed5f177e2c58c61a8ac5254d9072e885a12 /arch/powerpc/kvm/44x_tlb.c | |
parent | KVM: ppc: E500 core-specific code (diff) | |
download | linux-b52a638c391c5c7b013180f5374274698b8535c8.tar.xz linux-b52a638c391c5c7b013180f5374274698b8535c8.zip |
KVM: ppc: Add kvmppc_mmu_dtlb/itlb_miss for booke
When itlb or dtlb miss happens, E500 needs to update some mmu registers.
So that the auto-load mechanism can work on E500 when write a tlb entry.
Signed-off-by: Liu Yu <yu.liu@freescale.com>
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/powerpc/kvm/44x_tlb.c')
-rw-r--r-- | arch/powerpc/kvm/44x_tlb.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/powerpc/kvm/44x_tlb.c b/arch/powerpc/kvm/44x_tlb.c index e67b7313ffc3..4a16f472cc18 100644 --- a/arch/powerpc/kvm/44x_tlb.c +++ b/arch/powerpc/kvm/44x_tlb.c @@ -232,6 +232,14 @@ int kvmppc_mmu_dtlb_index(struct kvm_vcpu *vcpu, gva_t eaddr) return kvmppc_44x_tlb_index(vcpu, eaddr, vcpu->arch.pid, as); } +void kvmppc_mmu_itlb_miss(struct kvm_vcpu *vcpu) +{ +} + +void kvmppc_mmu_dtlb_miss(struct kvm_vcpu *vcpu) +{ +} + static void kvmppc_44x_shadow_release(struct kvmppc_vcpu_44x *vcpu_44x, unsigned int stlb_index) { |