Home
last modified time | relevance | path

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

/arch/powerpc/mm/book3s64/
Dpkeys.c278 thread->iamr = read_iamr(); in thread_pkey_regs_save()
290 if (old_thread->iamr != new_thread->iamr) in thread_pkey_regs_restore()
291 write_iamr(new_thread->iamr); in thread_pkey_regs_restore()
302 thread->iamr = pkey_iamr_mask; in thread_pkey_regs_init()
/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
687 sprs.iamr = mfspr(SPRN_IAMR); in power9_idle_stop()
710 mtspr(SPRN_IAMR, sprs.iamr); in power9_idle_stop()
/arch/powerpc/include/asm/
Dprocessor.h229 unsigned long iamr; member
Dkvm_host.h576 ulong iamr; member
/arch/powerpc/kvm/
Dbook3s_hv.c1678 *val = get_reg_val(id, vcpu->arch.iamr); in kvmppc_get_one_reg_hv()
1899 vcpu->arch.iamr = set_reg_val(id, *val); in kvmppc_set_one_reg_hv()
3567 mtspr(SPRN_IAMR, vcpu->arch.iamr); in kvmhv_p9_guest_entry()
3640 vcpu->arch.iamr = mfspr(SPRN_IAMR); in kvmhv_p9_guest_entry()
Dbook3s_64_mmu_radix.c287 if (vcpu->arch.iamr & (1ul << 62)) in kvmppc_mmu_radix_xlate()
/arch/powerpc/kernel/
Dasm-offsets.c526 OFFSET(VCPU_IAMR, kvm_vcpu, arch.iamr); in main()
Dptrace.c1821 BUILD_BUG_ON(TSO(amr) + sizeof(unsigned long) != TSO(iamr)); in pkey_get()
1822 BUILD_BUG_ON(TSO(iamr) + sizeof(unsigned long) != TSO(uamor)); in pkey_get()