/arch/powerpc/include/asm/ |
D | trace.h | 175 TP_PROTO(unsigned long lpid, unsigned long local, unsigned long rb, 178 TP_ARGS(lpid, local, rb, rs, ric, prs, r), 180 __field(unsigned long, lpid) 190 __entry->lpid = lpid; 200 "prs=0x%lx, r=0x%lx", __entry->lpid, __entry->local,
|
D | vas.h | 89 int lpid; member
|
D | mmu.h | 228 extern void mmu_partition_table_set_entry(unsigned int lpid, unsigned long dw0,
|
D | kvm_ppc.h | 725 void kvmppc_claim_lpid(long lpid); 726 void kvmppc_free_lpid(long lpid);
|
D | kvm_host.h | 265 unsigned int lpid; member
|
/arch/powerpc/mm/ |
D | pgtable_64.c | 469 void mmu_partition_table_set_entry(unsigned int lpid, unsigned long dw0, in mmu_partition_table_set_entry() argument 472 unsigned long old = be64_to_cpu(partition_tb[lpid].patb0); in mmu_partition_table_set_entry() 474 partition_tb[lpid].patb0 = cpu_to_be64(dw0); in mmu_partition_table_set_entry() 475 partition_tb[lpid].patb1 = cpu_to_be64(dw1); in mmu_partition_table_set_entry() 485 "r" (TLBIEL_INVAL_SET_LPID), "r" (lpid)); in mmu_partition_table_set_entry() 487 "r" (TLBIEL_INVAL_SET_LPID), "r" (lpid)); in mmu_partition_table_set_entry() 488 trace_tlbie(lpid, 0, TLBIEL_INVAL_SET_LPID, lpid, 2, 0, 1); in mmu_partition_table_set_entry() 491 "r" (TLBIEL_INVAL_SET_LPID), "r" (lpid)); in mmu_partition_table_set_entry() 492 trace_tlbie(lpid, 0, TLBIEL_INVAL_SET_LPID, lpid, 2, 0, 0); in mmu_partition_table_set_entry()
|
D | tlb-radix.c | 457 void radix__flush_tlb_lpid_va(unsigned long lpid, unsigned long gpa, in radix__flush_tlb_lpid_va() argument 467 rs = lpid & ((1UL << 32) - 1); in radix__flush_tlb_lpid_va() 475 trace_tlbie(lpid, 0, rb, rs, ric, prs, r); in radix__flush_tlb_lpid_va() 479 void radix__flush_tlb_lpid(unsigned long lpid) in radix__flush_tlb_lpid() argument 485 rs = lpid & ((1UL << 32) - 1); in radix__flush_tlb_lpid() 493 trace_tlbie(lpid, 0, rb, rs, ric, prs, r); in radix__flush_tlb_lpid()
|
/arch/powerpc/kvm/ |
D | e500mc.c | 364 int lpid; in kvmppc_core_init_vm_e500mc() local 366 lpid = kvmppc_alloc_lpid(); in kvmppc_core_init_vm_e500mc() 367 if (lpid < 0) in kvmppc_core_init_vm_e500mc() 368 return lpid; in kvmppc_core_init_vm_e500mc() 376 lpid <<= 1; in kvmppc_core_init_vm_e500mc() 378 kvm->arch.lpid = lpid; in kvmppc_core_init_vm_e500mc() 384 int lpid = kvm->arch.lpid; in kvmppc_core_destroy_vm_e500mc() local 387 lpid >>= 1; in kvmppc_core_destroy_vm_e500mc() 389 kvmppc_free_lpid(lpid); in kvmppc_core_destroy_vm_e500mc()
|
D | powerpc.c | 1893 long lpid; in kvmppc_alloc_lpid() local 1896 lpid = find_first_zero_bit(lpid_inuse, KVMPPC_NR_LPIDS); in kvmppc_alloc_lpid() 1897 if (lpid >= nr_lpids) { in kvmppc_alloc_lpid() 1901 } while (test_and_set_bit(lpid, lpid_inuse)); in kvmppc_alloc_lpid() 1903 return lpid; in kvmppc_alloc_lpid() 1907 void kvmppc_claim_lpid(long lpid) in kvmppc_claim_lpid() argument 1909 set_bit(lpid, lpid_inuse); in kvmppc_claim_lpid() 1913 void kvmppc_free_lpid(long lpid) in kvmppc_free_lpid() argument 1915 clear_bit(lpid, lpid_inuse); in kvmppc_free_lpid()
|
D | e500_mmu_host.c | 74 uint32_t lpid) in __write_host_tlbe() argument 85 mtspr(SPRN_MAS8, MAS8_TGS | get_thread_specific_lpid(lpid)); in __write_host_tlbe() 134 __write_host_tlbe(stlbe, mas0, vcpu_e500->vcpu.kvm->arch.lpid); in write_host_tlbe() 139 vcpu_e500->vcpu.kvm->arch.lpid); in write_host_tlbe()
|
D | e500.h | 310 return get_thread_specific_lpid(vcpu->kvm->arch.lpid); in get_lpid()
|
D | book3s_hv_rm_mmu.c | 432 static inline void fixup_tlbie_lpid(unsigned long rb_value, unsigned long lpid) in fixup_tlbie_lpid() argument 459 "r" (rb_value), "r" (lpid)); in fixup_tlbie_lpid() 480 "r" (rbvalues[i]), "r" (kvm->arch.lpid)); in do_tlbies() 483 fixup_tlbie_lpid(rbvalues[i - 1], kvm->arch.lpid); in do_tlbies()
|
D | book3s_64_mmu_radix.c | 162 : : "r" (addr), "r" (kvm->arch.lpid) : "memory"); in kvmppc_radix_tlbie_page() 165 : : "r" (addr), "r" (kvm->arch.lpid) : "memory"); in kvmppc_radix_tlbie_page()
|
D | book3s_hv.c | 3568 mmu_partition_table_set_entry(kvm->arch.lpid, dw0, dw1); in kvmppc_setup_partition_table() 3747 unsigned long lpcr, lpid; in kvmppc_core_init_vm_hv() local 3753 lpid = kvmppc_alloc_lpid(); in kvmppc_core_init_vm_hv() 3754 if ((long)lpid < 0) in kvmppc_core_init_vm_hv() 3756 kvm->arch.lpid = lpid; in kvmppc_core_init_vm_hv() 3816 kvmppc_free_lpid(kvm->arch.lpid); in kvmppc_core_init_vm_hv() 3891 kvmppc_free_lpid(kvm->arch.lpid); in kvmppc_core_destroy_vm_hv()
|
D | book3s_xive.c | 121 vcpu->kvm->arch.lpid, xc->server_num, prio); in xive_attach_escalation()
|
D | book3s_64_mmu_hv.c | 138 info->virt, (long)info->order, kvm->arch.lpid); in kvmppc_set_hpt()
|
/arch/powerpc/include/asm/book3s/64/ |
D | tlbflush-radix.h | 41 extern void radix__flush_tlb_lpid_va(unsigned long lpid, unsigned long gpa, 43 extern void radix__flush_tlb_lpid(unsigned long lpid);
|
/arch/powerpc/platforms/powernv/ |
D | vas.h | 368 int lpid; member
|
D | vas-window.c | 352 val = SET_FIELD(VAS_LPID, val, winctx->lpid); in init_winctx_regs() 903 winctx->lpid = txattr->lpid; in init_winctx_for_txwin()
|
/arch/powerpc/kernel/ |
D | asm-offsets.c | 479 OFFSET(KVM_LPID, kvm, arch.lpid); in main()
|