Home
last modified time | relevance | path

Searched refs:bescr (Results 1 – 12 of 12) sorted by relevance

/arch/powerpc/kvm/
Dbook3s_hv_tm_builtin.c23 u64 newmsr, msr, bescr; in kvmhv_p9_tm_emulation_early() local
48 bescr = mfspr(SPRN_BESCR); in kvmhv_p9_tm_emulation_early()
50 if (((bescr >> 30) & 3) != 2) in kvmhv_p9_tm_emulation_early()
52 bescr &= ~BESCR_GE; in kvmhv_p9_tm_emulation_early()
54 bescr |= BESCR_GE; in kvmhv_p9_tm_emulation_early()
55 mtspr(SPRN_BESCR, bescr); in kvmhv_p9_tm_emulation_early()
Dbook3s_hv_tm.c44 u64 newmsr, bescr; in kvmhv_p9_tm_emulation() local
80 bescr = vcpu->arch.bescr; in kvmhv_p9_tm_emulation()
83 ((bescr >> 30) & 3) == 2)); in kvmhv_p9_tm_emulation()
84 bescr &= ~BESCR_GE; in kvmhv_p9_tm_emulation()
86 bescr |= BESCR_GE; in kvmhv_p9_tm_emulation()
87 vcpu->arch.bescr = bescr; in kvmhv_p9_tm_emulation()
Dbook3s_emulate.c774 vcpu->arch.bescr = spr_val; in kvmppc_core_emulate_mtspr_pr()
952 *spr_val = vcpu->arch.bescr; in kvmppc_core_emulate_mfspr_pr()
Dbook3s.c676 *val = get_reg_val(id, vcpu->arch.bescr); in kvmppc_get_one_reg()
761 vcpu->arch.bescr = set_reg_val(id, *val); in kvmppc_set_one_reg()
Dbook3s_hv.c3573 mtspr(SPRN_BESCR, vcpu->arch.bescr); in kvmhv_p9_guest_entry()
3646 vcpu->arch.bescr = mfspr(SPRN_BESCR); in kvmhv_p9_guest_entry()
/arch/powerpc/include/asm/
Dswitch_to.h84 t->thread.bescr = 0; in clear_task_ebb()
Dprocessor.h257 unsigned long bescr; member
Dkvm_host.h590 ulong bescr; member
/arch/powerpc/kernel/
Dprocess.c1062 t->bescr = mfspr(SPRN_BESCR); in save_sprs()
1100 if (old_thread->bescr != new_thread->bescr) in restore_sprs()
1101 mtspr(SPRN_BESCR, new_thread->bescr); in restore_sprs()
Dptrace.c1691 BUILD_BUG_ON(TSO(ebbhr) + sizeof(unsigned long) != TSO(bescr)); in ebb_get()
1712 BUILD_BUG_ON(TSO(ebbhr) + sizeof(unsigned long) != TSO(bescr)); in ebb_set()
1730 &target->thread.bescr, in ebb_set()
Dasm-offsets.c562 OFFSET(VCPU_BESCR, kvm_vcpu, arch.bescr); in main()
/arch/powerpc/perf/
Dcore-book3s.c679 if (ebb && !(current->thread.bescr & BESCR_GE)) in pmao_restore_workaround()