Lines Matching refs:cpu_addr
46 static int __sigp_sense(struct kvm_vcpu *vcpu, u16 cpu_addr, in __sigp_sense() argument
52 if (cpu_addr >= KVM_MAX_VCPUS) in __sigp_sense()
56 if (fi->local_int[cpu_addr] == NULL) in __sigp_sense()
58 else if (atomic_read(fi->local_int[cpu_addr]->cpuflags) in __sigp_sense()
69 VCPU_EVENT(vcpu, 4, "sensed status of cpu %x rc %x", cpu_addr, rc); in __sigp_sense()
73 static int __sigp_emergency(struct kvm_vcpu *vcpu, u16 cpu_addr) in __sigp_emergency() argument
80 if (cpu_addr >= KVM_MAX_VCPUS) in __sigp_emergency()
90 li = fi->local_int[cpu_addr]; in __sigp_emergency()
106 VCPU_EVENT(vcpu, 4, "sent sigp emerg to cpu %x", cpu_addr); in __sigp_emergency()
110 static int __sigp_stop(struct kvm_vcpu *vcpu, u16 cpu_addr, int store) in __sigp_stop() argument
117 if (cpu_addr >= KVM_MAX_VCPUS) in __sigp_stop()
127 li = fi->local_int[cpu_addr]; in __sigp_stop()
146 VCPU_EVENT(vcpu, 4, "sent sigp stop to cpu %x", cpu_addr); in __sigp_stop()
170 static int __sigp_set_prefix(struct kvm_vcpu *vcpu, u16 cpu_addr, u32 address, in __sigp_set_prefix() argument
194 li = fi->local_int[cpu_addr]; in __sigp_set_prefix()
196 if ((cpu_addr >= KVM_MAX_VCPUS) || (li == NULL)) { in __sigp_set_prefix()
221 VCPU_EVENT(vcpu, 4, "set prefix of cpu %02x to %x", cpu_addr, address); in __sigp_set_prefix()
236 u16 cpu_addr = vcpu->arch.guest_gprs[r3]; in kvm_s390_handle_sigp() local
257 rc = __sigp_sense(vcpu, cpu_addr, in kvm_s390_handle_sigp()
262 rc = __sigp_emergency(vcpu, cpu_addr); in kvm_s390_handle_sigp()
266 rc = __sigp_stop(vcpu, cpu_addr, 0); in kvm_s390_handle_sigp()
270 rc = __sigp_stop(vcpu, cpu_addr, 1); in kvm_s390_handle_sigp()
278 rc = __sigp_set_prefix(vcpu, cpu_addr, parameter, in kvm_s390_handle_sigp()