[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20180917150117.GG7239@e107981-ln.cambridge.arm.com>
Date: Mon, 17 Sep 2018 16:01:17 +0100
From: Lorenzo Pieralisi <lorenzo.pieralisi@....com>
To: Ray Jui <ray.jui@...adcom.com>
Cc: Bjorn Helgaas <bhelgaas@...gle.com>,
Bjorn Helgaas <helgaas@...nel.org>,
linux-kernel@...r.kernel.org,
bcm-kernel-feedback-list@...adcom.com, linux-pci@...r.kernel.org,
Jitendra Bhivare <jitendra.bhivare@...adcom.com>
Subject: Re: [PATCH] PCI: iproc: Remove PAXC slot check to allow VF support
On Tue, Aug 28, 2018 at 10:22:58AM -0700, Ray Jui wrote:
> From: Jitendra Bhivare <jitendra.bhivare@...adcom.com>
>
> Fix previous incorrect logic that limits PAXC slot number to zero only.
> In order for SRIOV/VF to work, we need to allow the slot number to be
> greater than zero.
>
> Fixes: 46560388c476c ("PCI: iproc: Allow multiple devices except on PAXC")
> Signed-off-by: Jitendra Bhivare <jitendra.bhivare@...adcom.com>
> Signed-off-by: Ray Jui <ray.jui@...adcom.com>
> Reviewed-by: Andy Gospodarek <gospo@...adcom.com>
> ---
> drivers/pci/controller/pcie-iproc.c | 8 --------
> 1 file changed, 8 deletions(-)
Applied to pci/iproc for v4.20, thanks.
Lorenzo
> diff --git a/drivers/pci/controller/pcie-iproc.c b/drivers/pci/controller/pcie-iproc.c
> index 3160e9342a2f..c20fd6bd68fd 100644
> --- a/drivers/pci/controller/pcie-iproc.c
> +++ b/drivers/pci/controller/pcie-iproc.c
> @@ -630,14 +630,6 @@ static void __iomem *iproc_pcie_map_cfg_bus(struct iproc_pcie *pcie,
> return (pcie->base + offset);
> }
>
> - /*
> - * PAXC is connected to an internally emulated EP within the SoC. It
> - * allows only one device.
> - */
> - if (pcie->ep_is_internal)
> - if (slot > 0)
> - return NULL;
> -
> return iproc_pcie_map_ep_cfg_reg(pcie, busno, slot, fn, where);
> }
>
> --
> 2.17.1
>
Powered by blists - more mailing lists