Thread (3 messages) 3 messages, 3 authors, 2012-06-11

RE: Question about MPIC_SINGLE_DEST_CPU on P1020 (e500 core) SMP

flat view

From: Li Yang-R58472 <hidden>
Date: 2012-06-11 09:37:02

Subject: Question about MPIC_SINGLE_DEST_CPU on P1020 (e500 core) SMP
=20
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, =A0we 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.
I suggest you to follow the UM.  The note should be there for a reason alth=
ough personally I don't know what the specific problem will be.

Leo
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help