xen/arm: vpl011: Add support for vuart console in xenconsole
authorBhupinder Thakur <bhupinder.thakur@linaro.org>
Wed, 27 Sep 2017 06:13:31 +0000 (11:43 +0530)
committerStefano Stabellini <sstabellini@kernel.org>
Tue, 3 Oct 2017 22:23:37 +0000 (15:23 -0700)
commit7e758299dd4c6f7f3d8ed090c0a4ca2cd6e33ab6
treebc14a5ae8389958c7c08a0eb4ae6cdf635ce993d
parent2a9e1692c94cab81f0e122e02ab19ee4a0485ef8
xen/arm: vpl011: Add support for vuart console in xenconsole

This patch finally adds the support for vuart console. It adds
two new fields in the console initialization:

- optional
- use_gnttab

optional flag tells whether the console is optional.

use_gnttab tells whether the ring buffer should be allocated using
grant table.

The VUART console is enabled ony for ARM.

Signed-off-by: Bhupinder Thakur <bhupinder.thakur@linaro.org>
Acked-by: Wei Liu <wei.liu2@citrix.com>
tools/console/Makefile
tools/console/daemon/io.c