qemu: Fix interrupt type check
Function plat_ic_get_pending_interrupt_type() should return interrupt
type, not id. The function is used in aarch64 exception handling and
currently the irq/fiq forwarding fails if a secure interrupt happens while
running normal world.

The qemu-specific gic file does not contain any extra functionality so it
can be removed and common file can be used instead.

fixes arm-software/tf-issues#546

Signed-off-by: Santeri Salko <santeri.salko@gmail.com>
1 parent cc40f7f commit 53a98be35f614caa1d2c34076b43b08d0810b6fa
@Santeri Salko Santeri Salko authored on 8 Feb 2018
Showing 4 changed files
View
plat/common/plat_gicv2.c
View
plat/qemu/platform.mk
View
plat/qemu/qemu_gic.c 100644 → 0
View
plat/qemu/sp_min/sp_min-qemu.mk