From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from relay1.mentorg.com (relay1.mentorg.com [192.94.38.131]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "relay1.mentorg.com", Issuer "Entrust Certification Authority - L1B" (not verified)) by ozlabs.org (Postfix) with ESMTPS id 3E6FCB71A7 for ; Fri, 23 Dec 2011 17:18:27 +1100 (EST) Received: from svr-orw-fem-01.mgc.mentorg.com ([147.34.98.93]) by relay1.mentorg.com with esmtp id 1RdySV-0005C2-KQ from Farrukh_Arshad@mentor.com for linuxppc-dev@lists.ozlabs.org; Thu, 22 Dec 2011 22:18:23 -0800 From: "Arshad, Farrukh" To: "linuxppc-dev@lists.ozlabs.org" Subject: OpenPIC warnings on P1022RDK AMP configuration Date: Fri, 23 Dec 2011 06:18:20 +0000 Message-ID: <93CD5F41FDBC6042A6B449764F3B35CC050C9E2F@EU-MBX-03.mgc.mentorg.com> Content-Type: multipart/alternative; boundary="_000_93CD5F41FDBC6042A6B449764F3B35CC050C9E2FEUMBX03mgcmento_" MIME-Version: 1.0 List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , --_000_93CD5F41FDBC6042A6B449764F3B35CC050C9E2FEUMBX03mgcmento_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Greetings All I am running dual linux on P1022RDK in AMP configuration. My memory partiti= oning 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=3D/dev/mmcblk0p3 rootdelay=3D5 rw mem=3D192M setenv core1bootargs root=3D/dev/nfs nfsroot=3D:/ ip=3Ddh= cp mem=3D256M I have also partitioned my hardware among both cores and supplied appropria= te "protected-sources" in mpic node of both DTS files. The problem is, I re= ceive following warning continuously only on Core 0 console, but Core 1 is = running smooth. In following warnings source irqs are mostly which I have a= ssigned to Core 1, but they are present in Core 0 mpic node "protected-sour= ces" 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 --_000_93CD5F41FDBC6042A6B449764F3B35CC050C9E2FEUMBX03mgcmento_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Greetings All

 

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

 

= ---------------------------------------------------------------------<= /o:p>

= Core             &nb= sp;        | Base Address  | &= nbsp;  Size          &nbs= p;      |

= --------------------------|---------------|-------------------------|<= /o:p>

= 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)  |   &= nbsp;        

= ---------------------------------------------------------------------<= /o:p>

 

My kernel command lines are for both cores

 

= setenv core0bootargs root=3D/dev/mmcblk0p3 rootdelay=3D5 rw mem=3D192M=

= setenv core1bootargs root=3D/dev/nfs nfsroot=3D<serverip>:/<rootfs= > ip=3Ddhcp mem=3D256M

 

I have also partitioned my hardware among both cores= and supplied appropriate “protected-sources” in mpic node of b= oth DTS files. The problem is, I receive following warning continuously onl= y 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 – 0= 5

 

--_000_93CD5F41FDBC6042A6B449764F3B35CC050C9E2FEUMBX03mgcmento_-- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from relay1.mentorg.com (relay1.mentorg.com [192.94.38.131]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "relay1.mentorg.com", Issuer "Entrust Certification Authority - L1B" (not verified)) by ozlabs.org (Postfix) with ESMTPS id ACA4CB6FAC for ; Tue, 10 Jan 2012 19:43:32 +1100 (EST) Received: from svr-orw-fem-01.mgc.mentorg.com ([147.34.98.93]) by relay1.mentorg.com with esmtp id 1RkXIm-0005pB-KV from Farrukh_Arshad@mentor.com for linuxppc-dev@lists.ozlabs.org; Tue, 10 Jan 2012 00:43:28 -0800 From: "Arshad, Farrukh" To: "linuxppc-dev@lists.ozlabs.org" Subject: RE: OpenPIC warnings on P1022RDK AMP configuration Date: Tue, 10 Jan 2012 08:43:21 +0000 Message-ID: <93CD5F41FDBC6042A6B449764F3B35CC050CD17A@EU-MBX-03.mgc.mentorg.com> Content-Type: multipart/alternative; boundary="_000_93CD5F41FDBC6042A6B449764F3B35CC050CD17AEUMBX03mgcmento_" MIME-Version: 1.0 List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , --_000_93CD5F41FDBC6042A6B449764F3B35CC050CD17AEUMBX03mgcmento_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable 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@lists.ozlabs.org Subject: OpenPIC warnings on P1022RDK AMP configuration Greetings All I am running dual linux on P1022RDK in AMP configuration. My memory partiti= oning 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=3D/dev/mmcblk0p3 rootdelay=3D5 rw mem=3D192M setenv core1bootargs root=3D/dev/nfs nfsroot=3D:/ ip=3Ddh= cp mem=3D256M I have also partitioned my hardware among both cores and supplied appropria= te "protected-sources" in mpic node of both DTS files. The problem is, I re= ceive following warning continuously only on Core 0 console, but Core 1 is = running smooth. In following warnings source irqs are mostly which I have a= ssigned to Core 1, but they are present in Core 0 mpic node "protected-sour= ces" 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 --_000_93CD5F41FDBC6042A6B449764F3B35CC050CD17AEUMBX03mgcmento_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Change kernel configur= ation 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@lists.ozlabs.org
Subject: OpenPIC warnings on P1022RDK AMP configuration

 

Greetings All

 

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

 

= ---------------------------------------------------------------------<= /o:p>

= Core             &nb= sp;        | Base Address  | &= nbsp;  Size          &nbs= p;      |

= --------------------------|---------------|-------------------------|<= /o:p>

= 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)  |   &= nbsp;        

= ---------------------------------------------------------------------<= /o:p>

 

My kernel command lines are for both cores

 

= setenv core0bootargs root=3D/dev/mmcblk0p3 rootdelay=3D5 rw mem=3D192M=

= setenv core1bootargs root=3D/dev/nfs nfsroot=3D<serverip>:/<rootfs= > ip=3Ddhcp mem=3D256M

 

I have also partitioned my hardware among both cores= and supplied appropriate “protected-sources” in mpic node of b= oth DTS files. The problem is, I receive following warning continuously onl= y 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 – 0= 5

 

--_000_93CD5F41FDBC6042A6B449764F3B35CC050CD17AEUMBX03mgcmento_-- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from DB3EHSOBE003.bigfish.com (db3ehsobe003.messaging.microsoft.com [213.199.154.141]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (Client CN "mail.global.frontbridge.com", Issuer "Microsoft Secure Server Authority" (verified OK)) by ozlabs.org (Postfix) with ESMTPS id 57EB2B6FCA for ; Wed, 11 Jan 2012 08:02:11 +1100 (EST) Message-ID: <4F0CA749.3000306@freescale.com> Date: Tue, 10 Jan 2012 15:02:01 -0600 From: Scott Wood MIME-Version: 1.0 To: "Arshad, Farrukh" Subject: Re: OpenPIC warnings on P1022RDK AMP configuration References: <93CD5F41FDBC6042A6B449764F3B35CC050CD17A@EU-MBX-03.mgc.mentorg.com> In-Reply-To: <93CD5F41FDBC6042A6B449764F3B35CC050CD17A@EU-MBX-03.mgc.mentorg.com> Content-Type: text/plain; charset="windows-1252" Cc: "linuxppc-dev@lists.ozlabs.org" List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On 01/10/2012 02:43 AM, Arshad, Farrukh wrote: > Change kernel configuration as per following to fix this warning. >=20 > =20 >=20 > Disable Kernel Options -> Support for enabling/disabling CPUs >=20 > Disable Kernel Options -> Distribute interrupts on all CPUs by default >=20 > =20 >=20 > Regards, >=20 > Farrukh Arshad >=20 > =20 >=20 > *From:*Arshad, Farrukh > *Sent:* Friday, December 23, 2011 11:18 AM > *To:* linuxppc-dev@lists.ozlabs.org > *Subject:* OpenPIC warnings on P1022RDK AMP configuration >=20 > =20 >=20 > Greetings All >=20 > =20 >=20 > I am running dual linux on P1022RDK in AMP configuration. My memory > partitioning is as below >=20 > =20 >=20 > --------------------------------------------------------------------- >=20 > Core | Base Address | Size | >=20 > --------------------------|---------------|-------------------------| >=20 > Core 0 (MEL RT Kernel) | 0x0000,0000 | 0x0C00,0000 - 192 (MB) | >=20 > Core 1 (LTIB Kernel) |0x0C00,0000 | 0x1000,0000 - 256 (MB) | >=20 > MCAPI - Shared Mem | 0x1C00,0000 | 0x0400,0000 - 64=20 > (MB) | =20 >=20 > --------------------------------------------------------------------- >=20 > =20 >=20 > My kernel command lines are for both cores >=20 > =20 >=20 > setenv core0bootargs root=3D/dev/mmcblk0p3 rootdelay=3D5 rw mem=3D192M >=20 > setenv core1bootargs root=3D/dev/nfs nfsroot=3D:/ ip=3D= dhcp > mem=3D256M >=20 > =20 >=20 > I have also partitioned my hardware among both cores and supplied > appropriate =93protected-sources=94 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 irq= s > are mostly which I have assigned to Core 1, but they are present in Cor= e > 0 mpic node =93protected-sources=94 list, then why I am getting these m= essages. >=20 > =20 >=20 > [ 6.219204] __ratelimit: 5796 callbacks suppressed >=20 > [ 6.223996] OpenPIC : Got protected source 30 ! >=20 > [ 7.005809] OpenPIC : Got protected source 30 ! >=20 > [ 8.005906] OpenPIC : Got protected source 30 ! >=20 > [ 8.433053] OpenPIC : Got protected source 29 ! >=20 > [ 8.437942] OpenPIC : Got protected source 30 ! >=20 > [ 8.443101] OpenPIC : Got protected source 30 ! >=20 > [ 8.448428] OpenPIC : Got protected source 30 ! >=20 > =20 >=20 > Any thoughts ? Does each dtb have the correct CPU number, both from the command line boot cpu flag and in the CPU node? Do both device trees have pic-no-reset in the mpic node? If neither of those are the issue, start dumping the relevant MPIC interrupt destination registers, and tracethe code where they're supposed to be set up. Also make sure that no interrupts are enabled when Linux receives control from U-Boot. -Scott From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from relay1.mentorg.com (relay1.mentorg.com [192.94.38.131]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "relay1.mentorg.com", Issuer "Entrust Certification Authority - L1B" (not verified)) by ozlabs.org (Postfix) with ESMTPS id 519D8B6EEC for ; Wed, 11 Jan 2012 18:08:32 +1100 (EST) From: "Arshad, Farrukh" To: Scott Wood Subject: RE: OpenPIC warnings on P1022RDK AMP configuration Date: Wed, 11 Jan 2012 07:08:20 +0000 Message-ID: <93CD5F41FDBC6042A6B449764F3B35CC050CD2A0@EU-MBX-03.mgc.mentorg.com> References: <93CD5F41FDBC6042A6B449764F3B35CC050CD17A@EU-MBX-03.mgc.mentorg.com> <4F0CA749.3000306@freescale.com> In-Reply-To: <4F0CA749.3000306@freescale.com> Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Cc: "linuxppc-dev@lists.ozlabs.org" List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , >> Does each dtb have the correct CPU number, both from the command line bo= ot cpu flag and in the CPU node? Yes both CPUs have the correct CPU numbers and also both DTBs are build wit= h their respective -b flag.=20 >> Do both device trees have pic-no-reset in the mpic node? Yes, both have pic-no-reset mode. >> If neither of those are the issue, start dumping the relevant MPIC inter= rupt destination registers, and tracethe code where they're supposed to be = set up. Also make sure that no interrupts are enabled when Linux receives= control from U-Boot. Yes, interrupts are disabled when Linux receives control from U-Boot.