Searched refs:iamr (Results 1 – 8 of 8) sorted by relevance
278 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()
307 u64 iamr; member379 sprs.iamr = mfspr(SPRN_IAMR); in power7_idle_insn()398 mtspr(SPRN_IAMR, sprs.iamr); in power7_idle_insn()600 u64 iamr; member687 sprs.iamr = mfspr(SPRN_IAMR); in power9_idle_stop()710 mtspr(SPRN_IAMR, sprs.iamr); in power9_idle_stop()
229 unsigned long iamr; member
576 ulong iamr; member
1678 *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()
287 if (vcpu->arch.iamr & (1ul << 62)) in kvmppc_mmu_radix_xlate()
526 OFFSET(VCPU_IAMR, kvm_vcpu, arch.iamr); in main()
1821 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()