Lines Matching refs:arch
139 vcpu_e500->vcpu.arch.shadow_pid = kvmppc_e500_get_sid(vcpu_e500, in kvmppc_e500_recalc_shadow_pid()
143 vcpu_e500->vcpu.arch.shadow_pid1 = kvmppc_e500_get_sid(vcpu_e500, in kvmppc_e500_recalc_shadow_pid()
225 if (vcpu->arch.pid != pid) { in kvmppc_set_pid()
226 vcpu_e500->pid[0] = vcpu->arch.pid = pid; in kvmppc_set_pid()
310 if (vcpu->arch.shadow_msr & MSR_SPE) in kvmppc_core_vcpu_put_e500()
353 vcpu->arch.pvr = mfspr(SPRN_PVR); in kvmppc_core_vcpu_setup()
356 vcpu->arch.cpu_type = KVM_CPU_E500V2; in kvmppc_core_vcpu_setup()
375 sregs->u.e.ivor_high[0] = vcpu->arch.ivor[BOOKE_IRQPRIO_SPE_UNAVAIL]; in kvmppc_core_get_sregs_e500()
376 sregs->u.e.ivor_high[1] = vcpu->arch.ivor[BOOKE_IRQPRIO_SPE_FP_DATA]; in kvmppc_core_get_sregs_e500()
377 sregs->u.e.ivor_high[2] = vcpu->arch.ivor[BOOKE_IRQPRIO_SPE_FP_ROUND]; in kvmppc_core_get_sregs_e500()
379 vcpu->arch.ivor[BOOKE_IRQPRIO_PERFORMANCE_MONITOR]; in kvmppc_core_get_sregs_e500()
406 vcpu->arch.ivor[BOOKE_IRQPRIO_SPE_UNAVAIL] = in kvmppc_core_set_sregs_e500()
408 vcpu->arch.ivor[BOOKE_IRQPRIO_SPE_FP_DATA] = in kvmppc_core_set_sregs_e500()
410 vcpu->arch.ivor[BOOKE_IRQPRIO_SPE_FP_ROUND] = in kvmppc_core_set_sregs_e500()
415 vcpu->arch.ivor[BOOKE_IRQPRIO_PERFORMANCE_MONITOR] = in kvmppc_core_set_sregs_e500()
451 vcpu->arch.shared = (void*)__get_free_page(GFP_KERNEL|__GFP_ZERO); in kvmppc_core_vcpu_create_e500()
452 if (!vcpu->arch.shared) { in kvmppc_core_vcpu_create_e500()
470 free_page((unsigned long)vcpu->arch.shared); in kvmppc_core_vcpu_free_e500()