ARM: new VGIC: Add GICv2 MMIO handling framework
authorAndre Przywara <andre.przywara@linaro.org>
Wed, 7 Feb 2018 11:43:07 +0000 (11:43 +0000)
committerStefano Stabellini <sstabellini@kernel.org>
Wed, 28 Mar 2018 18:12:15 +0000 (11:12 -0700)
commita812716f136ea5de96c6a9cec8575e62e7875331
treefa60d0cbd88e9e03518bc6d8f5e8a80c24aa255c
parent291172a7311aaa39a8162e25f32b385afa86a5c3
ARM: new VGIC: Add GICv2 MMIO handling framework

Create vgic-mmio-v2.c to describe GICv2 emulation specific handlers
using the initializer macros provided by the VGIC MMIO framework.
Provide a function to register the GICv2 distributor registers to
the Xen MMIO framework.
The actual handler functions are still stubs in this patch.

This is based on Linux commit fb848db39661, written by Andre Przywara.

Signed-off-by: Andre Przywara <andre.przywara@linaro.org>
Reviewed-by: Julien Grall <julien.grall@arm.com>
Acked-by: Stefano Stabellini <sstabellini@kernel.org>
xen/arch/arm/vgic/vgic-mmio-v2.c [new file with mode: 0644]
xen/arch/arm/vgic/vgic-mmio.c
xen/arch/arm/vgic/vgic-mmio.h
xen/arch/arm/vgic/vgic.h