From: Andre Przywara Date: Wed, 7 Feb 2018 13:58:19 +0000 (+0000) Subject: ARM: new VGIC: Add preliminary stub implementation X-Git-Tag: archive/raspbian/4.11.1-1+rpi1~1^2~66^2~271 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=8578e5e76047fb70bf66787a041c2460798ce00f;p=xen.git ARM: new VGIC: Add preliminary stub implementation 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 Reviewed-by: Julien Grall Acked-by: Stefano Stabellini --- diff --git a/xen/arch/arm/vgic/vgic.c b/xen/arch/arm/vgic/vgic.c index 6f838441c8..78428aa2c8 100644 --- a/xen/arch/arm/vgic/vgic.c +++ b/xen/arch/arm/vgic/vgic.c @@ -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