Home
last modified time | relevance | path

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

/Linux-v5.10/arch/powerpc/kvm/
Dbook3s_hv_tm_builtin.c23 u64 newmsr, msr, bescr; in kvmhv_p9_tm_emulation_early() local
59 bescr = mfspr(SPRN_BESCR); in kvmhv_p9_tm_emulation_early()
61 if (((bescr >> 30) & 3) != 2) in kvmhv_p9_tm_emulation_early()
63 bescr &= ~BESCR_GE; in kvmhv_p9_tm_emulation_early()
65 bescr |= BESCR_GE; in kvmhv_p9_tm_emulation_early()
66 mtspr(SPRN_BESCR, bescr); in kvmhv_p9_tm_emulation_early()
Dbook3s_hv_tm.c46 u64 newmsr, bescr; in kvmhv_p9_tm_emulation() local
93 bescr = vcpu->arch.bescr; in kvmhv_p9_tm_emulation()
96 ((bescr >> 30) & 3) == 2)); in kvmhv_p9_tm_emulation()
97 bescr &= ~BESCR_GE; in kvmhv_p9_tm_emulation()
99 bescr |= BESCR_GE; in kvmhv_p9_tm_emulation()
100 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.c643 *val = get_reg_val(id, vcpu->arch.bescr); in kvmppc_get_one_reg()
728 vcpu->arch.bescr = set_reg_val(id, *val); in kvmppc_set_one_reg()
Dbook3s_hv.c3634 mtspr(SPRN_BESCR, vcpu->arch.bescr); in kvmhv_p9_guest_entry()
3708 vcpu->arch.bescr = mfspr(SPRN_BESCR); in kvmhv_p9_guest_entry()
/Linux-v5.10/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-v5.10/arch/powerpc/include/asm/
Dswitch_to.h95 t->thread.bescr = 0; in clear_task_ebb()
Dprocessor.h262 unsigned long bescr; member
Dkvm_host.h597 ulong bescr; member
/Linux-v5.10/arch/powerpc/kernel/ptrace/
Dptrace-view.c355 BUILD_BUG_ON(TSO(ebbhr) + sizeof(unsigned long) != TSO(bescr)); in ebb_get()
374 BUILD_BUG_ON(TSO(ebbhr) + sizeof(unsigned long) != TSO(bescr)); in ebb_set()
392 &target->thread.bescr, 2 * sizeof(unsigned long), in ebb_set()
/Linux-v5.10/arch/powerpc/kernel/
Dprocess.c1148 t->bescr = mfspr(SPRN_BESCR); in save_sprs()
1186 if (old_thread->bescr != new_thread->bescr) in restore_sprs()
1187 mtspr(SPRN_BESCR, new_thread->bescr); in restore_sprs()
Dasm-offsets.c585 OFFSET(VCPU_BESCR, kvm_vcpu, arch.bescr); in main()
/Linux-v5.10/arch/powerpc/perf/
Dcore-book3s.c694 if (ebb && !(current->thread.bescr & BESCR_GE)) in pmao_restore_workaround()