From: Scott Wood <scottwood@freescale.com>
To: "Arshad, Farrukh" <Farrukh_Arshad@mentor.com>
Cc: "linuxppc-dev@lists.ozlabs.org" <linuxppc-dev@lists.ozlabs.org>
Subject: Re: OpenPIC warnings on P1022RDK AMP configuration
Date: Tue, 10 Jan 2012 15:02:01 -0600 [thread overview]
Message-ID: <4F0CA749.3000306@freescale.com> (raw)
In-Reply-To: <93CD5F41FDBC6042A6B449764F3B35CC050CD17A@EU-MBX-03.mgc.mentorg.com>
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<serverip>:/<rootfs> 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
next prev parent reply other threads:[~2012-01-10 21:02 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-10 8:43 OpenPIC warnings on P1022RDK AMP configuration Arshad, Farrukh
2012-01-10 21:02 ` Scott Wood [this message]
2012-01-11 7:08 ` Arshad, Farrukh
-- strict thread matches above, loose matches on Subject: below --
2011-12-23 6:18 Arshad, Farrukh
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4F0CA749.3000306@freescale.com \
--to=scottwood@freescale.com \
--cc=Farrukh_Arshad@mentor.com \
--cc=linuxppc-dev@lists.ozlabs.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).