linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* Kernel API for SGI usage
@ 2013-01-23 16:39 loody
  2013-01-23 16:46 ` Russell King - ARM Linux
  0 siblings, 1 reply; 4+ messages in thread
From: loody @ 2013-01-23 16:39 UTC (permalink / raw)
  To: linux-arm-kernel

hi all:
The other cores on my Soc need SGI to be waken up from reset state.
Could any one header and functions I need to include and used for?
-- 
Regards,

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

* Kernel API for SGI usage
  2013-01-23 16:39 Kernel API for SGI usage loody
@ 2013-01-23 16:46 ` Russell King - ARM Linux
  2013-01-23 16:51   ` loody
  0 siblings, 1 reply; 4+ messages in thread
From: Russell King - ARM Linux @ 2013-01-23 16:46 UTC (permalink / raw)
  To: linux-arm-kernel

On Thu, Jan 24, 2013 at 12:39:54AM +0800, loody wrote:
> hi all:
> The other cores on my Soc need SGI to be waken up from reset state.
> Could any one header and functions I need to include and used for?

That's almost what every platform does.  Plenty of examples in the
platform SMP code for you to look at.

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

* Kernel API for SGI usage
  2013-01-23 16:46 ` Russell King - ARM Linux
@ 2013-01-23 16:51   ` loody
  2013-01-23 17:00     ` Russell King - ARM Linux
  0 siblings, 1 reply; 4+ messages in thread
From: loody @ 2013-01-23 16:51 UTC (permalink / raw)
  To: linux-arm-kernel

hi Russell:

2013/1/24 Russell King - ARM Linux <linux@arm.linux.org.uk>:
> On Thu, Jan 24, 2013 at 12:39:54AM +0800, loody wrote:
>> hi all:
>> The other cores on my Soc need SGI to be waken up from reset state.
>> Could any one header and functions I need to include and used for?
>
> That's almost what every platform does.  Plenty of examples in the
> platform SMP code for you to look at.
Nice to meet you
Would you please show me a hint or function name for reference?

Appreciate your help, @_@

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

* Kernel API for SGI usage
  2013-01-23 16:51   ` loody
@ 2013-01-23 17:00     ` Russell King - ARM Linux
  0 siblings, 0 replies; 4+ messages in thread
From: Russell King - ARM Linux @ 2013-01-23 17:00 UTC (permalink / raw)
  To: linux-arm-kernel

On Thu, Jan 24, 2013 at 12:51:50AM +0800, loody wrote:
> hi Russell:
> 
> 2013/1/24 Russell King - ARM Linux <linux@arm.linux.org.uk>:
> > On Thu, Jan 24, 2013 at 12:39:54AM +0800, loody wrote:
> >> hi all:
> >> The other cores on my Soc need SGI to be waken up from reset state.
> >> Could any one header and functions I need to include and used for?
> >
> > That's almost what every platform does.  Plenty of examples in the
> > platform SMP code for you to look at.
> Nice to meet you
> Would you please show me a hint or function name for reference?
> 
> Appreciate your help, @_@

It even comes with comments:

        /*
         * Send the secondary CPU a soft interrupt, thereby causing
         * the boot monitor to read the system wide flags register,
         * and branch to the address found there.
         */
        gic_raise_softirq(cpumask_of(cpu), 0);

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

end of thread, other threads:[~2013-01-23 17:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-23 16:39 Kernel API for SGI usage loody
2013-01-23 16:46 ` Russell King - ARM Linux
2013-01-23 16:51   ` loody
2013-01-23 17:00     ` Russell King - ARM Linux

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).