]> xenbits.xensource.com Git - xen.git/commitdiff
ARM: new VGIC: Add preliminary stub implementation
authorAndre Przywara <andre.przywara@linaro.org>
Wed, 7 Feb 2018 13:58:19 +0000 (13:58 +0000)
committerStefano Stabellini <sstabellini@kernel.org>
Thu, 29 Mar 2018 17:10:08 +0000 (10:10 -0700)
The ARM arch code requires an interrupt controller emulation to implement
vgic_clear_pending_irqs(), although it is suspected that it is actually
not necessary. Go with a stub for now to make the linker happy.

Signed-off-by: Andre Przywara <andre.przywara@linaro.org>
Reviewed-by: Julien Grall <julien.grall@arm.com>
Acked-by: Stefano Stabellini <sstabellini@kernel.org>
xen/arch/arm/vgic/vgic.c

index 6f838441c81bc2e00411d75496a07dbb1cb28b1a..78428aa2c81f3960fa876d03078fa757d65a71b5 100644 (file)
@@ -784,6 +784,14 @@ void gic_dump_vgic_info(struct vcpu *v)
     spin_unlock_irqrestore(&v->arch.vgic.ap_list_lock, flags);
 }
 
+void vgic_clear_pending_irqs(struct vcpu *v)
+{
+    /*
+     * TODO: It is unclear whether we really need this, so we might instead
+     * remove it on the caller site.
+     */
+}
+
 /**
  * arch_move_irqs() - migrate the physical affinity of hardware mapped vIRQs
  * @v:  the vCPU, already assigned to the new pCPU