Thread (26 messages) flat view 26 messages, 3 authors, 2012-06-20
DORMANTno replies

[RFC PATCH 1/8] ARM: gic: Support forcing cpumask for possible cpus in the system

From: monstr@monstr.eu (Michal Simek)
Date: 2012-06-20 06:48:07

2012/6/18 Michal Simek [off-list ref]
On 06/18/2012 01:33 PM, Russell King - ARM Linux wrote:
quoted
On Mon, Jun 18, 2012 at 01:30:04PM +0200, Michal Simek wrote:
quoted
gic_set_affinity doesn't support force option. Force option
should work with all possible cpus in the system not only with
online cpus.
Neither does x86.  Why do you want this?  Offline CPUs are unable to
receive the interrupt in any case (and must not receive interrupts in
the bringup path until they are online.)
The whole reason for all these changes in AMP on dual core Cortex A9 where
on one cpu runs Linux and on the second RTOS/standlone.

It means that the second cpu is from Linux point of view offline all the
time.
But GIC has to be (and can be) setup to forward IRQ directly to the second
cpu.
GIC should be controlled by Linux.
Russel: Any other reaction?
Can you see a way how to get this feature to the mainline Linux kernel?
Some patches needs to be refactored a little bit but the point is if you
are willing to
support this type of configuration.

Not sure if Ohad has any information that someone else would like to use it
remoteproc(AMP) among ARM cores.

Thanks,
Michal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20120620/5d1c190a/attachment-0001.html>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help