From: thomas.petazzoni@free-electrons.com (Thomas Petazzoni)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v4 4/6] irqchip: irq-mvebu-icu: new driver for Marvell ICU
Date: Wed, 21 Jun 2017 15:30:42 +0200 [thread overview]
Message-ID: <20170621153042.05237000@windsurf.home> (raw)
In-Reply-To: <8c085bb8-9bfa-90f7-1dd1-f4f5eb852402@arm.com>
Hello,
On Wed, 21 Jun 2017 08:56:24 +0100, Marc Zyngier wrote:
> > +static void mvebu_icu_write_msg(struct msi_desc *desc, struct msi_msg *msg)
> > +{
> > + struct irq_data *d = irq_get_irq_data(desc->irq);
> > + struct mvebu_icu_irq_data *icu_irqd = d->chip_data;
> > + struct mvebu_icu *icu = icu_irqd->icu;
> > + unsigned int icu_int;
> > +
> > + if (msg->address_lo) {
>
> As mention in the previous thread, this needs to check address_hi as well.
Fixed in v5.
> > + gicp_dn = of_parse_phandle(node, "msi-parent", 0);
> > + if (!gicp_dn) {
> > + dev_err(&pdev->dev, "Missing marvell,gicp property.\n");
>
> The property name doesn't match here. But overall, there is little point
> in reparsing the msi-parent, since that's what of_msi_get_domain does.
> Instead, consider using:
>
> gicp_dn = irq_domain_get_of_node(pdev->dev.msi_domain);
>
> which will do the right thing.
Fixed in v5.
> With the two minor changes above, and for patch #3 as well:
>
> Reviewed-by: Marc Zyngier <marc.zyngier@arm.com>
Thanks! Tags added in v5.
> I can either perform the changes when applying the patches, or let you
> do it so that you can test it first (and solve the issue with the DT
> include fine with Gregory).
I've sent a v5 that fixes the different issues you pointed out, and
also fixes the DT include problem. Tested on HW, it still works as
expected.
Thanks again for the review!
Best regards,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
next prev parent reply other threads:[~2017-06-21 13:30 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-20 14:07 [PATCH v4 0/6] Add support for the ICU unit in Marvell Armada 7K/8K Thomas Petazzoni
2017-06-20 14:07 ` [PATCH v4 1/6] dt-bindings: interrupt-controller: add DT binding for the Marvell GICP Thomas Petazzoni
2017-06-20 14:07 ` [PATCH v4 2/6] dt-bindings: interrupt-controller: add DT binding for the Marvell ICU Thomas Petazzoni
2017-06-20 14:07 ` [PATCH v4 3/6] irqchip: irq-mvebu-gicp: new driver for Marvell GICP Thomas Petazzoni
2017-06-20 14:07 ` [PATCH v4 4/6] irqchip: irq-mvebu-icu: new driver for Marvell ICU Thomas Petazzoni
2017-06-21 7:56 ` Marc Zyngier
2017-06-21 13:30 ` Thomas Petazzoni [this message]
2017-06-20 14:07 ` [PATCH v4 5/6] arm64: marvell: enable ICU and GICP drivers Thomas Petazzoni
2017-06-21 7:57 ` Marc Zyngier
2017-06-20 14:07 ` [PATCH v4 6/6] arm64: dts: marvell: enable GICP and ICU on Armada 7K/8K Thomas Petazzoni
2017-06-20 14:56 ` Gregory CLEMENT
2017-06-20 15:36 ` Thomas Petazzoni
2017-06-20 15:42 ` Gregory CLEMENT
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=20170621153042.05237000@windsurf.home \
--to=thomas.petazzoni@free-electrons.com \
--cc=linux-arm-kernel@lists.infradead.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).