summary refs log tree commit diff stats
path: root/include/hw/intc
diff options
context:
space:
mode:
authorEric Auger <eric.auger@redhat.com>2016-10-04 13:28:08 +0100
committerPeter Maydell <peter.maydell@linaro.org>2016-10-04 13:28:08 +0100
commitd19a4d4ef448e736d341df47bd1adc78c8e40814 (patch)
tree0abb6a13d1734a5b664ecb60ad5e25e9b2c87d53 /include/hw/intc
parent96b0439bbe2083c10308ce91860e2129f52bc1ae (diff)
downloadfocaccia-qemu-d19a4d4ef448e736d341df47bd1adc78c8e40814.tar.gz
focaccia-qemu-d19a4d4ef448e736d341df47bd1adc78c8e40814.zip
hw/intc/arm_gic(v3)_kvm: Initialize gsi routing
Advertise gsi routing and set up irqchip routing entries for
GIC SPIs.

This is not mandated as long as MSI routing is not used
(because the kernel sets a default irqchip routing table).
However once MSI routing gets used (for VIRTIO-PCI vhost for
example), the first call to KVM_SET_GSI_ROUTING overrides the
kernel default irqchip table.

If no routing entry exists for the GSI, any IRQFD signaling for
this GSI will fail.

Signed-off-by: Eric Auger <eric.auger@redhat.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 1474616617-366-2-git-send-email-eric.auger@redhat.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'include/hw/intc')
0 files changed, 0 insertions, 0 deletions