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

Re: [Xen-devel] [PATCH v2 2/3] xen/arm: Support kick_cpus for OMAP5



On Aug 15, 2013, at 10:12 PM, Andrii Anisov <andrii.anisov@xxxxxxxxxxxxxxx> 
wrote:

>> +kick_cpus_omap5:
>> +       /* write start paddr to AuxCoreBoot1 where ROM code will jump */
>> +        ldr   r0, =(OMAP_AUX_CORE_BOOT_1)
>> +        ldr   r2, =start
>> +        add   r2, r2, r10
>> +        str   r2, [r0]
>> +        ldr   r0, =(OMAP_AUX_CORE_BOOT_0)
>> +        mov   r2, #0x20
>> +        str   r2, [r0]
>> +        dsb
>> +        sev
> 
> You don't  need following call of kick_cpus_sgi:
>> +        ldr   r2, =OMAP5_GIC_BASE_ADDRESS     /* r2 := OMAP5 gic base 
>> address */
>> +        b     kick_cpus_sgi
>> kick_cpus_sgi:
> 
> Once CPU1 get an event it will check OMAP_AUX_CORE_BOOT_0 and, if it
> is ok, jump to OMAP_AUX_CORE_BOOT_1 address.

Actually, Linux does the same thing that I just followed it.

Cheers,

Baozi
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.