diff options
author | Eric Auger <eric.auger@redhat.com> | 2017-10-27 16:28:32 +0200 |
---|---|---|
committer | Christoffer Dall <christoffer.dall@linaro.org> | 2017-11-06 17:20:19 +0100 |
commit | 47bbd31f740c4e693d01766f367ad3366fb49a6d (patch) | |
tree | 54bcec5711d5dd778f654e00949cf685b4148fc0 /arch/arm/kvm/Kconfig | |
parent | KVM: arm/arm64: register irq bypass consumer on ARM/ARM64 (diff) | |
download | linux-47bbd31f740c4e693d01766f367ad3366fb49a6d.tar.xz linux-47bbd31f740c4e693d01766f367ad3366fb49a6d.zip |
KVM: arm/arm64: vgic: restructure kvm_vgic_(un)map_phys_irq
We want to reuse the core of the map/unmap functions for IRQ
forwarding. Let's move the computation of the hwirq in
kvm_vgic_map_phys_irq and pass the linux IRQ as parameter.
the host_irq is added to struct vgic_irq.
We introduce kvm_vgic_map/unmap_irq which take a struct vgic_irq
handle as a parameter.
Acked-by: Christoffer Dall <christoffer.dall@linaro.org>
Signed-off-by: Eric Auger <eric.auger@redhat.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
Diffstat (limited to 'arch/arm/kvm/Kconfig')
0 files changed, 0 insertions, 0 deletions