Lines Matching refs:kvm_hstate
582 local_paca->kvm_hstate.host_purr = mfspr(SPRN_PURR); in kvmhv_vcpu_entry_p9()
583 local_paca->kvm_hstate.host_spurr = mfspr(SPRN_SPURR); in kvmhv_vcpu_entry_p9()
636 (local_paca->kvm_hstate.fake_suspend << PSSCR_FAKE_SUSPEND_LG)); in kvmhv_vcpu_entry_p9()
684 WRITE_ONCE(local_paca->kvm_hstate.in_guest, KVM_GUEST_MODE_HV_P9); in kvmhv_vcpu_entry_p9()
736 trap = local_paca->kvm_hstate.scratch0 & ~0x2; in kvmhv_vcpu_entry_p9()
745 vcpu->arch.regs.gpr[1] = local_paca->kvm_hstate.scratch1; in kvmhv_vcpu_entry_p9()
746 vcpu->arch.regs.gpr[3] = local_paca->kvm_hstate.scratch2; in kvmhv_vcpu_entry_p9()
807 if (!local_paca->kvm_hstate.fake_suspend && in kvmhv_vcpu_entry_p9()
825 local_paca->kvm_hstate.host_purr += purr - vcpu->arch.purr; in kvmhv_vcpu_entry_p9()
826 local_paca->kvm_hstate.host_spurr += spurr - vcpu->arch.spurr; in kvmhv_vcpu_entry_p9()
878 mtspr(SPRN_PURR, local_paca->kvm_hstate.host_purr); in kvmhv_vcpu_entry_p9()
879 mtspr(SPRN_SPURR, local_paca->kvm_hstate.host_spurr); in kvmhv_vcpu_entry_p9()
884 (local_paca->kvm_hstate.fake_suspend << PSSCR_FAKE_SUSPEND_LG)); in kvmhv_vcpu_entry_p9()
917 WRITE_ONCE(local_paca->kvm_hstate.in_guest, KVM_GUEST_MODE_NONE); in kvmhv_vcpu_entry_p9()