Home
last modified time | relevance | path

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

/Linux-v5.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()
769 host_tlb_params[0].entries = mfspr(SPRN_TLB0CFG) & TLBnCFG_N_ENTRY; in e500_mmu_host_init()
770 host_tlb_params[1].entries = mfspr(SPRN_TLB1CFG) & TLBnCFG_N_ENTRY; in e500_mmu_host_init()
777 if (host_tlb_params[0].entries == 0 || in e500_mmu_host_init()
778 host_tlb_params[1].entries == 0) { in e500_mmu_host_init()
783 host_tlb_params[0].ways = (mfspr(SPRN_TLB0CFG) & TLBnCFG_ASSOC) >> in e500_mmu_host_init()
785 host_tlb_params[1].ways = host_tlb_params[1].entries; in e500_mmu_host_init()
[all …]