Searched refs:icp (Results 1 – 6 of 6) sorted by relevance
/arch/powerpc/kvm/ |
D | book3s_hv_rm_xics.c | 35 struct kvmppc_icp *this_icp = this_vcpu->arch.icp; in icp_rm_set_vcpu_irq() 72 static inline bool icp_rm_try_update(struct kvmppc_icp *icp, in icp_rm_try_update() argument 83 success = cmpxchg64(&icp->state.raw, old.raw, new.raw) == old.raw; in icp_rm_try_update() 103 icp_rm_set_vcpu_irq(icp->vcpu, this_vcpu); in icp_rm_try_update() 106 this_vcpu->arch.icp->rm_dbgstate = new; in icp_rm_try_update() 107 this_vcpu->arch.icp->rm_dbgtgt = icp->vcpu; in icp_rm_try_update() 114 struct kvmppc_icp *icp) in check_too_hard() argument 116 return (xics->real_mode_dbg || icp->rm_action) ? H_TOO_HARD : H_SUCCESS; in check_too_hard() 119 static void icp_rm_down_cppr(struct kvmppc_xics *xics, struct kvmppc_icp *icp, in icp_rm_down_cppr() argument 155 old_state = new_state = ACCESS_ONCE(icp->state); in icp_rm_down_cppr() [all …]
|
D | book3s_xics.c | 64 static void icp_deliver_irq(struct kvmppc_xics *xics, struct kvmppc_icp *icp, 108 struct kvmppc_icp *icp) in ics_check_resend() argument 124 icp_deliver_irq(xics, icp, state->number); in ics_check_resend() 156 struct kvmppc_icp *icp; in kvmppc_xics_set_xive() local 169 icp = kvmppc_xics_find_server(kvm, server); in kvmppc_xics_set_xive() 170 if (!icp) in kvmppc_xics_set_xive() 178 icp_deliver_irq(xics, icp, irq); in kvmppc_xics_set_xive() 209 struct kvmppc_icp *icp; in kvmppc_xics_int_on() local 222 icp = kvmppc_xics_find_server(kvm, state->server); in kvmppc_xics_int_on() 223 if (!icp) in kvmppc_xics_int_on() [all …]
|
D | book3s_xics.h | 108 if (vcpu->arch.icp && nr == vcpu->arch.icp->server_num) in kvmppc_xics_find_server() 109 return vcpu->arch.icp; in kvmppc_xics_find_server()
|
D | book3s.c | 577 if (!vcpu->arch.icp) { in kvmppc_get_one_reg() 650 if (!vcpu->arch.icp) { in kvmppc_set_one_reg()
|
/arch/powerpc/sysdev/xics/ |
D | Makefile | 4 obj-$(CONFIG_PPC_ICP_NATIVE) += icp-native.o 5 obj-$(CONFIG_PPC_ICP_HV) += icp-hv.o
|
/arch/powerpc/include/asm/ |
D | kvm_host.h | 643 struct kvmppc_icp *icp; /* XICS presentation controller */ member
|