All of lore.kernel.org
 help / color / mirror / Atom feed
From: Nishanth Menon <menon.nishanth@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] Uboot and ARM SMP support
Date: Thu, 25 Jun 2009 17:15:00 +0300	[thread overview]
Message-ID: <4A438664.1010703@gmail.com> (raw)
In-Reply-To: <EAF47CD23C76F840A9E7FCE10091EFAB02B530F4FC@dbde02.ent.ti.com>

Shilimkar, Santosh said the following on 06/25/2009 04:51 PM:
>> -----Original Message-----
>> From: Pandita, Vikram 
>> Sent: Thursday, June 25, 2009 6:32 PM
>> To: Jean-Christophe PLAGNIOL-VILLARD; Nishanth Menon; 
>> Shilimkar, Santosh
>> Cc: Sudeep K N; u-boot at lists.denx.de; Tom
>> Subject: RE: [U-Boot] Uboot and ARM SMP support
>>
>> Adding Santosh to loop who has pushed the OMAP4 SMP support 
>> into Kernel.org
>>
>>
>>     
>>> -----Original Message-----
>>> From: Jean-Christophe PLAGNIOL-VILLARD [mailto:plagnioj at jcrosoft.com]
>>> Sent: Thursday, June 25, 2009 7:44 AM
>>> To: Nishanth Menon
>>> Cc: Sudeep K N; u-boot at lists.denx.de; Pandita, Vikram; Tom
>>> Subject: Re: [U-Boot] Uboot and ARM SMP support
>>>
>>> On 12:47 Thu 25 Jun     , Nishanth Menon wrote:
>>>       
>>>> Sudeep K N said the following on 06/25/2009 12:11 PM:
>>>>         
>>>>> Sorry, may be I confused you.
>>>>> I indent to use only one core for u-boot.
>>>>> I wanted to ask whether we need to update the cache
>>>>> management to boot for ARM Cortex A9 SMP if we take
>>>>> ARM Cortex A8 code as base.
>>>>> I have tried and did not require any change on top of A8 code
>>>>> to run u-boot on A9 SMP.
>>>>> Is that right approach?
>>>>>
>>>>>
>>>>>           
>>>> you may want to see [1] how this was done for OMAP4 (which 
>>>>         
>> has a SMP
>>     
>>>> cortex A9)-> we can discuss how to setup cortex_a9 in 
>>>>         
>> mainline u-boot.
>>     
>>>> My thought would be: cpu/arm_cortexa9 - considering that 
>>>>         
>> a9 cores could
>>     
>>>> be from 1 to 4 or so if my memory serves right -> btw, I 
>>>>         
>> wonder how SMP
>>     
>>>> handling is done in u-boot today..
>>>>         
>>> for arm I've only a theorical design as I've no SMP board for now
>>> but I want to see SMP boot & AMP boot supported in Mainline
>>>
>>>       
>
> The approach is perfect and that's what is most of the SMP systems are doing..
> If one look at the linux framework, U-boot need not know about the secondary cores.
>
> As far as caches goes, the SCU is not enabled at u-boot level so there is no coherency
> between L1 caches.L2 is external and not enabled at u-boot level for time being.
> At the point when u-boot transfer control to kernel, the caches are flushed in the 
> clean-up path so you need not do any explicit stuff.
>
> In case you want to enable L2 cache ( if preset ), then you need to add support for 
> that in the u-boot. 
>
> So essentially u-boot would be almost same as Cortex-A8 except you should avoid programming AuxControl
> register because the bit definitions are different.
>
> Hope this helps
>   
so how would the new arch look like? do we do:
cpu/arm_cortexa8_9 and common code there?
Regards,
Nishanth Menon

  reply	other threads:[~2009-06-25 14:15 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-25  4:03 [U-Boot] Uboot and ARM SMP support Sudeep K N
2009-06-25  7:14 ` Jean-Christophe PLAGNIOL-VILLARD
2009-06-25  7:38   ` Sudeep K N
2009-06-25  8:10     ` Jean-Christophe PLAGNIOL-VILLARD
2009-06-25  9:11       ` Sudeep K N
2009-06-25  9:47         ` Nishanth Menon
2009-06-25 12:44           ` Jean-Christophe PLAGNIOL-VILLARD
2009-06-25 13:02             ` Pandita, Vikram
2009-06-25 13:06               ` Sudeep K N
2009-06-25 13:51               ` Shilimkar, Santosh
2009-06-25 14:15                 ` Nishanth Menon [this message]
2009-06-25 15:18                   ` Tom
2009-06-25 22:09                     ` Jean-Christophe PLAGNIOL-VILLARD
2009-06-25 15:48                 ` Dirk Behme
2009-06-26  5:10                   ` Shilimkar, Santosh
2009-06-25 15:55           ` Peter Pearse
2009-06-25 17:02             ` Nishanth Menon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4A438664.1010703@gmail.com \
    --to=menon.nishanth@gmail.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.