Home
last modified time | relevance | path

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

/linux-6.1.9/arch/powerpc/kernel/
Dcpu_setup_power.c139 mtspr(SPRN_LPID, 0); in __setup_cpu_power7()
153 mtspr(SPRN_LPID, 0); in __restore_cpu_power7()
168 mtspr(SPRN_LPID, 0); in __setup_cpu_power8()
189 mtspr(SPRN_LPID, 0); in __restore_cpu_power8()
207 mtspr(SPRN_LPID, 0); in __setup_cpu_power9()
229 mtspr(SPRN_LPID, 0); in __restore_cpu_power9()
249 mtspr(SPRN_LPID, 0); in __setup_cpu_power10()
272 mtspr(SPRN_LPID, 0); in __restore_cpu_power10()
Ddt_cpu_ftrs.c82 mtspr(SPRN_LPID, 0); in __restore_cpu_cpufeatures()
218 mtspr(SPRN_LPID, 0); in feat_enable_hv()
/linux-6.1.9/arch/powerpc/platforms/powernv/
Dsubcore-asm.S71 mtspr SPRN_LPID, r4
Dvas-window.c1419 txattr.lpid = mfspr(SPRN_LPID); in vas_user_win_open()
/linux-6.1.9/drivers/misc/cxl/
Dcxllib.c182 attr->lpid = mfspr(SPRN_LPID); in cxllib_get_PE_attributes()
Dnative.c671 ctx->elem->lpid = cpu_to_be32(mfspr(SPRN_LPID)); in process_element_entry_psl9()
745 ctx->elem->lpid = cpu_to_be32(mfspr(SPRN_LPID)); in cxl_attach_afu_directed_psl8()
865 cxl_p1n_write(afu, CXL_PSL_LPID_An, mfspr(SPRN_LPID)); in cxl_activate_dedicated_process_psl8()
/linux-6.1.9/arch/powerpc/kvm/
Dbook3s_hv_p9_entry.c317 mtspr(SPRN_LPID, lpid); in switch_mmu_to_guest_radix()
342 mtspr(SPRN_LPID, lpid); in switch_mmu_to_guest_hpt()
367 mtspr(SPRN_LPID, lpid); in switch_mmu_to_host()
Dbook3s_64_entry.S390 mtspr SPRN_LPID,r10
Dbook3s_64_mmu_radix.c64 old_lpid = mfspr(SPRN_LPID); in __kvmhv_copy_tofrom_guest_radix()
66 mtspr(SPRN_LPID, lpid); in __kvmhv_copy_tofrom_guest_radix()
87 mtspr(SPRN_LPID, old_lpid); in __kvmhv_copy_tofrom_guest_radix()
De500mc.c118 mtspr(SPRN_LPID, get_lpid(vcpu)); in kvmppc_core_vcpu_load_e500mc()
Dbook3s_hv_rmhandlers.S562 mtspr SPRN_LPID,r0
565 mtspr SPRN_LPID,r7
1433 mtspr SPRN_LPID,r8
1436 mtspr SPRN_LPID,r7
Dbook3s_64_mmu_hv.c265 if (WARN_ON(mfspr(SPRN_LPID) != 0)) in kvmppc_mmu_hv_init()
Dbook3s_hv.c5410 kvm->arch.host_lpid = mfspr(SPRN_LPID); in kvmppc_core_init_vm_hv()
/linux-6.1.9/drivers/misc/ocxl/
Dlink.c420 pnv_ocxl_map_lpar(dev, mfspr(SPRN_LPID), 0, &link->arva); in alloc_link()
578 pe->lpid = cpu_to_be32(mfspr(SPRN_LPID)); in ocxl_link_add_pe()
/linux-6.1.9/arch/powerpc/include/asm/
Dreg.h473 #ifndef SPRN_LPID
474 #define SPRN_LPID 0x13F /* Logical Partition Identifier */ macro
Dreg_booke.h74 #define SPRN_LPID 0x152 /* Logical Partition ID */ macro
/linux-6.1.9/arch/powerpc/xmon/
Dxmon.c2042 mfspr(SPRN_LPCR), mfspr(SPRN_PCR), mfspr(SPRN_LPID)); in dump_206_sprs()