]> rtime.felk.cvut.cz Git - jailhouse.git/commit
arm: GIC: handle distributor accesses
authorJean-Philippe Brucker <jean-philippe.brucker@arm.com>
Fri, 4 Jul 2014 18:04:43 +0000 (19:04 +0100)
committerJan Kiszka <jan.kiszka@siemens.com>
Fri, 19 Dec 2014 10:04:07 +0000 (11:04 +0100)
commit3bbb7ad6c86ae8f9e17b92d9cdfbb5e77cb4ebd9
tree0b1f5ad152be56ee792570083c425b194fdab917
parent446f5d9aef7d74179eed29388d31ad0c83260bba
arm: GIC: handle distributor accesses

This patch adds the handling of MMIO accesses to the GICv3 distributor.
By restricting the SPI masks to the cell's configuration, it makes sure
that they do not touch the other cell's SPI's when writing the common
registers.
Except for the routing and SGIR registers, most of the code should be
common to both GICv2 and v3.

Signed-off-by: Jean-Philippe Brucker <jean-philippe.brucker@arm.com>
[Jan: switch to mmio accessor]
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
hypervisor/arch/arm/Makefile
hypervisor/arch/arm/gic-common.c [new file with mode: 0644]
hypervisor/arch/arm/gic-v3.c
hypervisor/arch/arm/include/asm/gic_common.h
hypervisor/arch/arm/include/asm/irqchip.h