KVM: arm/arm64: Remove the IRQ field from struct irq_phys_map
authorChristoffer Dall <christoffer.dall@linaro.org>
Sat, 4 Jun 2016 14:41:00 +0000 (15:41 +0100)
committerChristoffer Dall <christoffer.dall@linaro.org>
Fri, 20 May 2016 13:39:39 +0000 (15:39 +0200)
commitb452cb52072d21f026e38ac7af36a969bab2ed22
tree49cf39fe6636b87c2c206adfcac3759ddf621dcc
parent63306c28ac92bdf9e41aef367708d762f9f725f2
KVM: arm/arm64: Remove the IRQ field from struct irq_phys_map

The communication of a Linux IRQ number from outside the VGIC to the
vgic was a leftover from the day when the vgic code cared about how a
particular device injects virtual interrupts mapped to a physical
interrupt.

We can safely remove this notion, leaving all physical IRQ handling to
be done in the device driver (the arch timer in this case), which makes
room for a saner API for the new VGIC.

Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Reviewed-by: Eric Auger <eric.auger@linaro.org>
include/kvm/arm_vgic.h
virt/kvm/arm/arch_timer.c
virt/kvm/arm/vgic.c