linux-embedded.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: AMP on an SMP system
@ 2013-08-02 16:16 Jon Sevy
  2013-08-05  7:45 ` Michael Schnell
  0 siblings, 1 reply; 25+ messages in thread
From: Jon Sevy @ 2013-08-02 16:16 UTC (permalink / raw)
  To: Marco Stornelli; +Cc: Michael Schnell, linux-embedded

You might try the Open Source Automation Development Labs website for real-time Linux latency measurements and methodology:
http://www.osadl.org/
  \
  Jon

Marco Stornelli <marco.stornelli@gmail.com> wrote:

>Il 02/08/2013 18:00, Michael Schnell ha scritto:
>> On 08/02/2013 05:37 PM, Marco Stornelli wrote:
>>>
>>> I don't know your hw so my consideration are really general.
>> The hardware is not decided yet (it will be some A9 thingy). So for me
>> "really general" is just fine.
>>
>>> ISRs in rt kernel doesn't exist or at least the only work is to wake
>>> up the kernel thread for the management.
>> I see.
>>
>> But how to determine the max latency for this ?
>>
>
>Maybe on eLinux.org you can find some number.
>
>Marco
>
>--
>To unsubscribe from this list: send the line "unsubscribe linux-embedded" in
>the body of a message to majordomo@vger.kernel.org
>More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 25+ messages in thread
* Re: AMP on an SMP system
@ 2013-08-05  9:06 Guenter Ebermann
  2013-08-05  9:34 ` Michael Schnell
  0 siblings, 1 reply; 25+ messages in thread
From: Guenter Ebermann @ 2013-08-05  9:06 UTC (permalink / raw)
  To: Michael Schnell; +Cc: linux-embedded

Hi,

I am using vanilla linux in an AMP setup on freescale P1022
successfully. The needed
linux bootargs are:
maxcpus=1 mem=448M memmap=64M$0x1C000000

Then there is a linux userspace program and a kernel module (using kernel
function mpic_reset_core) to start an application (another OS) on the
second core.

For communication with the seconds core I use a non-blocking FIFO
in a shared RAM section.

Best regards,
Günter

^ permalink raw reply	[flat|nested] 25+ messages in thread
* AMP on an SMP system
@ 2013-08-02  8:33 Michael Schnell
  2013-08-02 11:42 ` Robert Schwebel
                   ` (2 more replies)
  0 siblings, 3 replies; 25+ messages in thread
From: Michael Schnell @ 2013-08-02  8:33 UTC (permalink / raw)
  To: linux-embedded

Hi Experts.

Is there a kind of "official" way to set aside one of the available 
cores in an SMP system from the Linux OS to do deeply embedded 
extremely-low-latency stuff in a kind of single task "main loop" type 
environment ? I.e. creating a true coprocessor from an SMP hardware.

Some of the problems that come in ind here include:

  - how to make the Linux initialization ignore one of the available 
cores  or free a core later on ?
Here I found this:
http://www.linuxtopia.org/online_books/linux_kernel/kernel_configuration/re46.html
So using one of the four cores for special purpose in fact is viable.

  - how to have  a Linux task start the free running main loop ?

  - how to assign certain interrupts to that core and have ISRs run 
there only dedicatedly interrupting the "main loop" and not ever being 
blocked by any Linux activity ?
here I found this:
https://access.redhat.com/site/solutions/15482
In fact of course the hardware defines if/how a certain Interrupt can be 
assigned to a certain CPU. How is this usually done when using ARM 
Cortex A9+ cores ?

  - what about MMU issues ?

  - how to have a Linux application communicate with the non.-Linux 
application running on the dedicated core ?
Here I found this:
http://lwn.net/Articles/464391


For example I (e.g.) would like a (now rather cheap) standard quadcore 
ARM Cortex A9 processor chip and modify a Debian distribution in a way 
that support this stuff.

Thanks for any pointers ?

-Michael

^ permalink raw reply	[flat|nested] 25+ messages in thread

end of thread, other threads:[~2013-08-08  7:41 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-02 16:16 AMP on an SMP system Jon Sevy
2013-08-05  7:45 ` Michael Schnell
2013-08-05  8:21   ` Robert Schwebel
2013-08-05  8:42     ` Michael Schnell
  -- strict thread matches above, loose matches on Subject: below --
2013-08-05  9:06 Guenter Ebermann
2013-08-05  9:34 ` Michael Schnell
2013-08-02  8:33 Michael Schnell
2013-08-02 11:42 ` Robert Schwebel
2013-08-02 12:13   ` Michael Schnell
2013-08-02 14:53     ` Marco Stornelli
2013-08-02 15:24       ` Michael Schnell
2013-08-02 15:37         ` Marco Stornelli
2013-08-02 16:00           ` Michael Schnell
2013-08-02 15:58             ` Marco Stornelli
2013-08-03 19:11       ` Robert Schwebel
2013-08-05  7:25         ` Michael Schnell
2013-08-05  8:17           ` Robert Schwebel
2013-08-05  9:04             ` Michael Schnell
2013-08-04 21:28 ` Lambrecht Jürgen
2013-08-05  7:36   ` Michael Schnell
2013-08-05 10:00   ` Lambrecht Jürgen
2013-08-07  8:23     ` Michael Schnell
2013-08-07  8:29       ` Michael Schnell
2013-08-07  9:04       ` Michael Schnell
2013-08-08  7:41 ` Michael Schnell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).