Searched refs:source_vcpu (Results 1 – 2 of 2) sorted by relevance
62 static unsigned long kvm_psci_vcpu_on(struct kvm_vcpu *source_vcpu) in kvm_psci_vcpu_on() argument65 struct kvm *kvm = source_vcpu->kvm; in kvm_psci_vcpu_on()69 cpu_id = smccc_get_arg1(source_vcpu) & MPIDR_HWID_BITMASK; in kvm_psci_vcpu_on()70 if (vcpu_mode_is_32bit(source_vcpu)) in kvm_psci_vcpu_on()82 if (kvm_psci_version(source_vcpu, kvm) != KVM_ARM_PSCI_0_1) in kvm_psci_vcpu_on()90 reset_state->pc = smccc_get_arg2(source_vcpu); in kvm_psci_vcpu_on()93 reset_state->be = kvm_vcpu_is_be(source_vcpu); in kvm_psci_vcpu_on()99 reset_state->r0 = smccc_get_arg3(source_vcpu); in kvm_psci_vcpu_on()
108 static void vgic_mmio_write_sgir(struct kvm_vcpu *source_vcpu, in vgic_mmio_write_sgir() argument112 int nr_vcpus = atomic_read(&source_vcpu->kvm->online_vcpus); in vgic_mmio_write_sgir()125 targets &= ~(1U << source_vcpu->vcpu_id); /* but self */ in vgic_mmio_write_sgir()128 targets = (1U << source_vcpu->vcpu_id); in vgic_mmio_write_sgir()134 kvm_for_each_vcpu(c, vcpu, source_vcpu->kvm) { in vgic_mmio_write_sgir()140 irq = vgic_get_irq(source_vcpu->kvm, vcpu, intid); in vgic_mmio_write_sgir()144 irq->source |= 1U << source_vcpu->vcpu_id; in vgic_mmio_write_sgir()146 vgic_queue_irq_unlock(source_vcpu->kvm, irq, flags); in vgic_mmio_write_sgir()147 vgic_put_irq(source_vcpu->kvm, irq); in vgic_mmio_write_sgir()