linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Question about MPIC_SINGLE_DEST_CPU on P1020 (e500 core) SMP
@ 2012-06-10 20:37 Gopalakrishnan Raman
  2012-06-11  9:36 ` Li Yang-R58472
  2012-06-11 15:54 ` Scott Wood
  0 siblings, 2 replies; 3+ messages in thread
From: Gopalakrishnan Raman @ 2012-06-10 20:37 UTC (permalink / raw)
  To: linuxppc-dev@lists.ozlabs.org; +Cc: rgkwstl@gmail.com

[-- Attachment #1: Type: text/plain, Size: 588 bytes --]

Hi
The P1020 manual states (in the PIC chapter) that in the "Internal Interrupt Destination" register, only 1 CPU (and not both) can be selected as the IRQ destination. How then can we achieve "interrupt spraying" for the PCI interrupt (we want interrupts to be sent alternately to CPU0 and CPU1). Also,  we changed the code to ignore the MPIC_SINGLE_DEST_CPU flag and set both CPUs in the destination of the PIC_IIDRn register. This does seem to work. But we're not sure if we can rely on this behavior and whether it will cause other problems.
Any advice appreciated
Thanks
-gopal

[-- Attachment #2: Type: text/html, Size: 2381 bytes --]

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

end of thread, other threads:[~2012-06-11 15:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-10 20:37 Question about MPIC_SINGLE_DEST_CPU on P1020 (e500 core) SMP Gopalakrishnan Raman
2012-06-11  9:36 ` Li Yang-R58472
2012-06-11 15:54 ` Scott Wood

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