Home
last modified time | relevance | path

Searched refs:iamr (Results 1 – 9 of 9) sorted by relevance

/kernel/linux/linux-5.10/arch/powerpc/mm/book3s64/
Dpkeys.c325 thread->iamr = read_iamr(); in thread_pkey_regs_save()
336 if (old_thread->iamr != new_thread->iamr) in thread_pkey_regs_restore()
337 write_iamr(new_thread->iamr); in thread_pkey_regs_restore()
346 thread->iamr = default_iamr; in thread_pkey_regs_init()
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/ptrace/
Dcore-pkey.c55 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()
/kernel/linux/linux-5.10/arch/powerpc/platforms/powernv/
Didle.c307 u64 iamr; member
379 sprs.iamr = mfspr(SPRN_IAMR); in power7_idle_insn()
398 mtspr(SPRN_IAMR, sprs.iamr); in power7_idle_insn()
600 u64 iamr; member
689 sprs.iamr = mfspr(SPRN_IAMR); in power9_idle_stop()
710 mtspr(SPRN_IAMR, sprs.iamr); in power9_idle_stop()
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
Dprocessor.h235 unsigned long iamr; member
Dkvm_host.h583 ulong iamr; member
/kernel/linux/linux-5.10/arch/powerpc/kernel/ptrace/
Dptrace-view.c473 BUILD_BUG_ON(TSO(amr) + sizeof(unsigned long) != TSO(iamr)); in pkey_get()
/kernel/linux/linux-5.10/arch/powerpc/kvm/
Dbook3s_64_mmu_radix.c294 if (vcpu->arch.iamr & (1ul << 62)) in kvmppc_mmu_radix_xlate()
Dbook3s_hv.c1732 *val = get_reg_val(id, vcpu->arch.iamr); in kvmppc_get_one_reg_hv()
1971 vcpu->arch.iamr = set_reg_val(id, *val); in kvmppc_set_one_reg_hv()
3645 mtspr(SPRN_IAMR, vcpu->arch.iamr); in kvmhv_p9_guest_entry()
3722 vcpu->arch.iamr = mfspr(SPRN_IAMR); in kvmhv_p9_guest_entry()
/kernel/linux/linux-5.10/arch/powerpc/kernel/
Dasm-offsets.c547 OFFSET(VCPU_IAMR, kvm_vcpu, arch.iamr); in main()