xen/arm: generate vpl011 node on device tree for domU
authorStefano Stabellini <sstabellini@kernel.org>
Tue, 13 Nov 2018 17:49:32 +0000 (09:49 -0800)
committerJulien Grall <julien.grall@arm.com>
Wed, 14 Nov 2018 19:34:48 +0000 (19:34 +0000)
commit6dcae49d99559b45144c419e03210d594520c940
tree0fa36af40aeffebe924b54d0bf69c22a8d65a161
parent293f79957ea943bced5bb7a244f4a683f47ec722
xen/arm: generate vpl011 node on device tree for domU

Introduce vpl011 support to guests started from Xen: it provides a
simple way to print output from a guest, as most guests come with a
pl011 driver. It is also able to provide a working console with
interrupt support.

The UART exposed to the guest is a SBSA compatible UART and not a PL011.
SBSA UART is a subset of PL011 r1p5. A full PL011 implementation in Xen
would just be too difficult, so guests may require some drivers changes.

Enable vpl011 conditionally if the user requested it.

Signed-off-by: Stefano Stabellini <stefanos@xilinx.com>
Acked-by: Julien Grall <julien.grall@arm.com>
xen/arch/arm/domain_build.c
xen/arch/arm/kernel.h