Lines Matching refs:shregs

94 		unsigned long guest_msr = vcpu->arch.shregs.msr;  in load_vcpu_state()
129 unsigned long guest_msr = vcpu->arch.shregs.msr; in store_vcpu_state()
558 WARN_ON_ONCE(vcpu->arch.shregs.msr & MSR_HV); in kvmhv_vcpu_entry_p9()
559 WARN_ON_ONCE(!(vcpu->arch.shregs.msr & MSR_ME)); in kvmhv_vcpu_entry_p9()
645 mtspr(SPRN_HSRR1, (vcpu->arch.shregs.msr & ~MSR_HV) | MSR_ME); in kvmhv_vcpu_entry_p9()
664 mtspr(SPRN_SPRG0, vcpu->arch.shregs.sprg0); in kvmhv_vcpu_entry_p9()
665 mtspr(SPRN_SPRG1, vcpu->arch.shregs.sprg1); in kvmhv_vcpu_entry_p9()
666 mtspr(SPRN_SPRG2, vcpu->arch.shregs.sprg2); in kvmhv_vcpu_entry_p9()
667 mtspr(SPRN_SPRG3, vcpu->arch.shregs.sprg3); in kvmhv_vcpu_entry_p9()
716 mtspr(SPRN_DAR, vcpu->arch.shregs.dar); in kvmhv_vcpu_entry_p9()
717 mtspr(SPRN_DSISR, vcpu->arch.shregs.dsisr); in kvmhv_vcpu_entry_p9()
718 mtspr(SPRN_SRR0, vcpu->arch.shregs.srr0); in kvmhv_vcpu_entry_p9()
719 mtspr(SPRN_SRR1, vcpu->arch.shregs.srr1); in kvmhv_vcpu_entry_p9()
730 vcpu->arch.shregs.srr0 = mfspr(SPRN_SRR0); in kvmhv_vcpu_entry_p9()
731 vcpu->arch.shregs.srr1 = mfspr(SPRN_SRR1); in kvmhv_vcpu_entry_p9()
732 vcpu->arch.shregs.dar = mfspr(SPRN_DAR); in kvmhv_vcpu_entry_p9()
733 vcpu->arch.shregs.dsisr = mfspr(SPRN_DSISR); in kvmhv_vcpu_entry_p9()
808 (vcpu->arch.shregs.msr & MSR_TS_S)) { in kvmhv_vcpu_entry_p9()
815 mtspr(SPRN_HSRR1, vcpu->arch.shregs.msr); in kvmhv_vcpu_entry_p9()
834 vcpu->arch.shregs.sprg0 = mfspr(SPRN_SPRG0); in kvmhv_vcpu_entry_p9()
835 vcpu->arch.shregs.sprg1 = mfspr(SPRN_SPRG1); in kvmhv_vcpu_entry_p9()
836 vcpu->arch.shregs.sprg2 = mfspr(SPRN_SPRG2); in kvmhv_vcpu_entry_p9()
837 vcpu->arch.shregs.sprg3 = mfspr(SPRN_SPRG3); in kvmhv_vcpu_entry_p9()
872 vcpu->arch.shregs.msr & MSR_TS_MASK) in kvmhv_vcpu_entry_p9()