UPSTREAM: KVM: arm/arm64: vgic: Allow dynamic mapping of physical/virtual interrupts

In order to be able to feed physical interrupts to a guest, we need
to be able to establish the virtual-physical mapping between the two
worlds.

The mappings are kept in a set of RCU lists, indexed by virtual interrupts.

BUG=chromium:846515
TEST=build/boot on hana with USE=kvm_host

Change-Id: I99b66679aa0694f34cb55d236297bfa0245c8f94
Reviewed-by: Christoffer Dall <christoffer.dall@linaro.org>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
(cherry picked from commit 6c3d63c9a26ba56e2ca63a9f68d52f77ae551d91)
Signed-off-by: Sonny Rao <sonnyrao@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/1088118
3 files changed