Lines Matching refs:fscr
145 if (cpu_has_feature(CPU_FTR_ARCH_300) && (current->thread.fscr & FSCR_SCV)) in kvmppc_core_vcpu_load_pr()
176 if (cpu_has_feature(CPU_FTR_ARCH_300) && (current->thread.fscr & FSCR_SCV)) in kvmppc_core_vcpu_put_pr()
404 if (vcpu->arch.fscr & FSCR_TAR) in kvmppc_restore_tm_pr()
416 if (vcpu->arch.fscr & FSCR_TAR) in kvmppc_restore_tm_pr()
969 vcpu->arch.fscr &= ~(0xffULL << 56); in kvmppc_trigger_fac_interrupt()
970 vcpu->arch.fscr |= (fac << 56); in kvmppc_trigger_fac_interrupt()
1000 guest_fac_enabled = (vcpu->arch.fscr & (1ULL << fac)); in kvmppc_handle_fac()
1043 void kvmppc_set_fscr(struct kvm_vcpu *vcpu, u64 fscr) in kvmppc_set_fscr() argument
1045 if (fscr & FSCR_SCV) in kvmppc_set_fscr()
1046 fscr &= ~FSCR_SCV; /* SCV must not be enabled */ in kvmppc_set_fscr()
1047 if ((vcpu->arch.fscr & FSCR_TAR) && !(fscr & FSCR_TAR)) { in kvmppc_set_fscr()
1050 } else if (!(vcpu->arch.fscr & FSCR_TAR) && (fscr & FSCR_TAR)) { in kvmppc_set_fscr()
1051 vcpu->arch.fscr = fscr; in kvmppc_set_fscr()
1056 vcpu->arch.fscr = fscr; in kvmppc_set_fscr()