Searched refs:iamr (Results 1 – 14 of 14) sorted by relevance
/linux/arch/powerpc/include/asm/book3s/64/ |
H A D | kup.h | 226 return current->thread.regs->iamr; in current_thread_iamr() 236 unsigned long amr, iamr; in kuap_user_restore() local 250 iamr = mfspr(SPRN_IAMR); in kuap_user_restore() 251 if (iamr != regs->iamr) in kuap_user_restore() 263 mtspr(SPRN_IAMR, regs->iamr); in kuap_user_restore()
|
/linux/arch/powerpc/kernel/ |
H A D | syscall.c | 39 unsigned long amr, iamr; in system_call_exception() local 46 iamr = mfspr(SPRN_IAMR); in system_call_exception() 48 regs->iamr = iamr; in system_call_exception()
|
H A D | asm-offsets.c | 302 STACK_PT_REGS_OFFSET(STACK_REGS_IAMR, iamr); in main() 445 OFFSET(VCPU_IAMR, kvm_vcpu, arch.iamr); in main()
|
H A D | process.c | 1640 current->thread.regs->iamr = default_iamr; in arch_setup_new_exec()
|
/linux/tools/testing/selftests/powerpc/ptrace/ |
H A D | core-pkey.c | 55 unsigned long iamr; member 142 info->iamr |= 1ul << pkeyshift(pkey1); in child() 144 info->iamr &= ~(1ul << pkeyshift(pkey1)); in child() 146 info->iamr &= ~(1ul << pkeyshift(pkey2) | 1ul << pkeyshift(pkey3)); in child() 250 FAIL_IF(regs[1] != info->iamr); in check_core_file() 273 info->iamr = regs[1]; in parent()
|
/linux/arch/powerpc/kvm/ |
H A D | book3s_hv_p9_entry.c | 34 if (host_os_sprs->iamr != vcpu->arch.iamr) in load_spr_state() 35 mtspr(SPRN_IAMR, vcpu->arch.iamr); in load_spr_state() 75 vcpu->arch.iamr = mfspr(SPRN_IAMR); in store_spr_state() 150 host_os_sprs->iamr = mfspr(SPRN_IAMR); in save_p9_host_os_sprs() 171 if (host_os_sprs->iamr != vcpu->arch.iamr) in restore_p9_host_os_sprs() 172 mtspr(SPRN_IAMR, host_os_sprs->iamr); in restore_p9_host_os_sprs()
|
H A D | book3s_hv.h | 9 unsigned long iamr; member 114 KVMPPC_BOOK3S_HV_VCPU_ACCESSOR(iamr, 64, KVMPPC_GSID_IAMR)
|
H A D | book3s_hv_nestedv2.c | 182 rc = kvmppc_gse_put_u64(gsb, iden, vcpu->arch.iamr); in gs_msg_ops_vcpu_fill_info() 443 vcpu->arch.iamr = kvmppc_gse_get_u64(gse); in gs_msg_ops_vcpu_refresh_info()
|
H A D | book3s_64_mmu_radix.c | 307 if (vcpu->arch.iamr & (1ul << 62)) in kvmppc_mmu_radix_xlate()
|
/linux/arch/powerpc/platforms/powernv/ |
H A D | idle.c | 309 u64 iamr; member 381 sprs.iamr = mfspr(SPRN_IAMR); in power7_idle_insn() 399 mtspr(SPRN_IAMR, sprs.iamr); in power7_idle_insn() 603 u64 iamr; member 690 sprs.iamr = mfspr(SPRN_IAMR); in power9_idle_stop() 710 mtspr(SPRN_IAMR, sprs.iamr); in power9_idle_stop()
|
/linux/arch/powerpc/include/asm/ |
H A D | ptrace.h | 74 unsigned long iamr; member
|
H A D | kvm_host.h | 594 ulong iamr; member
|
/linux/arch/powerpc/mm/book3s64/ |
H A D | pkeys.c | 331 current->thread.regs->iamr = old_iamr | new_iamr_bits; in init_iamr()
|
/linux/arch/powerpc/kernel/ptrace/ |
H A D | ptrace-view.c | 529 membuf_store(&to, target->thread.regs->iamr); in pkey_get()
|