]> rtime.felk.cvut.cz Git - jailhouse.git/commit
arm: Unmap virtual GIC on cell destruction
authorJan Kiszka <jan.kiszka@siemens.com>
Mon, 13 Jul 2015 07:06:54 +0000 (09:06 +0200)
committerJan Kiszka <jan.kiszka@siemens.com>
Tue, 14 Jul 2015 06:06:46 +0000 (08:06 +0200)
commitff53f7f6221e8780667bbe509bd0a688f70734a8
tree97abfbb267023feefd7645fa1273c7606dfb048c
parentae1454d001168a8270575b460954ca199a6317c7
arm: Unmap virtual GIC on cell destruction

This fixes a leak on cell destruction because we left the GICv2 mapped,
thus didn't free all paging structures. This also means we need to run
the irqchip cleanup before the cell MMU destruction.

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