• Alexander Graf's avatar
    KVM: PPC: E500: Remove kvmppc_e500_tlbil_all usage from guest TLB code · b9e3e208
    Alexander Graf authored
    The guest TLB handling code should not have any insight into how the host
    TLB shadow code works.
    
    kvmppc_e500_tlbil_all() is a function that is used for distinction between
    e500v2 and e500mc (E.HV) on how to flush shadow entries. This function really
    is private between the e500.c/e500mc.c file and e500_mmu_host.c.
    
    Instead of this one, use the public kvmppc_core_flush_tlb() function to flush
    all shadow TLB entries. As a nice side effect, with this we also end up
    flushing TLB1 entries which we forgot to do before.
    Signed-off-by: default avatarAlexander Graf <agraf@suse.de>
    b9e3e208
e500_mmu.c 20.8 KB