Searched refs:bescr (Results 1 – 12 of 12) sorted by relevance
/arch/powerpc/kvm/ |
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()
|
D | book3s_hv_tm.c | 46 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()
|
D | book3s_emulate.c | 774 vcpu->arch.bescr = spr_val; in kvmppc_core_emulate_mtspr_pr() 952 *spr_val = vcpu->arch.bescr; in kvmppc_core_emulate_mfspr_pr()
|
D | book3s.c | 643 *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()
|
D | book3s_hv.c | 3665 mtspr(SPRN_BESCR, vcpu->arch.bescr); in kvmhv_p9_guest_entry() 3742 vcpu->arch.bescr = mfspr(SPRN_BESCR); in kvmhv_p9_guest_entry()
|
/arch/powerpc/include/asm/ |
D | switch_to.h | 105 t->thread.bescr = 0; in clear_task_ebb()
|
D | processor.h | 262 unsigned long bescr; member
|
D | kvm_host.h | 597 ulong bescr; member
|
/arch/powerpc/kernel/ptrace/ |
D | ptrace-view.c | 361 BUILD_BUG_ON(TSO(ebbhr) + sizeof(unsigned long) != TSO(bescr)); in ebb_get() 380 BUILD_BUG_ON(TSO(ebbhr) + sizeof(unsigned long) != TSO(bescr)); in ebb_set() 398 &target->thread.bescr, 2 * sizeof(unsigned long), in ebb_set()
|
/arch/powerpc/kernel/ |
D | process.c | 1148 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()
|
D | asm-offsets.c | 585 OFFSET(VCPU_BESCR, kvm_vcpu, arch.bescr); in main()
|
/arch/powerpc/perf/ |
D | core-book3s.c | 685 if (ebb && !(current->thread.bescr & BESCR_GE)) in pmao_restore_workaround()
|