[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [for-4.7 v2 5/5] xen/arm: acpi: Print more error messages in acpi_map_gic_cpu_interface
It's helpful to spot any error without having to modify the hypervisor code. Signed-off-by: Julien Grall <julien.grall@xxxxxxx> Reviewed-by: Stefano Stabellini <sstabellini@xxxxxxxxxx> Reviewed-by: Shannon Zhao <shannon.zhao@xxxxxxxxxx> --- Changes in v2: - Add Stefano's and Shannon's reviewed-by --- xen/arch/arm/acpi/boot.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/xen/arch/arm/acpi/boot.c b/xen/arch/arm/acpi/boot.c index f3d8e7c..28b3450 100644 --- a/xen/arch/arm/acpi/boot.c +++ b/xen/arch/arm/acpi/boot.c @@ -63,7 +63,10 @@ acpi_map_gic_cpu_interface(struct acpi_madt_generic_interrupt *processor) total_cpus++; if ( !enabled ) + { + printk("Skipping disabled CPU entry with 0x%"PRIx64" MPIDR\n", mpidr); return; + } if ( enabled_cpus >= NR_CPUS ) { @@ -101,7 +104,11 @@ acpi_map_gic_cpu_interface(struct acpi_madt_generic_interrupt *processor) } if ( !acpi_psci_present() ) + { + printk("PSCI not present, skipping CPU MPIDR 0x%"PRIx64"\n", + mpidr); return; + } if ( (rc = arch_cpu_init(enabled_cpus, NULL)) < 0 ) { -- 1.9.1 _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |