It's helpful to spot any error without having to modify the hypervisor
code.
Signed-off-by: Julien Grall <julien.grall@arm.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
Reviewed-by: Shannon Zhao <shannon.zhao@linaro.org>
total_cpus++;
if ( !enabled )
+ {
+ printk("Skipping disabled CPU entry with 0x%"PRIx64" MPIDR\n", mpidr);
return;
+ }
if ( enabled_cpus >= NR_CPUS )
{
}
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 )
{