Home
last modified time | relevance | path

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

/arch/powerpc/kvm/
De500mc.c362 int lpid; in kvmppc_core_init_vm_e500mc() local
364 lpid = kvmppc_alloc_lpid(); in kvmppc_core_init_vm_e500mc()
365 if (lpid < 0) in kvmppc_core_init_vm_e500mc()
366 return lpid; in kvmppc_core_init_vm_e500mc()
374 lpid <<= 1; in kvmppc_core_init_vm_e500mc()
376 kvm->arch.lpid = lpid; in kvmppc_core_init_vm_e500mc()
382 int lpid = kvm->arch.lpid; in kvmppc_core_destroy_vm_e500mc() local
385 lpid >>= 1; in kvmppc_core_destroy_vm_e500mc()
387 kvmppc_free_lpid(lpid); in kvmppc_core_destroy_vm_e500mc()
Dpowerpc.c1379 long lpid; in kvmppc_alloc_lpid() local
1382 lpid = find_first_zero_bit(lpid_inuse, KVMPPC_NR_LPIDS); in kvmppc_alloc_lpid()
1383 if (lpid >= nr_lpids) { in kvmppc_alloc_lpid()
1387 } while (test_and_set_bit(lpid, lpid_inuse)); in kvmppc_alloc_lpid()
1389 return lpid; in kvmppc_alloc_lpid()
1393 void kvmppc_claim_lpid(long lpid) in kvmppc_claim_lpid() argument
1395 set_bit(lpid, lpid_inuse); in kvmppc_claim_lpid()
1399 void kvmppc_free_lpid(long lpid) in kvmppc_free_lpid() argument
1401 clear_bit(lpid, lpid_inuse); in kvmppc_free_lpid()
De500_mmu_host.c73 uint32_t lpid) in __write_host_tlbe() argument
84 mtspr(SPRN_MAS8, MAS8_TGS | get_thread_specific_lpid(lpid)); in __write_host_tlbe()
133 __write_host_tlbe(stlbe, mas0, vcpu_e500->vcpu.kvm->arch.lpid); in write_host_tlbe()
138 vcpu_e500->vcpu.kvm->arch.lpid); in write_host_tlbe()
De500.h310 return get_thread_specific_lpid(vcpu->kvm->arch.lpid); in get_lpid()
Dbook3s_hv.c2498 unsigned long lpcr, lpid; in kvmppc_core_init_vm_hv() local
2502 lpid = kvmppc_alloc_lpid(); in kvmppc_core_init_vm_hv()
2503 if ((long)lpid < 0) in kvmppc_core_init_vm_hv()
2505 kvm->arch.lpid = lpid; in kvmppc_core_init_vm_hv()
2527 lpcr |= ((lpid >> 4) << HID4_LPID1_SH) | in kvmppc_core_init_vm_hv()
2528 ((lpid & 0xf) << HID4_LPID5_SH); in kvmppc_core_init_vm_hv()
Dbook3s_64_mmu_hv.c100 hpt, order, kvm->arch.lpid); in kvmppc_alloc_hpt()
152 kvmppc_free_lpid(kvm->arch.lpid); in kvmppc_free_hpt()
Dbook3s_hv_rm_mmu.c460 "r" (rbvalues[i]), "r" (kvm->arch.lpid)); in do_tlbies()
/arch/powerpc/platforms/cell/
Dbeat_wrapper.h280 static inline s64 beat_get_repository_node_value(u64 lpid, u64 path[4], in beat_get_repository_node_value() argument
286 lpid, path[0], path[1], path[2], path[3]); in beat_get_repository_node_value()
/arch/powerpc/include/asm/
Dkvm_ppc.h512 void kvmppc_claim_lpid(long lpid);
513 void kvmppc_free_lpid(long lpid);
Dkvm_host.h231 unsigned int lpid; member
/arch/powerpc/kernel/
Dasm-offsets.c484 DEFINE(KVM_LPID, offsetof(struct kvm, arch.lpid)); in main()