From: Arnd Bergmann <arnd@arndb.de>
To: Thierry Reding <thierry.reding@avionic-design.de>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>,
Andrew Murray <andrew.murray@arm.com>,
Bjorn Helgaas <bhelgaas@google.com>,
"linux-pci@vger.kernel.org" <linux-pci@vger.kernel.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: [RFC 0/2] PCI: Introduce MSI chip infrastructure
Date: Mon, 25 Mar 2013 09:29:57 +0000 [thread overview]
Message-ID: <201303250929.58010.arnd@arndb.de> (raw)
In-Reply-To: <20130325091534.GA21054@avionic-0098.mockup.avionic-design.de>
On Monday 25 March 2013, Thierry Reding wrote:
> I think you can just make this:
>
> mpic: interrupt-controller@d0020000 {
> ...
> };
>
> ...
>
> soc {
> pcie-controller {
> marvell,msi = <&mpic>;
> };
> };
>
> And everything else should just work given the APIs I mentioned. But as
> you said it'd be good if somebody else could share their opinion about
> this.
I think the property referring to the msi controller should have a fixed
name, such as "msi-parent", to go along with "interrupt-parent".
Similarly, I would suggest using an empty "msi-controller" property
to mark the controller that is capable of serving MSIs. The Linux
implementation doesn't currently require the "interrupt-controller"
property, but I think it's good to stay close to the original interrupt
binding here for consistency.
Arnd
prev parent reply other threads:[~2013-03-25 9:30 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-22 8:51 [RFC 0/2] PCI: Introduce MSI chip infrastructure Thierry Reding
2013-03-22 8:51 ` [RFC 1/2] PCI: Introduce new " Thierry Reding
2013-03-22 9:37 ` Andrew Murray
2013-03-22 10:00 ` Thierry Reding
2013-03-22 8:51 ` [RFC 2/2] PCI: tegra: Use " Thierry Reding
2013-03-25 17:01 ` Stephen Warren
2013-03-25 20:02 ` Thierry Reding
2013-03-22 9:30 ` [RFC 0/2] PCI: Introduce " Andrew Murray
2013-03-24 11:06 ` Thomas Petazzoni
2013-03-25 7:58 ` Thierry Reding
2013-03-25 8:38 ` Thomas Petazzoni
2013-03-25 9:15 ` Thierry Reding
2013-03-25 9:29 ` Arnd Bergmann [this message]
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=201303250929.58010.arnd@arndb.de \
--to=arnd@arndb.de \
--cc=andrew.murray@arm.com \
--cc=bhelgaas@google.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pci@vger.kernel.org \
--cc=thierry.reding@avionic-design.de \
--cc=thomas.petazzoni@free-electrons.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