Home
last modified time | relevance | path

Searched refs:uamor (Results 1 – 7 of 7) sorted by relevance

/arch/powerpc/mm/book3s64/
Dpkeys.c215 u64 uamor = read_uamor(); in is_pkey_enabled() local
217 u64 uamor_pkey_bits = (uamor & pkey_bits); in is_pkey_enabled()
283 thread->uamor = read_uamor(); in thread_pkey_regs_save()
296 if (old_thread->uamor != new_thread->uamor) in thread_pkey_regs_restore()
297 write_uamor(new_thread->uamor); in thread_pkey_regs_restore()
307 thread->uamor = pkey_uamor_mask; in thread_pkey_regs_init()
/arch/powerpc/platforms/powernv/
Didle.c309 u64 uamor; member
381 sprs.uamor = mfspr(SPRN_UAMOR); in power7_idle_insn()
400 mtspr(SPRN_UAMOR, sprs.uamor); in power7_idle_insn()
602 u64 uamor; member
689 sprs.uamor = mfspr(SPRN_UAMOR); in power9_idle_stop()
712 mtspr(SPRN_UAMOR, sprs.uamor); in power9_idle_stop()
/arch/powerpc/include/asm/
Dprocessor.h230 unsigned long uamor; member
Dkvm_host.h576 ulong uamor; member
/arch/powerpc/kernel/
Dptrace.c1822 BUILD_BUG_ON(TSO(iamr) + sizeof(unsigned long) != TSO(uamor)); in pkey_get()
1853 target->thread.amr = (new_amr & target->thread.uamor) | in pkey_set()
1854 (target->thread.amr & ~target->thread.uamor); in pkey_set()
Dasm-offsets.c525 OFFSET(VCPU_UAMOR, kvm_vcpu, arch.uamor); in main()
/arch/powerpc/kvm/
Dbook3s_hv.c1655 *val = get_reg_val(id, vcpu->arch.uamor); in kvmppc_get_one_reg_hv()
1876 vcpu->arch.uamor = set_reg_val(id, *val); in kvmppc_set_one_reg_hv()
3597 mtspr(SPRN_UAMOR, vcpu->arch.uamor); in kvmhv_p9_guest_entry()
3672 vcpu->arch.uamor = mfspr(SPRN_UAMOR); in kvmhv_p9_guest_entry()