|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH] xen/arm: vgic-v3: Fix the typo of GICD IRQ active status range
Hi Julien, On 2020/1/7 23:12, Julien Grall wrote: On 07/01/2020 12:55, Wei Xu wrote:Hi Julien,As only one entity should manage the UART (i.e Xen or Dom0), we today assume this will be managed by Xen. Xen should expose a partial virtual UART (only a few registers are emulating) to dom0 in replacement.This is usually done by the UART driver. Looking at the log you pasted in a separate e-mail:(XEN) Platform: Generic System (XEN) Unable to initialize acpi uart: -9 (XEN) Bad console= option 'dtuart'So Xen didn't manage to initialize the uart. The -9 suggests, Xen didn't find a driver for your UART. At the moment, Xen is only able to detect pl011, sbsa, sbsa32 UART for ACPI. What is the type of the UART used on your platform?Thanks! Got it. Our UART is 8250.You would need to teach the 8250 driver how to initialize the UART with ACPI. It is not very difficult to do it, have a look at the pl011 version.Thanks!It is not working even I changed the condition to " if ( acpi_disabled ) ".Doh, thank you for spotting the extra !.My grub 2.04 configuration is as below:xen_hypervisor /xen dom0_mem=4G acpi=force loglvl=all guest_loglvl=all xen_module /Image rdinit=/init acpi=force noinitrd root=/dev/sdb1 rw
Sorry for the late reply!
The PC refers to fdt_num_mem_rsv during init_done.
But the device_tree_flattened is NULL that the data abort happened.
So I added below changes and the XEN dom0 can be booted.
diff --git a/xen/arch/arm/setup.c b/xen/arch/arm/setup.c
index 1e83351..1ab80a1 100644
--- a/xen/arch/arm/setup.c
+++ b/xen/arch/arm/setup.c
@@ -392,7 +392,8 @@ void __init discard_initial_modules(void)
!mfn_valid(maddr_to_mfn(e)) )
continue;
- dt_unreserved_regions(s, e, init_domheap_pages, 0);
+ if( acpi_disabled )
+ dt_unreserved_regions(s, e, init_domheap_pages, 0);
}
Thank you so much!
Best Regards,
Wei
Cheers, _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |