]> rtime.felk.cvut.cz Git - jailhouse.git/commit
arm: move the handle_irq_route function to the GICv3 module
authorAntonios Motakis <antonios.motakis@huawei.com>
Tue, 14 Jun 2016 12:16:44 +0000 (14:16 +0200)
committerJan Kiszka <jan.kiszka@siemens.com>
Sun, 26 Jun 2016 07:16:28 +0000 (09:16 +0200)
commitbdcdd89e2e4f4aa439935539bb62e0c9fbaf824d
tree90bf4056b4ae5350320d104f62cc1cd9b6347386
parentf404b89d34d44bd23dba889d495564c1fbed992d
arm: move the handle_irq_route function to the GICv3 module

The handle_irq_route function is not needed with the GICv2.

On the ARMv8 port we will not assign a virt_id to each CPU,
opting to use the MPIDR as much as we can from the start.
GICv3 will need heavier refactoring for this purpose; by moving
this function we can reuse the GICv2 code on ARMv8.

Signed-off-by: Antonios Motakis <antonios.motakis@huawei.com>
[Jan: implement stub in v2 to reduce #ifdefs]
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
hypervisor/arch/arm/gic-common.c
hypervisor/arch/arm/gic-v2.c
hypervisor/arch/arm/gic-v3.c
hypervisor/arch/arm/include/asm/gic_common.h