From: Andrew Jones <ajones@ventanamicro.com>
To: Rob Herring <robh@kernel.org>
Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-riscv@lists.infradead.org,
linux-arm-kernel@lists.infradead.org, loongarch@lists.linux.dev,
linux-mips@vger.kernel.org, maz@kernel.org,
mark.rutland@arm.com, saravanak@google.com,
paul.walmsley@sifive.com, palmer@dabbelt.com,
aou@eecs.berkeley.edu, Anup Patel <apatel@ventanamicro.com>
Subject: Re: [PATCH v3] of/irq: Support #msi-cells=<0> in of_msi_get_domain
Date: Mon, 19 Aug 2024 09:35:43 +0200 [thread overview]
Message-ID: <20240819-3fd4ff3cfa1d216a1241f5a0@orel> (raw)
In-Reply-To: <20240818161816.GA173148-robh@kernel.org>
On Sun, Aug 18, 2024 at 10:18:16AM GMT, Rob Herring wrote:
> On Sat, Aug 17, 2024 at 09:41:08AM +0200, Andrew Jones wrote:
...
> > + of_for_each_phandle(&it, err, np, "msi-parent", "#msi-cells", 0) {
> > + d = irq_find_matching_host(it.node, token);
> > + if (d)
> > + return d;
> > + of_node_put(it.node);
>
> Pretty sure the iterator does this for you. I can fixup when applying.
Doh, I managed to mess up my usage of OF APIs twice. Thanks for applying
the fixup.
>
> I plan to tag for stable too.
Good idea.
Thanks,
drew
next prev parent reply other threads:[~2024-08-19 7:36 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-17 7:41 [PATCH v3] of/irq: Support #msi-cells=<0> in of_msi_get_domain Andrew Jones
2024-08-18 16:18 ` Rob Herring
2024-08-19 7:35 ` Andrew Jones [this message]
2024-08-19 18:40 ` Rob Herring (Arm)
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=20240819-3fd4ff3cfa1d216a1241f5a0@orel \
--to=ajones@ventanamicro.com \
--cc=aou@eecs.berkeley.edu \
--cc=apatel@ventanamicro.com \
--cc=devicetree@vger.kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mips@vger.kernel.org \
--cc=linux-riscv@lists.infradead.org \
--cc=loongarch@lists.linux.dev \
--cc=mark.rutland@arm.com \
--cc=maz@kernel.org \
--cc=palmer@dabbelt.com \
--cc=paul.walmsley@sifive.com \
--cc=robh@kernel.org \
--cc=saravanak@google.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