]> rtime.felk.cvut.cz Git - jailhouse.git/commit
arm: Clear virtual GICs before handing them over to Linux during setup
authorJan Kiszka <jan.kiszka@siemens.com>
Fri, 26 Dec 2014 10:52:04 +0000 (11:52 +0100)
committerJan Kiszka <jan.kiszka@siemens.com>
Thu, 8 Jan 2015 12:41:39 +0000 (13:41 +0100)
commitdd9f9d2d47cdb275fbab7b4d9fcba4966b6883db
tree603ff4297c24e36d329827490373ac8ca0c4c472
parent957d73ef6bdc7965be9571d1e171678dc1b88df6
arm: Clear virtual GICs before handing them over to Linux during setup

Previous users of the virtual GICs may have left them with pending
interrupts or raised priority levels. Fix this up before starting Linux
under Jailhouse control. Otherwise we risk to inject spurious interrupts
or stall interrupt delivery to Linux.

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