Searched refs:source_vcpu (Results 1 – 2 of 2) sorted by relevance
60 static unsigned long kvm_psci_vcpu_on(struct kvm_vcpu *source_vcpu) in kvm_psci_vcpu_on() argument63 struct kvm *kvm = source_vcpu->kvm; in kvm_psci_vcpu_on()68 cpu_id = smccc_get_arg1(source_vcpu); in kvm_psci_vcpu_on()69 if (!kvm_psci_valid_affinity(source_vcpu, cpu_id)) in kvm_psci_vcpu_on()83 if (kvm_psci_version(source_vcpu) != KVM_ARM_PSCI_0_1) in kvm_psci_vcpu_on()93 reset_state->pc = smccc_get_arg2(source_vcpu); in kvm_psci_vcpu_on()96 reset_state->be = kvm_vcpu_is_be(source_vcpu); in kvm_psci_vcpu_on()102 reset_state->r0 = smccc_get_arg3(source_vcpu); in kvm_psci_vcpu_on()
120 static void vgic_mmio_write_sgir(struct kvm_vcpu *source_vcpu, in vgic_mmio_write_sgir() argument124 int nr_vcpus = atomic_read(&source_vcpu->kvm->online_vcpus); in vgic_mmio_write_sgir()136 targets &= ~(1U << source_vcpu->vcpu_id); /* but self */ in vgic_mmio_write_sgir()139 targets = (1U << source_vcpu->vcpu_id); in vgic_mmio_write_sgir()145 kvm_for_each_vcpu(c, vcpu, source_vcpu->kvm) { in vgic_mmio_write_sgir()151 irq = vgic_get_irq(source_vcpu->kvm, vcpu, intid); in vgic_mmio_write_sgir()155 irq->source |= 1U << source_vcpu->vcpu_id; in vgic_mmio_write_sgir()157 vgic_queue_irq_unlock(source_vcpu->kvm, irq, flags); in vgic_mmio_write_sgir()158 vgic_put_irq(source_vcpu->kvm, irq); in vgic_mmio_write_sgir()