]> rtime.felk.cvut.cz Git - jailhouse.git/commit
arm: Disable maintenance interrupt on successful injection
authorJan Kiszka <jan.kiszka@siemens.com>
Tue, 14 Jun 2016 05:30:09 +0000 (07:30 +0200)
committerJan Kiszka <jan.kiszka@siemens.com>
Thu, 16 Jun 2016 16:41:13 +0000 (18:41 +0200)
commit35b1928d4977040a4a9f4fc1f2a093882182a953
tree6c29f565090f3b087c63ef2b3564c0a7a8bf6810
parentf5dcc13bcf89d190d35b99cf79a8586ea7c1a93d
arm: Disable maintenance interrupt on successful injection

We enable the maintenance interrupt when all list registers are in use.
However, there was no disabling of it again. Apparently, it rarely
triggered in the field, otherwise we would have seen a lot of
maintenance interrupt storms, thus locked-up systems.

This introduces another callback to enable or disable the maintenance
interrupt. It is now controlled by irqchip_inject_pending, the function
that is also called when handling a maintenance interrupt.

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