Searched refs:kvm_hstate (Results 1 – 13 of 13) sorted by relevance
113 struct kvmppc_vcore *vc = local_paca->kvm_hstate.kvm_vcore; in kvmppc_rm_h_confer()114 int ptid = local_paca->kvm_hstate.ptid; in kvmppc_rm_h_confer()228 xics_phys = paca_ptrs[cpu]->kvm_hstate.xics_phys; in kvmhv_rm_send_ipi()252 struct kvmppc_vcore *vc = local_paca->kvm_hstate.kvm_vcore; in kvmhv_commence_exit()253 int ptid = local_paca->kvm_hstate.ptid; in kvmhv_commence_exit()254 struct kvm_split_mode *sip = local_paca->kvm_hstate.kvm_split_mode; in kvmhv_commence_exit()349 vcpu = local_paca->kvm_hstate.kvm_vcpu; in kvmppc_check_passthru()360 local_paca->kvm_hstate.saved_xirr = 0; in kvmppc_check_passthru()414 host_ipi = READ_ONCE(local_paca->kvm_hstate.host_ipi); in kvmppc_read_one_intr()419 xics_phys = local_paca->kvm_hstate.xics_phys; in kvmppc_read_one_intr()[all …]
197 if (local_paca->kvm_hstate.kvm_split_mode) in kvmppc_cur_subcore_size()198 return local_paca->kvm_hstate.kvm_split_mode->subcore_size; in kvmppc_cur_subcore_size()373 if (local_paca->kvm_hstate.kvm_vcore) in kvmppc_realmode_hmi_handler()374 local_paca->kvm_hstate.kvm_vcore->tb_offset_applied = 0; in kvmppc_realmode_hmi_handler()
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()[all …]
215 if (paca_ptrs[cpu]->kvm_hstate.xics_phys) { in kvmppc_ipi_thread()3225 tpaca->kvm_hstate.kvm_vcpu = NULL; in kvmppc_grab_hwthread()3226 tpaca->kvm_hstate.kvm_vcore = NULL; in kvmppc_grab_hwthread()3227 tpaca->kvm_hstate.napping = 0; in kvmppc_grab_hwthread()3229 tpaca->kvm_hstate.hwthread_req = 1; in kvmppc_grab_hwthread()3241 while (tpaca->kvm_hstate.hwthread_state == KVM_HWTHREAD_IN_KERNEL) { in kvmppc_grab_hwthread()3256 tpaca->kvm_hstate.hwthread_req = 0; in kvmppc_release_hwthread()3257 tpaca->kvm_hstate.kvm_vcpu = NULL; in kvmppc_release_hwthread()3258 tpaca->kvm_hstate.kvm_vcore = NULL; in kvmppc_release_hwthread()3259 tpaca->kvm_hstate.kvm_split_mode = NULL; in kvmppc_release_hwthread()[all …]
178 struct kvm_vcpu *this_vcpu = local_paca->kvm_hstate.kvm_vcpu; in icp_rm_try_update()781 xics_phys = local_paca->kvm_hstate.xics_phys; in icp_eoi()
44 if (kvm->arch.online_vcores == 1 && local_paca->kvm_hstate.kvm_vcpu) in global_invalidates()57 cpu = local_paca->kvm_hstate.kvm_vcore->pcpu; in global_invalidates()
688 void __iomem *tima = local_paca->kvm_hstate.xive_tima_virt; in kvmppc_xive_push_vcpu()758 void __iomem *tima = local_paca->kvm_hstate.xive_tima_virt; in kvmppc_xive_pull_vcpu()
448 paca_ptrs[cpu]->kvm_hstate.xics_phys = (void __iomem *)addr; in kvmppc_set_xics_phys()455 paca_ptrs[cpu]->kvm_hstate.xive_tima_phys = (void __iomem *)phys_addr; in kvmppc_set_xive_tima()456 paca_ptrs[cpu]->kvm_hstate.xive_tima_virt = virt_addr; in kvmppc_set_xive_tima()463 xirr = get_paca()->kvm_hstate.saved_xirr; in kvmppc_get_xics_latch()464 get_paca()->kvm_hstate.saved_xirr = 0; in kvmppc_get_xics_latch()550 WRITE_ONCE(paca_ptrs[cpu]->kvm_hstate.host_ipi, 1); in kvmppc_set_host_ipi()555 WRITE_ONCE(paca_ptrs[cpu]->kvm_hstate.host_ipi, 0); in kvmppc_clear_host_ipi()
242 struct kvmppc_host_state kvm_hstate; member
163 xics_phys = paca_ptrs[cpu]->kvm_hstate.xics_phys; in icp_native_cause_ipi_rm()
533 local_paca->kvm_hstate.hwthread_state = KVM_HWTHREAD_IN_IDLE; in power7_offline()541 local_paca->kvm_hstate.hwthread_state = KVM_HWTHREAD_IN_KERNEL; in power7_offline()544 if (local_paca->kvm_hstate.hwthread_req) in power7_offline()
73 if (get_paca()->kvm_hstate.in_guest) in mce_in_guest()
524 # define HSTATE_FIELD(x, f) DEFINE(x, offsetof(struct paca_struct, kvm_hstate.f)) in main()