Searched refs:fscr (Results 1 – 15 of 15) sorted by relevance
/Linux-v4.19/arch/powerpc/kvm/ |
D | book3s_hv_tm.c | 76 if ((msr & MSR_PR) && !(vcpu->arch.fscr & FSCR_EBB)) { in kvmhv_p9_tm_emulation() 78 vcpu->arch.fscr = (vcpu->arch.fscr & ~(0xffull << 56)) | in kvmhv_p9_tm_emulation() 126 vcpu->arch.fscr = (vcpu->arch.fscr & ~(0xffull << 56)) | in kvmhv_p9_tm_emulation() 155 vcpu->arch.fscr = (vcpu->arch.fscr & ~(0xffull << 56)) | in kvmhv_p9_tm_emulation() 192 vcpu->arch.fscr = (vcpu->arch.fscr & ~(0xffull << 56)) | in kvmhv_p9_tm_emulation()
|
D | book3s_pr.c | 364 if (vcpu->arch.fscr & FSCR_TAR) in kvmppc_restore_tm_pr() 376 if (vcpu->arch.fscr & FSCR_TAR) in kvmppc_restore_tm_pr() 951 vcpu->arch.fscr &= ~(0xffULL << 56); in kvmppc_trigger_fac_interrupt() 952 vcpu->arch.fscr |= (fac << 56); in kvmppc_trigger_fac_interrupt() 982 guest_fac_enabled = (vcpu->arch.fscr & (1ULL << fac)); in kvmppc_handle_fac() 1025 void kvmppc_set_fscr(struct kvm_vcpu *vcpu, u64 fscr) in kvmppc_set_fscr() argument 1027 if ((vcpu->arch.fscr & FSCR_TAR) && !(fscr & FSCR_TAR)) { in kvmppc_set_fscr() 1030 } else if (!(vcpu->arch.fscr & FSCR_TAR) && (fscr & FSCR_TAR)) { in kvmppc_set_fscr() 1031 vcpu->arch.fscr = fscr; in kvmppc_set_fscr() 1036 vcpu->arch.fscr = fscr; in kvmppc_set_fscr()
|
D | book3s.c | 619 *val = get_reg_val(id, vcpu->arch.fscr); in kvmppc_get_one_reg() 692 vcpu->arch.fscr = set_reg_val(id, *val); in kvmppc_set_one_reg()
|
D | book3s_emulate.c | 943 *spr_val = vcpu->arch.fscr; in kvmppc_core_emulate_mfspr_pr()
|
D | book3s_hv.c | 3510 mtspr(SPRN_FSCR, current->thread.fscr); in kvmppc_vcpu_run_hv()
|
/Linux-v4.19/arch/powerpc/kernel/ |
D | dt_cpu_ftrs.c | 76 u64 fscr; member 106 mtspr(SPRN_FSCR, system_registers.fscr); in __restore_cpu_cpufeatures() 169 u64 fscr = mfspr(SPRN_FSCR); in feat_try_enable_unknown() local 170 fscr |= 1UL << f->fscr_bit_nr; in feat_try_enable_unknown() 171 mtspr(SPRN_FSCR, fscr); in feat_try_enable_unknown() 204 u64 fscr = mfspr(SPRN_FSCR); in feat_enable() local 205 fscr |= 1UL << f->fscr_bit_nr; in feat_enable() 206 mtspr(SPRN_FSCR, fscr); in feat_enable() 744 system_registers.fscr = mfspr(SPRN_FSCR); in cpufeatures_setup_finished()
|
D | process.c | 1107 t->fscr = mfspr(SPRN_FSCR); in save_sprs() 1148 if (old_thread->fscr != new_thread->fscr) in restore_sprs() 1149 mtspr(SPRN_FSCR, new_thread->fscr); in restore_sprs()
|
D | asm-offsets.c | 548 OFFSET(VCPU_FSCR, kvm_vcpu, arch.fscr); in main() 774 STOP_SPR(STOP_FSCR, fscr); in main()
|
D | traps.c | 1690 current->thread.fscr |= FSCR_DSCR; in facility_unavailable_exception() 1691 mtspr(SPRN_FSCR, current->thread.fscr); in facility_unavailable_exception()
|
/Linux-v4.19/arch/powerpc/include/asm/ |
D | cpuidle.h | 75 u64 fscr; member
|
D | processor.h | 333 unsigned long fscr; member 393 .fscr = FSCR_TAR | FSCR_EBB \
|
D | kvm_book3s.h | 245 extern void kvmppc_set_fscr(struct kvm_vcpu *vcpu, u64 fscr);
|
D | kvm_host.h | 561 ulong fscr; member
|
/Linux-v4.19/Documentation/devicetree/bindings/powerpc/ |
D | ibm,powerpc-cpu-features.txt | 144 If the FSCR bit is set, then the fscr-bit-nr property will exist and 161 - fscr-bit-nr 243 fscr-bit-nr = <xx>;
|
/Linux-v4.19/arch/powerpc/xmon/ |
D | xmon.c | 2437 DUMP(p, stop_sprs.fscr, "%#-*llx"); in dump_one_paca()
|