[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [xen master] xen/arm: Check if the platform is not using ACPI before initializing Dom0less
commit dac867bf9adc1562a4cf9db5f89726597af13ef8 Author: Julien Grall <jgrall@xxxxxxxxxx> AuthorDate: Sat Sep 26 21:16:55 2020 +0100 Commit: Julien Grall <jgrall@xxxxxxxxxx> CommitDate: Fri Oct 30 18:43:42 2020 +0000 xen/arm: Check if the platform is not using ACPI before initializing Dom0less Dom0less requires a device-tree. However, since commit 6e3e77120378 "xen/arm: setup: Relocate the Device-Tree later on in the boot", the device-tree will not get unflatten when using ACPI. This will lead to a crash during boot. Given the complexity to setup dom0less with ACPI (for instance how to assign device?), we should skip any code related to Dom0less when using ACPI. Signed-off-by: Julien Grall <jgrall@xxxxxxxxxx> Tested-by: Rahul Singh <rahul.singh@xxxxxxx> Reviewed-by: Rahul Singh <rahul.singh@xxxxxxx> Reviewed-by: Stefano Stabellini <sstabellini@xxxxxxxxxx> Tested-by: Elliott Mitchell <ehem+xen@xxxxxxx> --- xen/arch/arm/setup.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/xen/arch/arm/setup.c b/xen/arch/arm/setup.c index f16b33fa87..35e5bee04e 100644 --- a/xen/arch/arm/setup.c +++ b/xen/arch/arm/setup.c @@ -987,7 +987,8 @@ void __init start_xen(unsigned long boot_phys_offset, system_state = SYS_STATE_active; - create_domUs(); + if ( acpi_disabled ) + create_domUs(); domain_unpause_by_systemcontroller(dom0); -- generated by git-patchbot for /home/xen/git/xen.git#master
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |