Home
last modified time | relevance | path

Searched refs:host_tlb_params (Results 1 – 1 of 1) sorted by relevance

/linux-5.19.10/arch/powerpc/kvm/
De500_mmu_host.c38 #define to_htlb1_esel(esel) (host_tlb_params[1].entries - (esel) - 1)
40 static struct kvmppc_e500_tlb_params host_tlb_params[E500_TLB_NUM]; variable
45 return host_tlb_params[1].entries - tlbcam_index - 1; in tlb1_max_shadow_size()
278 sizeof(unsigned int) * host_tlb_params[1].entries); in clear_tlb1_bitmap()
760 host_tlb_params[0].entries = mfspr(SPRN_TLB0CFG) & TLBnCFG_N_ENTRY; in e500_mmu_host_init()
761 host_tlb_params[1].entries = mfspr(SPRN_TLB1CFG) & TLBnCFG_N_ENTRY; in e500_mmu_host_init()
768 if (host_tlb_params[0].entries == 0 || in e500_mmu_host_init()
769 host_tlb_params[1].entries == 0) { in e500_mmu_host_init()
774 host_tlb_params[0].ways = (mfspr(SPRN_TLB0CFG) & TLBnCFG_ASSOC) >> in e500_mmu_host_init()
776 host_tlb_params[1].ways = host_tlb_params[1].entries; in e500_mmu_host_init()
[all …]