Re: [PATCH v3 5/5] msm: add SMP support for msm

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

 



On 13 December 2010 01:20,  <ykaoua@xxxxxxxxxxxx> wrote:
> --- /dev/null
> +++ b/arch/arm/mach-msm/headsmp.S
[...]
> +ENTRY(msm_secondary_startup)
> +    mrc   p15, 0, r0, c0, c0, 5  @ MPIDR
> +    and   r0, r0, #15       @ What CPU am I
> +    adr   r4, 1f         Â@ address of
> +    ldmia  r4, {r5, r6}      Â@ load curr addr and pen_rel addr
> +    sub   r4, r4, r5       Â@ determine virtual/phys offsets
> +    add   r6, r6, r4       Â@ apply
> +pen:
> + Â Â Â wfe
> +    dsb               @ ensure subsequent access is
> + Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â @ after event
> +
> +    ldr   r7, [r6]        Â@ pen_rel has cpu to remove from reset
> +    cmp   r7, r0         Â@ are we lucky?
> +    bne   pen

Is the primary CPU using SEV to wake the secondary from the WFE? I may
have missed it.

-- 
Catalin
ÿô.nlj·Ÿ®‰­†+%ŠË±é¥Šwÿº{.nlj·¥Š{±ýþ)íèjg¬±¨¶‰šŽŠÝjÿ¾«þG«é¸¢·¦j:+v‰¨Šwèm¶Ÿÿþø®w¥þŠà£¢·hšâÿ†Ù



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [Linux for Sparc]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux