]> rtime.felk.cvut.cz Git - jailhouse.git/commit
arm: Make sure to not queue interrupt that were rejected as duplicates
authorJan Kiszka <jan.kiszka@siemens.com>
Thu, 16 Jun 2016 08:33:33 +0000 (10:33 +0200)
committerJan Kiszka <jan.kiszka@siemens.com>
Thu, 16 Jun 2016 16:41:13 +0000 (18:41 +0200)
commit9fc9f67f05c9fbe872f647a0d47f54e7dbb9b90f
tree9e55ee0f41e24a77d453805bff20364fa9a488ad
parent35b1928d4977040a4a9f4fc1f2a093882182a953
arm: Make sure to not queue interrupt that were rejected as duplicates

If the inject_irq callback detect that an interrupt is already queued
in some list register, do not insert it into the software queue, thus
coalesce the event like real hardware does.

The change in the return code of inject_irq is more cosmetic, to reflect
the meaning better.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
hypervisor/arch/arm/gic-v2.c
hypervisor/arch/arm/gic-v3.c
hypervisor/arch/arm/irqchip.c