Home
last modified time | relevance | path

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

/linux-5.19.10/arch/powerpc/kvm/
Dbook3s_64_mmu_hv.c259 unsigned long nr_lpids; in kvmppc_mmu_hv_init() local
267 nr_lpids = 1UL << mmu_lpid_bits; in kvmppc_mmu_hv_init()
269 nr_lpids = 1UL << KVM_MAX_NESTED_GUESTS_SHIFT; in kvmppc_mmu_hv_init()
275 WARN_ON(nr_lpids != 1UL << 12); in kvmppc_mmu_hv_init()
277 WARN_ON(nr_lpids != 1UL << 10); in kvmppc_mmu_hv_init()
283 nr_lpids -= 1; in kvmppc_mmu_hv_init()
286 kvmppc_init_lpid(nr_lpids); in kvmppc_mmu_hv_init()
Dpowerpc.c2501 static unsigned long nr_lpids; variable
2508 lpid = ida_alloc_range(&lpid_inuse, 1, nr_lpids - 1, GFP_KERNEL); in kvmppc_alloc_lpid()
2530 nr_lpids = nr_lpids_param; in kvmppc_init_lpid()
/linux-5.19.10/arch/powerpc/include/asm/
Dkvm_ppc.h872 void kvmppc_init_lpid(unsigned long nr_lpids);