On 4 October 2012 01:16, Peter Crosthwaite <peter.crosthwa...@petalogix.com> wrote: > From: Peter A. G. Crosthwaite <peter.crosthwa...@petalogix.com> > > Added linux smp support for the xilinx zynq platform (2x cpus are supported) > > Signed-off-by: Peter A. G. Crosthwaite <peter.crosthwa...@petalogix.com> > --- > Changed from v1: > Addressed PMM review > Shorted secondary bootloop using MVN instruction. > Used default reset secondary instead of custom one. > Rebased against QOM cpu developments. > Few whitespace fixes. > > hw/xilinx_zynq.c | 57 ++++++++++++++++++++++++++++++++++++++++++----------- > 1 files changed, 45 insertions(+), 12 deletions(-) > > diff --git a/hw/xilinx_zynq.c b/hw/xilinx_zynq.c > index 7e6c273..22a2bc5 100644 > --- a/hw/xilinx_zynq.c > +++ b/hw/xilinx_zynq.c > @@ -30,6 +30,32 @@ > > #define IRQ_OFFSET 32 /* pic interrupts start from index 32 */ > > +#define SMP_BOOT_ADDR 0x0fff0000
What is at this address in real hardware? I can't see anything in the machine model that maps at this address but I could be missing it. (Generally we put the secondary bootloader in some place corresponding to some kind of real RAM.) > +#define SMP_BOOTREG_ADDR 0xfffffff0 ...this is an address in the on-chip memory, right? Other than those queries, patch looks OK. -- PMM