qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [Android-virt] [PATCH 03/12] hw/arm_boot.c: Make SMP bo


From: Alexander Graf
Subject: Re: [Qemu-devel] [Android-virt] [PATCH 03/12] hw/arm_boot.c: Make SMP boards specify address to poll in bootup loop
Date: Mon, 16 Jan 2012 02:56:23 +0100

On 13.01.2012, at 21:52, Peter Maydell wrote:

> From: Evgeny Voevodin <address@hidden>
> 
> The secondary CPU bootloader in arm_boot.c holds secondary CPUs in a
> pen until the primary CPU releases them. Make boards specify the
> address to be polled to determine whether to leave the pen (it was
> previously hardcoded to 0x10000030, which is a Versatile Express/
> Realview specific system register address).

Is smp_boot implementing the same logic as hw/ppce500_spin.c? It looks like the 
normal u-boot way of waiting for a magic address to be written with boot info. 
What I don't understand is the WFI. How can you wait for an interrupt if the 
trigger is a memory write? Or are you actually getting IPIs?


Alex




reply via email to

[Prev in Thread] Current Thread [Next in Thread]