xen: introduce xen,enhanced dom0less property
authorStefano Stabellini <stefano.stabellini@xilinx.com>
Fri, 13 May 2022 21:07:26 +0000 (14:07 -0700)
committerStefano Stabellini <stefano.stabellini@xilinx.com>
Tue, 24 May 2022 23:16:42 +0000 (16:16 -0700)
commit5eedfe77287981b40669272b6ac42f2d57cd9b32
tree7ba8c28e8d0086929bf4039d8af7d4d8a8bb613b
parent2a2447757b3c276be426b1f5d4070c2e993114fe
xen: introduce xen,enhanced dom0less property

Introduce a new "xen,enhanced" dom0less property to enable/disable PV
driver interfaces for dom0less guests. Currently only "enabled" and
"disabled" are supported property values (and empty). Leave the option
open to implement further possible values in the future (e.g.
"xenstore" to enable only xenstore.) Dom0 presence is required for now
to use "xen,enhanced" on a domU.

The configurable option is for domUs only. For dom0 we always set the
corresponding property in the Xen code to true (PV interfaces enabled.)

This patch only parses the property. Next patches will make use of it.

Signed-off-by: Stefano Stabellini <stefano.stabellini@xilinx.com>
Acked-by: Julien Grall <jgrall@amazon.com>
CC: Julien Grall <julien@xen.org>
CC: Volodymyr Babchuk <Volodymyr_Babchuk@epam.com>
CC: Bertrand Marquis <bertrand.marquis@arm.com>
docs/misc/arm/device-tree/booting.txt
xen/arch/arm/domain_build.c
xen/arch/arm/include/asm/kernel.h