public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* remoteproc: Resource table for IRQs
@ 2012-03-13  9:41 Michal Simek
  2012-03-19 12:55 ` Ohad Ben-Cohen
  0 siblings, 1 reply; 4+ messages in thread
From: Michal Simek @ 2012-03-13  9:41 UTC (permalink / raw)
  To: Ohad Ben-Cohen
  Cc: LKML, John Williams, Arnd Bergmann, Grant Likely,
	devicetree-discuss

Hi Ohad and others,

I would like to open new topic about remoteproc and IRQ.
As you know we run AMP on dual core arm cortex A9. The first
cpu runs Linux and the second rtos.

Both cpus use the same GIC and Linux is able to forward IRQ
to specific CPU. Currently this functionality is hardcoded
and the kernel always forward specific IRQs to firmware.

I think that will be good to move IRQ description to resource table
and kernel could check if this IRQ is used or not and if not then
setup GIC to forward this IRQ to the second CPU.

I think that reasonable solution is to extend fw_resource_type for RSC_IRQ.

What do you think?

Thanks,
Michal

-- 
Michal Simek, Ing. (M.Eng)
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel 2.6 Microblaze Linux - http://www.monstr.eu/fdt/
Microblaze U-BOOT custodian

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

end of thread, other threads:[~2012-03-20 17:34 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-13  9:41 remoteproc: Resource table for IRQs Michal Simek
2012-03-19 12:55 ` Ohad Ben-Cohen
2012-03-19 13:38   ` Michal Simek
2012-03-20 17:34     ` Ohad Ben-Cohen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox