xen/arm: Add new platform specific callback device_is_blacklist
authorJulien Grall <julien.grall@linaro.org>
Fri, 13 Sep 2013 12:49:26 +0000 (13:49 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Tue, 17 Sep 2013 14:28:55 +0000 (15:28 +0100)
commit7cb187fa95931f3b704cd9f5820924eec1c7870c
treeefc790d5641cf956648bc9cfa0821b15b21353a5
parent5b73b82d2fddc450c73a268e1e70f5b25b6232c0
xen/arm: Add new platform specific callback device_is_blacklist

Each platform code will list the device that must not pass-through to a guest.
Theses devices are used for: power management, timer,...

When theses devices are given to DOM0, it can controls the hardware and then
break the whole platform.

This callback is enough until we will start to care about power performance.
For this purpose, we may need to extend this interface to implement per-device
MMIO filtering to allow dom0 to continue to control devices which it owns which
happen to share e.g. a clock controller with Xen.

Signed-off-by: Julien Grall <julien.grall@linaro.org>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
xen/arch/arm/domain_build.c
xen/arch/arm/platform.c
xen/include/asm-arm/platform.h