From: Shawn Guo <shawn.guo@linaro.org>
To: Gustavo Pimentel <gustavo.pimentel@synopsys.com>
Cc: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>,
"marc.zyngier@arm.com" <marc.zyngier@arm.com>,
"Joao.Pinto@synopsys.com" <Joao.Pinto@synopsys.com>,
"bhelgaas@google.com" <bhelgaas@google.com>,
"jingoohan1@gmail.com" <jingoohan1@gmail.com>,
"kishon@ti.com" <kishon@ti.com>,
"linux-pci@vger.kernel.org" <linux-pci@vger.kernel.org>,
"m-karicheri2@ti.com" <m-karicheri2@ti.com>,
"thomas.petazzoni@free-electrons.com"
<thomas.petazzoni@free-electrons.com>,
"minghuan.Lian@freescale.com" <minghuan.Lian@freescale.com>,
"mingkai.hu@freescale.com" <mingkai.hu@freescale.com>,
"tie-fei.zang@freescale.com" <tie-fei.zang@freescale.com>,
"hongxing.zhu@nxp.com" <hongxing.zhu@nxp.com>,
"l.stach@pengutronix.de" <l.stach@pengutronix.de>,
"niklas.cassel@axis.com" <niklas.cassel@axis.com>,
"jesper.nilsson@axis.com" <jesper.nilsson@axis.com>,
"wangzhou1@hisilicon.com" <wangzhou1@hisilicon.com>,
"svarbanov@mm-sol.com" <svarbanov@mm-sol.com>,
"nsekhar@ti.com" <nsekhar@ti.com>, Vignesh R <vigneshr@ti.com>,
Pratyush Anand <pratyush.anand@gmail.com>
Subject: Re: [PATCH v9 0/3] PCI: dwc: Enables MSI-X driver support
Date: Tue, 6 Mar 2018 16:23:19 +0800 [thread overview]
Message-ID: <20180306082316.GH28619@dragon> (raw)
In-Reply-To: <23de1d16-ee47-9e53-c1c4-4437f37cc358@synopsys.com>
On Mon, Mar 05, 2018 at 06:22:53PM +0000, Gustavo Pimentel wrote:
> On 02/03/2018 18:03, Lorenzo Pieralisi wrote:
> > [+cc Shawn, Vignesh, Pratyush]
...
> > Is it correct to leave pcie-histb.c as-is ? I do not think it is.
>
> At the time the first series of this patch came out there wasn't such driver and
> I just start working on this topic on December... Nevertheless, you are right it
> should follow the same procedure that others.
>
> diff --git a/drivers/pci/dwc/pcie-histb.c b/drivers/pci/dwc/pcie-histb.c
> index 70b5c0b..5d47b90 100644
> --- a/drivers/pci/dwc/pcie-histb.c
> +++ b/drivers/pci/dwc/pcie-histb.c
> @@ -207,13 +207,6 @@ static struct dw_pcie_host_ops histb_pcie_host_ops = {
> .host_init = histb_pcie_host_init,
> };
>
> -static irqreturn_t histb_pcie_msi_irq_handler(int irq, void *arg)
> -{
> - struct pcie_port *pp = arg;
> -
> - return dw_handle_msi_irq(pp);
> -}
> -
> static void histb_pcie_host_disable(struct histb_pcie *hipcie)
> {
> reset_control_assert(hipcie->soft_reset);
> @@ -393,14 +386,6 @@ static int histb_pcie_probe(struct platform_device *pdev)
> dev_err(dev, "Failed to get MSI IRQ\n");
> return pp->msi_irq;
> }
> -
> - ret = devm_request_irq(dev, pp->msi_irq,
> - histb_pcie_msi_irq_handler,
> - IRQF_SHARED, "histb-pcie-msi", pp);
> - if (ret) {
> - dev_err(dev, "cannot request MSI IRQ\n");
> - return ret;
> - }
> }
>
> hipcie->phy = devm_phy_get(dev, "phy");
I manually applied the changes on top of Lorenzo's pci/dwc-msi branch,
and pcie-histb driver still works fine.
Tested-by: Shawn Guo <shawn.guo@linaro.org>
prev parent reply other threads:[~2018-03-06 8:23 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-02-28 16:10 [PATCH v9 0/3] PCI: dwc: Enables MSI-X driver support Gustavo Pimentel
2018-02-28 16:10 ` [PATCH v9 1/3] PCI: dwc: Add new IRQ API Gustavo Pimentel
2018-03-01 11:33 ` Lorenzo Pieralisi
2018-03-01 12:50 ` Gustavo Pimentel
2018-02-28 16:10 ` [PATCH v9 2/3] PCI: dwc: Remove old " Gustavo Pimentel
2018-02-28 16:10 ` [PATCH v9 3/3] PCI: dwc: Expand maximum number of IRQs from 32 to 256 Gustavo Pimentel
2018-02-28 18:12 ` [PATCH v9 0/3] PCI: dwc: Enables MSI-X driver support Marc Zyngier
2018-03-01 11:35 ` Lorenzo Pieralisi
2018-03-02 18:03 ` Lorenzo Pieralisi
2018-03-05 18:22 ` Gustavo Pimentel
2018-03-06 8:23 ` Shawn Guo [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=20180306082316.GH28619@dragon \
--to=shawn.guo@linaro.org \
--cc=Joao.Pinto@synopsys.com \
--cc=bhelgaas@google.com \
--cc=gustavo.pimentel@synopsys.com \
--cc=hongxing.zhu@nxp.com \
--cc=jesper.nilsson@axis.com \
--cc=jingoohan1@gmail.com \
--cc=kishon@ti.com \
--cc=l.stach@pengutronix.de \
--cc=linux-pci@vger.kernel.org \
--cc=lorenzo.pieralisi@arm.com \
--cc=m-karicheri2@ti.com \
--cc=marc.zyngier@arm.com \
--cc=minghuan.Lian@freescale.com \
--cc=mingkai.hu@freescale.com \
--cc=niklas.cassel@axis.com \
--cc=nsekhar@ti.com \
--cc=pratyush.anand@gmail.com \
--cc=svarbanov@mm-sol.com \
--cc=thomas.petazzoni@free-electrons.com \
--cc=tie-fei.zang@freescale.com \
--cc=vigneshr@ti.com \
--cc=wangzhou1@hisilicon.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).