BOOKE KVM calling load_up_fpu from C?
Michael Neuling
mikey at neuling.org
Tue Feb 12 14:29:20 EST 2013
Scott,
I was looking at changing how load_up_fpu works and I found this in
arch/powerpc/kvm/booke.h:
static inline void kvmppc_load_guest_fp(struct kvm_vcpu *vcpu)
{
#ifdef CONFIG_PPC_FPU
if (vcpu->fpu_active && !(current->thread.regs->msr & MSR_FP)) {
load_up_fpu();
current->thread.regs->msr |= MSR_FP;
}
#endif
}
I'm wondering how this is suppose to work since load_up_fpu is suppose
to have MSR in R12?
Mikey
More information about the Linuxppc-dev
mailing list