From: Kumar Gala <galak@kernel.crashing.org>
To: Roy Zang <tie-fei.zang@freescale.com>
Cc: linuxppc-dev@lists.ozlabs.org
Subject: Re: [PATCH] powerpc/p1023: set IRQ[4:6, 11] to high level sensitive for PCIe
Date: Tue, 15 Nov 2011 15:51:26 -0600 [thread overview]
Message-ID: <45E28F47-CC83-4059-959F-E890049F416B@kernel.crashing.org> (raw)
In-Reply-To: <1320654778-3294-1-git-send-email-tie-fei.zang@freescale.com>
On Nov 7, 2011, at 2:32 AM, Roy Zang wrote:
> P1023 external IRQ[4:6, 11] do not pin out, but the interrupts are
> shared with PCIe controller.
> The silicon internally ties the interrupts to L, so change the
> IRQ[4:6,11] to high level sensitive for PCIe.
>=20
> Signed-off-by: Roy Zang <tie-fei.zang@freescale.com>
> ---
> arch/powerpc/boot/dts/p1023rds.dts | 8 ++++----
> 1 files changed, 4 insertions(+), 4 deletions(-)
>=20
> diff --git a/arch/powerpc/boot/dts/p1023rds.dts =
b/arch/powerpc/boot/dts/p1023rds.dts
> index d9b7767..66bf804 100644
> --- a/arch/powerpc/boot/dts/p1023rds.dts
> +++ b/arch/powerpc/boot/dts/p1023rds.dts
> @@ -490,9 +490,9 @@
> interrupt-map-mask =3D <0xf800 0 0 7>;
> interrupt-map =3D <
> /* IDSEL 0x0 */
> - 0000 0 0 1 &mpic 4 1
> - 0000 0 0 2 &mpic 5 1
> - 0000 0 0 3 &mpic 6 1
> + 0000 0 0 1 &mpic 4 2
> + 0000 0 0 2 &mpic 5 2
> + 0000 0 0 3 &mpic 6 2
> 0000 0 0 4 &mpic 7 1
> >;
> ranges =3D <0x2000000 0x0 0xa0000000
> @@ -532,7 +532,7 @@
> 0000 0 0 1 &mpic 8 1
> 0000 0 0 2 &mpic 9 1
> 0000 0 0 3 &mpic 10 1
> - 0000 0 0 4 &mpic 11 1
> + 0000 0 0 4 &mpic 11 2
> >;
> ranges =3D <0x2000000 0x0 0x80000000
> 0x2000000 0x0 0x80000000
> --=20
> 1.6.0.6
>=20
Should be setting ALL PCIe interrupts to '2'? As I think in general we =
say these PCIe are 'active high'. The only reason I would think we =
would NOT do this is if they are shared with some external device that =
is 'active low'. If so we should comment that somewhere (maybe in the =
.dts, maybe just in the commit message).
- k
next prev parent reply other threads:[~2011-11-15 21:51 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-07 8:32 [PATCH] powerpc/p1023: set IRQ[4:6, 11] to high level sensitive for PCIe Roy Zang
2011-11-07 18:44 ` Scott Wood
2011-11-08 5:51 ` Zang Roy-R61911
2011-11-08 16:54 ` Scott Wood
2011-11-09 15:27 ` Zang Roy-R61911
2011-11-09 15:38 ` Scott Wood
2011-11-09 15:49 ` Kumar Gala
2011-11-15 21:51 ` Kumar Gala [this message]
2011-11-15 22:14 ` Scott Wood
2011-11-16 4:27 ` Zang Roy-R61911
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=45E28F47-CC83-4059-959F-E890049F416B@kernel.crashing.org \
--to=galak@kernel.crashing.org \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=tie-fei.zang@freescale.com \
/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).