OpenPIC warnings on P1022RDK AMP configuration

Arshad, Farrukh Farrukh_Arshad at mentor.com
Tue Jan 10 19:43:21 EST 2012


Change kernel configuration as per following to fix this warning.

Disable Kernel Options -> Support for enabling/disabling CPUs
Disable Kernel Options -> Distribute interrupts on all CPUs by default

Regards,
Farrukh Arshad

From: Arshad, Farrukh
Sent: Friday, December 23, 2011 11:18 AM
To: linuxppc-dev at lists.ozlabs.org
Subject: OpenPIC warnings on P1022RDK AMP configuration

Greetings All

I am running dual linux on P1022RDK in AMP configuration. My memory partitioning is as below

---------------------------------------------------------------------
Core                      | Base Address  |    Size                 |
--------------------------|---------------|-------------------------|
Core 0 (MEL RT Kernel)    | 0x0000,0000   | 0x0C00,0000 - 192 (MB)  |
Core 1 (LTIB Kernel)      |0x0C00,0000    | 0x1000,0000 - 256 (MB)  |
MCAPI - Shared Mem        | 0x1C00,0000   | 0x0400,0000 - 64  (MB)  |
---------------------------------------------------------------------

My kernel command lines are for both cores

setenv core0bootargs root=/dev/mmcblk0p3 rootdelay=5 rw mem=192M
setenv core1bootargs root=/dev/nfs nfsroot=<serverip>:/<rootfs> ip=dhcp mem=256M

I have also partitioned my hardware among both cores and supplied appropriate "protected-sources" in mpic node of both DTS files. The problem is, I receive following warning continuously only on Core 0 console, but Core 1 is running smooth. In following warnings source irqs are mostly which I have assigned to Core 1, but they are present in Core 0 mpic node "protected-sources" list, then why I am getting these messages.

[    6.219204] __ratelimit: 5796 callbacks suppressed
[    6.223996]  OpenPIC  : Got protected source 30 !
[    7.005809]  OpenPIC  : Got protected source 30 !
[    8.005906]  OpenPIC  : Got protected source 30 !
[    8.433053]  OpenPIC  : Got protected source 29 !
[    8.437942]  OpenPIC  : Got protected source 30 !
[    8.443101]  OpenPIC  : Got protected source 30 !
[    8.448428]  OpenPIC  : Got protected source 30 !

Any thoughts ?

Best Regards

Farrukh Arshad
Sr. Software Development Engineer
Mentor Graphics Pakistan
Ph:   +92 - 423 - 609 - 92 - 09
Cell: +92 - 303 - 444 - 77 - 05

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20120110/94897d75/attachment.html>


More information about the Linuxppc-dev mailing list