Home
last modified time | relevance | path

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

/Linux-v4.19/arch/powerpc/kvm/
Dbook3s_hv_tm_builtin.c26 u64 newmsr, msr, bescr; in kvmhv_p9_tm_emulation_early() local
51 bescr = mfspr(SPRN_BESCR); in kvmhv_p9_tm_emulation_early()
53 if (((bescr >> 30) & 3) != 2) in kvmhv_p9_tm_emulation_early()
55 bescr &= ~BESCR_GE; in kvmhv_p9_tm_emulation_early()
57 bescr |= BESCR_GE; in kvmhv_p9_tm_emulation_early()
58 mtspr(SPRN_BESCR, bescr); in kvmhv_p9_tm_emulation_early()
Dbook3s_hv_tm.c47 u64 newmsr, bescr; in kvmhv_p9_tm_emulation() local
83 bescr = vcpu->arch.bescr; in kvmhv_p9_tm_emulation()
86 ((bescr >> 30) & 3) == 2)); in kvmhv_p9_tm_emulation()
87 bescr &= ~BESCR_GE; in kvmhv_p9_tm_emulation()
89 bescr |= BESCR_GE; in kvmhv_p9_tm_emulation()
90 vcpu->arch.bescr = bescr; in kvmhv_p9_tm_emulation()
Dbook3s.c631 *val = get_reg_val(id, vcpu->arch.bescr); in kvmppc_get_one_reg()
704 vcpu->arch.bescr = set_reg_val(id, *val); in kvmppc_set_one_reg()
Dbook3s_emulate.c768 vcpu->arch.bescr = spr_val; in kvmppc_core_emulate_mtspr_pr()
946 *spr_val = vcpu->arch.bescr; in kvmppc_core_emulate_mfspr_pr()
/Linux-v4.19/tools/testing/selftests/powerpc/pmu/ebb/
Debb.c218 u64 bescr; in dump_ebb_hw_state() local
222 bescr = mfspr(SPRN_BESCR); in dump_ebb_hw_state()
237 mfspr(SPRN_EBBHR), bescr, decode_bescr(bescr), in dump_ebb_hw_state()
/Linux-v4.19/arch/powerpc/include/asm/
Dswitch_to.h84 t->thread.bescr = 0; in clear_task_ebb()
Dprocessor.h351 unsigned long bescr; member
Dkvm_host.h565 ulong bescr; member
/Linux-v4.19/arch/powerpc/kernel/
Dprocess.c1103 t->bescr = mfspr(SPRN_BESCR); in save_sprs()
1141 if (old_thread->bescr != new_thread->bescr) in restore_sprs()
1142 mtspr(SPRN_BESCR, new_thread->bescr); in restore_sprs()
Dptrace.c1678 BUILD_BUG_ON(TSO(ebbhr) + sizeof(unsigned long) != TSO(bescr)); in ebb_get()
1699 BUILD_BUG_ON(TSO(ebbhr) + sizeof(unsigned long) != TSO(bescr)); in ebb_set()
1717 &target->thread.bescr, in ebb_set()
Dasm-offsets.c552 OFFSET(VCPU_BESCR, kvm_vcpu, arch.bescr); in main()
/Linux-v4.19/arch/powerpc/perf/
Dcore-book3s.c672 if (ebb && !(current->thread.bescr & BESCR_GE)) in pmao_restore_workaround()