Searched refs:iamr (Results 1 – 13 of 13) sorted by relevance
/linux-6.6.21/arch/powerpc/include/asm/book3s/64/ |
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-6.6.21/arch/powerpc/kernel/ |
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()
|
D | asm-offsets.c | 304 STACK_PT_REGS_OFFSET(STACK_REGS_IAMR, iamr); in main() 444 OFFSET(VCPU_IAMR, kvm_vcpu, arch.iamr); in main()
|
D | process.c | 1635 current->thread.regs->iamr = default_iamr; in arch_setup_new_exec()
|
/linux-6.6.21/tools/testing/selftests/powerpc/ptrace/ |
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-6.6.21/arch/powerpc/kvm/ |
D | book3s_hv.h | 7 unsigned long iamr; member 106 KVMPPC_BOOK3S_HV_VCPU_ACCESSOR(iamr, 64)
|
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()
|
D | book3s_64_mmu_radix.c | 302 if (vcpu->arch.iamr & (1ul << 62)) in kvmppc_mmu_radix_xlate()
|
/linux-6.6.21/arch/powerpc/platforms/powernv/ |
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-6.6.21/arch/powerpc/include/asm/ |
D | ptrace.h | 74 unsigned long iamr; member
|
D | kvm_host.h | 578 ulong iamr; member
|
/linux-6.6.21/arch/powerpc/mm/book3s64/ |
D | pkeys.c | 330 current->thread.regs->iamr = old_iamr | new_iamr_bits; in init_iamr()
|
/linux-6.6.21/arch/powerpc/kernel/ptrace/ |
D | ptrace-view.c | 534 membuf_store(&to, target->thread.regs->iamr); in pkey_get()
|