From: "Benjamin Walsh" <walsh.benj@gmail.com>
To: "Chen, Tiejun" <Tiejun.Chen@windriver.com>
Cc: linuxppc-embedded@ozlabs.org
Subject: RE: NMI and AMD8131/8111 on Maple board
Date: Tue, 25 Nov 2008 17:22:25 -0500 [thread overview]
Message-ID: <013801c94f4c$51d25f20$e693e080@corp.ad.wrs.com> (raw)
In-Reply-To: <492BD099.9000903@windriver.com>
> The AMD8131/8130 can generate an NMI to the CPC925. There is
> an interrupt
> controller resided in the CPC925. And you know the CPC925 is
> attached the
> PowerPC PPC970FX. The interrupt controller collects and
> distributes system
> interrupts from the PCI Express and HyperTransport blocks. So
> you should get the
> map connection based on the system in detail. Often these
> information should be
> defined in the corresponding dtc.
The only DTS I have is the one I extracted from a running target. This is
part of the entry for the 8111:
ht@0 {
ranges = <0x81000000 0x0 0x0 0x0 0xf4000000 0x0 0x400000
0x82000000 0x0 0x80000000 0x0 0x80000000 0x0 0x70000000>;
reg = <0x0 0xf2000000 0x3000000>;
device_type = "ht";
bus-range = <0x0 0x5>;
compatible = "u3-ht";
interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
interrupt-map = <
0x0900 0x0 0x0 0x0 0x6103fa00 0x00 0x1
0x1100 0x0 0x0 0x0 0x6103fa00 0x00 0x1
0x1900 0x0 0x0 0x0 0x6103fa00 0x00 0x1
0x2100 0x0 0x0 0x0 0x6103fa00 0x00 0x1
0x3000 0x0 0x0 0x0 0x6103fa00 0x00 0x1
0x3200 0x0 0x0 0x4 0x6103fa00 0x19 0x1
0x3300 0x0 0x0 0x0 0x6103fa00 0x00 0x1
0x3400 0x0 0x0 0x3 0x6103fa00 0xff 0x1
0x3500 0x0 0x0 0x2 0x6103fa00 0x17 0x1
0x3600 0x0 0x0 0x2 0x6103fa00 0x17 0x1
0x3700 0x0 0x0 0x0 0x6103fa00 0x00 0x1>;
#address-cells = <0x3>;
linux,phandle = <0x61043600>;
name = "ht";
#interrupt-cells = <0x1>;
#size-cells = <0x2>;
And this is the CPC925, with its interrupt controller:
hostbridge@f8000000 {
reg = <0xf8000000 0x1000000>;
device_type = "memory-controller";
compatible = "u3";
#address-cells = <0x1>;
linux,phandle = <0x61044000>;
name = "hostbridge";
#size-cells = <0x1>;
dart@f8033000 {
reg = <0xf8033000 0x7000>;
device_type = "dart";
compatible = "u3-dart", "dart";
linux,phandle = <0x61045e00>;
name = "dart";
};
interrupt-controller@f8040000 {
reg = <0xf8040000 0x40000>;
device_type = "open-pic";
interrupt-controller;
compatible = "open-pic";
big-endian;
built-in;
#address-cells = <0x0>;
linux,phandle = <0x6103fa00>;
name = "interrupt-controller";
clock-frequency = <0x0>;
#interrupt-cells = <0x2>;
};
And I think this is the part of the LPC bridge entry:
isa@6 {
min-grant = <0x0>;
ranges = <0x1 0x0 0x1003000 0x0 0x0 0x10000>;
reg = <0x3000 0x0 0x0 0x0 0x0>;
device_type = "isa";
revision-id = <0x5>;
66mhz-capable;
max-latency = <0x0>;
class-code = <0x60100>;
vendor-id = <0x1022>;
linux,phandle = <0x610dfa00>;
name = "isa";
device-id = <0x7468>;
The LPC bridge is supposed to be able to generate an NMI on error. Am I
right in saying that the 0x3000 entry in the ht@0 interrupt-map corresponds
to the LPC bridge ? If so, the mapping I can read from there is 0->0. 0 is
an internal interrupt of the CPC925, so this does not make sense. Or I am
reading this wrong.
Any insights ?
Thanks,
Ben
next prev parent reply other threads:[~2008-11-25 22:22 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-24 3:24 USB Host support on mpc 8313 Joaquin Luna
2008-11-24 7:12 ` Li Yang
2008-11-24 7:37 ` Regarding MPC5200 Naveen Kumar
2008-11-24 14:50 ` Grant Likely
2008-11-24 18:56 ` Wolfgang Denk
2008-11-24 20:35 ` NMI and AMD8131/8111 on Maple board Benjamin Walsh
2008-11-25 10:16 ` tiejun.chen
2008-11-25 22:22 ` Benjamin Walsh [this message]
2008-11-30 20:47 ` USB Host support on mpc 8313 Joaquin Luna
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='013801c94f4c$51d25f20$e693e080@corp.ad.wrs.com' \
--to=walsh.benj@gmail.com \
--cc=Tiejun.Chen@windriver.com \
--cc=linuxppc-embedded@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).