Home
last modified time | relevance | path

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

/linux-6.12.1/arch/powerpc/kvm/
Dbook3s_64_mmu_hv.c260 unsigned long nr_lpids; in kvmppc_mmu_hv_init() local
268 nr_lpids = 1UL << mmu_lpid_bits; in kvmppc_mmu_hv_init()
270 nr_lpids = 1UL << KVM_MAX_NESTED_GUESTS_SHIFT; in kvmppc_mmu_hv_init()
276 WARN_ON(nr_lpids != 1UL << 12); in kvmppc_mmu_hv_init()
278 WARN_ON(nr_lpids != 1UL << 10); in kvmppc_mmu_hv_init()
284 nr_lpids -= 1; in kvmppc_mmu_hv_init()
287 kvmppc_init_lpid(nr_lpids); in kvmppc_mmu_hv_init()
Dpowerpc.c2502 static unsigned long nr_lpids; variable
2509 lpid = ida_alloc_range(&lpid_inuse, 1, nr_lpids - 1, GFP_KERNEL); in kvmppc_alloc_lpid()
2531 nr_lpids = nr_lpids_param; in kvmppc_init_lpid()
/linux-6.12.1/arch/powerpc/include/asm/
Dkvm_ppc.h928 void kvmppc_init_lpid(unsigned long nr_lpids);