]> git.baikalelectronics.ru Git - arm-tf.git/commit
qemu: Fix interrupt type check
authorSanteri Salko <santeri.salko@gmail.com>
Thu, 8 Feb 2018 20:01:26 +0000 (22:01 +0200)
committerSanteri Salko <santeri.salko@gmail.com>
Fri, 9 Feb 2018 18:49:57 +0000 (20:49 +0200)
commit53a98be35f614caa1d2c34076b43b08d0810b6fa
tree63f8c836dc56f8149d29406912f54ae943f836fb
parentcc40f7fe017ad15884d7b7b93f9f9a702443f80b
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>
plat/common/plat_gicv2.c
plat/qemu/platform.mk
plat/qemu/qemu_gic.c [deleted file]
plat/qemu/sp_min/sp_min-qemu.mk