Lines Matching refs:shared
70 vcpu->arch.shared->msr); in kvmppc_dump_vcpu()
73 printk("srr0: %08llx srr1: %08llx\n", vcpu->arch.shared->srr0, in kvmppc_dump_vcpu()
74 vcpu->arch.shared->srr1); in kvmppc_dump_vcpu()
110 if (vcpu->arch.shared->msr & MSR_SPE) { in kvmppc_vcpu_sync_spe()
164 vcpu->arch.shadow_msr |= vcpu->arch.shared->msr & MSR_FP; in kvmppc_vcpu_sync_fpu()
208 vcpu->arch.shadow_msr |= vcpu->arch.shared->msr & MSR_DE; in kvmppc_vcpu_sync_debug()
218 vcpu->arch.shared->msr |= MSR_DE; in kvmppc_vcpu_sync_debug()
221 vcpu->arch.shared->msr &= ~MSR_DE; in kvmppc_vcpu_sync_debug()
232 u32 old_msr = vcpu->arch.shared->msr; in kvmppc_set_msr()
238 vcpu->arch.shared->msr = new_msr; in kvmppc_set_msr()
393 ulong crit_raw = vcpu->arch.shared->critical; in kvmppc_booke_irqprio_deliver()
398 ulong new_msr = vcpu->arch.shared->msr; in kvmppc_booke_irqprio_deliver()
401 if (!(vcpu->arch.shared->msr & MSR_SF)) { in kvmppc_booke_irqprio_deliver()
409 crit = crit && !(vcpu->arch.shared->msr & MSR_PR); in kvmppc_booke_irqprio_deliver()
449 allowed = vcpu->arch.shared->msr & MSR_CE; in kvmppc_booke_irqprio_deliver()
455 allowed = vcpu->arch.shared->msr & MSR_ME; in kvmppc_booke_irqprio_deliver()
465 allowed = vcpu->arch.shared->msr & MSR_EE; in kvmppc_booke_irqprio_deliver()
471 allowed = vcpu->arch.shared->msr & MSR_DE; in kvmppc_booke_irqprio_deliver()
486 vcpu->arch.shared->msr); in kvmppc_booke_irqprio_deliver()
490 vcpu->arch.shared->msr); in kvmppc_booke_irqprio_deliver()
494 vcpu->arch.shared->msr); in kvmppc_booke_irqprio_deliver()
498 vcpu->arch.shared->msr); in kvmppc_booke_irqprio_deliver()
678 vcpu->arch.shared->int_pending = !!*pending; in kvmppc_core_check_exceptions()
694 if (vcpu->arch.shared->msr & MSR_WE) { in kvmppc_core_prepare_to_enter()
853 if (dbsr && (vcpu->arch.shared->msr & MSR_DE) && in kvmppc_handle_debug()
858 if ((dbsr & DBSR_TIE) && !(vcpu->arch.shared->msr & MSR_DE)) in kvmppc_handle_debug()
1103 if (vcpu->arch.shared->msr & (MSR_PR | MSR_GS)) { in kvmppc_handle_exit()
1129 if (vcpu->arch.shared->msr & MSR_SPE) in kvmppc_handle_exit()
1207 if (!(vcpu->arch.shared->msr & MSR_PR)) { in kvmppc_handle_exit()
1221 if (!(vcpu->arch.shared->msr & MSR_PR) && in kvmppc_handle_exit()
1242 if (!(vcpu->arch.shared->msr & MSR_PR) && in kvmppc_handle_exit()
1387 vcpu->arch.shared->pir = vcpu->vcpu_id; in kvm_arch_vcpu_setup()
1394 vcpu->arch.shared->msr = 0; in kvm_arch_vcpu_setup()
1440 regs->msr = vcpu->arch.shared->msr; in kvm_arch_vcpu_ioctl_get_regs()
1970 if (!(vcpu->arch.shared->msr & MSR_PR) && in kvmppc_xlate()