Searched refs:bescr (Results 1 – 13 of 13) sorted by relevance
/linux/arch/powerpc/kvm/ |
A D | book3s_hv_tm_builtin.c | 23 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()
|
A D | book3s_hv_tm.c | 46 u64 newmsr, bescr; in kvmhv_p9_tm_emulation() local 103 bescr = vcpu->arch.bescr; in kvmhv_p9_tm_emulation() 106 ((bescr >> 30) & 3) == 2)); in kvmhv_p9_tm_emulation() 107 bescr &= ~BESCR_GE; in kvmhv_p9_tm_emulation() 109 bescr |= BESCR_GE; in kvmhv_p9_tm_emulation() 110 vcpu->arch.bescr = bescr; in kvmhv_p9_tm_emulation()
|
A D | book3s_emulate.c | 770 vcpu->arch.bescr = spr_val; in kvmppc_core_emulate_mtspr_pr() 951 *spr_val = vcpu->arch.bescr; in kvmppc_core_emulate_mfspr_pr()
|
A D | book3s.c | 673 *val = get_reg_val(id, vcpu->arch.bescr); in kvmppc_get_one_reg() 758 vcpu->arch.bescr = set_reg_val(id, *val); in kvmppc_set_one_reg()
|
A D | book3s_hv.c | 3782 mtspr(SPRN_BESCR, vcpu->arch.bescr); in load_spr_state() 3808 vcpu->arch.bescr = mfspr(SPRN_BESCR); in store_spr_state()
|
/linux/tools/testing/selftests/powerpc/pmu/ebb/ |
A D | ebb.c | 218 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/arch/powerpc/include/asm/ |
A D | switch_to.h | 105 t->thread.bescr = 0; in clear_task_ebb()
|
A D | processor.h | 251 unsigned long bescr; member
|
A D | kvm_host.h | 586 ulong bescr; member
|
/linux/arch/powerpc/kernel/ptrace/ |
A D | ptrace-view.c | 347 BUILD_BUG_ON(TSO(ebbhr) + sizeof(unsigned long) != TSO(bescr)); in ebb_get() 366 BUILD_BUG_ON(TSO(ebbhr) + sizeof(unsigned long) != TSO(bescr)); in ebb_set() 384 &target->thread.bescr, 2 * sizeof(unsigned long), in ebb_set()
|
/linux/arch/powerpc/kernel/ |
A D | process.c | 1142 t->bescr = mfspr(SPRN_BESCR); in save_sprs() 1183 if (old_thread->bescr != new_thread->bescr) in restore_sprs() 1184 mtspr(SPRN_BESCR, new_thread->bescr); in restore_sprs()
|
A D | asm-offsets.c | 480 OFFSET(VCPU_BESCR, kvm_vcpu, arch.bescr); in main()
|
/linux/arch/powerpc/perf/ |
A D | core-book3s.c | 737 if (ebb && !(current->thread.bescr & BESCR_GE)) in pmao_restore_workaround()
|
Completed in 42 milliseconds