arm/acpi: Permit MMIO access of Xen unused devices for Dom0
authorShannon Zhao <shannon.zhao@linaro.org>
Wed, 30 Mar 2016 10:10:00 +0000 (12:10 +0200)
committerJan Beulich <jbeulich@suse.com>
Wed, 30 Mar 2016 15:05:04 +0000 (17:05 +0200)
commit97e9875646721860db25220c753f1b73cbe52a95
tree7e7279ea011ae5c10fa6b1e0bc31ffd5c0067812
parent8300b3377e22cf8b6fc3e0dda9cb8a9ed05cd4f0
arm/acpi: Permit MMIO access of Xen unused devices for Dom0

Firstly it permits full MMIO capabilities for Dom0. Then deny MMIO
access of Xen used devices, such as UART, GIC, SMMU. Currently, it only
denies the MMIO access of UART and GIC regions. For other Xen used
devices it could be added later when they are supported.

Signed-off-by: Shannon Zhao <shannon.zhao@linaro.org>
Reviewed-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Acked-by: Julien Grall <julien.grall@arm.com>
xen/arch/arm/domain_build.c