ARM: new VGIC: Add CONFIG registers handlers
authorAndre Przywara <andre.przywara@linaro.org>
Wed, 7 Feb 2018 15:53:39 +0000 (15:53 +0000)
committerStefano Stabellini <sstabellini@kernel.org>
Wed, 28 Mar 2018 18:16:52 +0000 (11:16 -0700)
commitc984adef531fc981ff0966cf6c92962e21435155
tree38d20d31ee65be960f366c91fb435db2229b05a2
parentee13c822288bab7aa48985c6cfacee505a05925e
ARM: new VGIC: Add CONFIG registers handlers

The config register handlers are shared between the v2 and v3 emulation,
so their implementation goes into vgic-mmio.c, to be easily referenced
from the v3 emulation as well later.

This is based on Linux commit 79717e4ac09c, 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
xen/arch/arm/vgic/vgic-mmio.c
xen/arch/arm/vgic/vgic-mmio.h