ARM: new VGIC: vgic-init: implement map_resources
authorAndre Przywara <andre.przywara@linaro.org>
Wed, 7 Feb 2018 14:54:23 +0000 (14:54 +0000)
committerStefano Stabellini <sstabellini@kernel.org>
Thu, 29 Mar 2018 17:37:19 +0000 (10:37 -0700)
commitbe326763e8844b8f2b4213c4f5036970e538054b
tree381976df74efba9941112b87af751eb5305a6aad
parenta373635990073ee3cc8df2dbb9696c868fa07114
ARM: new VGIC: vgic-init: implement map_resources

map_resources is the last initialization step needed before the first
VCPU is run. At that stage the code stores the MMIO base addresses used.
Also it registers the respective register frames with the MMIO framework.

This is based on Linux commit cbae53e663ea, written by Eric Auger.

Signed-off-by: Andre Przywara <andre.przywara@linaro.org>
Acked-by: Julien Grall <julien.grall@arm.com>
Acked-by: Stefano Stabellini <sstabellini@kernel.org>
xen/arch/arm/vgic/vgic-v2.c
xen/arch/arm/vgic/vgic.h