Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1230704 > unrolled thread

Re: [PATCH v7 3/6] pci:host: Add Altera PCIe host controller driver

Started byMarc Zyngier <marc.zyngier@arm.com>
First post2015-09-22 20:40 +0200
Last post2015-09-23 17:20 +0200
Articles 3 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH v7 3/6] pci:host: Add Altera PCIe host controller driver Marc Zyngier <marc.zyngier@arm.com> - 2015-09-22 20:40 +0200
    Re: [PATCH v7 3/6] pci:host: Add Altera PCIe host controller driver Ley Foon Tan <lftan@altera.com> - 2015-09-23 11:40 +0200
      Re: [PATCH v7 3/6] pci:host: Add Altera PCIe host controller driver Marc Zyngier <marc.zyngier@arm.com> - 2015-09-23 17:20 +0200

#1230704 — Re: [PATCH v7 3/6] pci:host: Add Altera PCIe host controller driver

FromMarc Zyngier <marc.zyngier@arm.com>
Date2015-09-22 20:40 +0200
SubjectRe: [PATCH v7 3/6] pci:host: Add Altera PCIe host controller driver
Message-ID<qbADU-561-25@gated-at.bofh.it>
On Mon, 21 Sep 2015 10:13:04 +0800
Ley Foon Tan <lftan@altera.com> wrote:

> This patch adds the Altera PCIe host controller driver.
> 
> Signed-off-by: Ley Foon Tan <lftan@altera.com>
> ---
>  drivers/pci/host/Kconfig       |   8 +
>  drivers/pci/host/Makefile      |   1 +
>  drivers/pci/host/pcie-altera.c | 591 +++++++++++++++++++++++++++++++++++++++++
>  3 files changed, 600 insertions(+)
>  create mode 100644 drivers/pci/host/pcie-altera.c
> 
> diff --git a/drivers/pci/host/Kconfig b/drivers/pci/host/Kconfig
> index d5e58ba..df9ed4f 100644
> --- a/drivers/pci/host/Kconfig
> +++ b/drivers/pci/host/Kconfig
> @@ -145,4 +145,12 @@ config PCIE_IPROC_BCMA
>  	  Say Y here if you want to use the Broadcom iProc PCIe controller
>  	  through the BCMA bus interface
>  
> +config PCIE_ALTERA
> +	tristate "Altera PCIe controller"
> +	depends on ARCH_SOCFPGA || NIOS2
> +	select PCI_DOMAINS
> +	help
> +	  Say Y here if you want to enable PCIe controller support for Altera
> +	  SoCFPGA family of SoCs.
> +

Is there anything in this driver that is actually specific to any of
these two platforms/architectures? I'd don't think we should restrict
if we can avoid it (hint: the companion MSI driver is not restricted to
any architecture).

Thanks,

	M.
-- 
Jazz is not dead. It just smells funny.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [next] | [standalone]


#1231280

FromLey Foon Tan <lftan@altera.com>
Date2015-09-23 11:40 +0200
Message-ID<qbOGR-bd-3@gated-at.bofh.it>
In reply to#1230704
On Wed, Sep 23, 2015 at 2:33 AM, Marc Zyngier <marc.zyngier@arm.com> wrote:
> On Mon, 21 Sep 2015 10:13:04 +0800
> Ley Foon Tan <lftan@altera.com> wrote:
>
>> This patch adds the Altera PCIe host controller driver.
>>
>> Signed-off-by: Ley Foon Tan <lftan@altera.com>
>> ---
>>  drivers/pci/host/Kconfig       |   8 +
>>  drivers/pci/host/Makefile      |   1 +
>>  drivers/pci/host/pcie-altera.c | 591 +++++++++++++++++++++++++++++++++++++++++
>>  3 files changed, 600 insertions(+)
>>  create mode 100644 drivers/pci/host/pcie-altera.c
>>
>> diff --git a/drivers/pci/host/Kconfig b/drivers/pci/host/Kconfig
>> index d5e58ba..df9ed4f 100644
>> --- a/drivers/pci/host/Kconfig
>> +++ b/drivers/pci/host/Kconfig
>> @@ -145,4 +145,12 @@ config PCIE_IPROC_BCMA
>>         Say Y here if you want to use the Broadcom iProc PCIe controller
>>         through the BCMA bus interface
>>
>> +config PCIE_ALTERA
>> +     tristate "Altera PCIe controller"
>> +     depends on ARCH_SOCFPGA || NIOS2
>> +     select PCI_DOMAINS
>> +     help
>> +       Say Y here if you want to enable PCIe controller support for Altera
>> +       SoCFPGA family of SoCs.
>> +
>
> Is there anything in this driver that is actually specific to any of
> these two platforms/architectures? I'd don't think we should restrict
> if we can avoid it (hint: the companion MSI driver is not restricted to
> any architecture).
No specific dependency on these 2 architectures. Then I will remove this.

Thanks.

Regards
Ley Foon
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [next] | [standalone]


#1231502

FromMarc Zyngier <marc.zyngier@arm.com>
Date2015-09-23 17:20 +0200
Message-ID<qbTZU-7VV-9@gated-at.bofh.it>
In reply to#1231280
On Wed, 23 Sep 2015 17:33:09 +0800
Ley Foon Tan <lftan@altera.com> wrote:

> On Wed, Sep 23, 2015 at 2:33 AM, Marc Zyngier <marc.zyngier@arm.com> wrote:
> > On Mon, 21 Sep 2015 10:13:04 +0800
> > Ley Foon Tan <lftan@altera.com> wrote:
> >
> >> This patch adds the Altera PCIe host controller driver.
> >>
> >> Signed-off-by: Ley Foon Tan <lftan@altera.com>
> >> ---
> >>  drivers/pci/host/Kconfig       |   8 +
> >>  drivers/pci/host/Makefile      |   1 +
> >>  drivers/pci/host/pcie-altera.c | 591 +++++++++++++++++++++++++++++++++++++++++
> >>  3 files changed, 600 insertions(+)
> >>  create mode 100644 drivers/pci/host/pcie-altera.c
> >>
> >> diff --git a/drivers/pci/host/Kconfig b/drivers/pci/host/Kconfig
> >> index d5e58ba..df9ed4f 100644
> >> --- a/drivers/pci/host/Kconfig
> >> +++ b/drivers/pci/host/Kconfig
> >> @@ -145,4 +145,12 @@ config PCIE_IPROC_BCMA
> >>         Say Y here if you want to use the Broadcom iProc PCIe controller
> >>         through the BCMA bus interface
> >>
> >> +config PCIE_ALTERA
> >> +     tristate "Altera PCIe controller"
> >> +     depends on ARCH_SOCFPGA || NIOS2
> >> +     select PCI_DOMAINS
> >> +     help
> >> +       Say Y here if you want to enable PCIe controller support for Altera
> >> +       SoCFPGA family of SoCs.
> >> +
> >
> > Is there anything in this driver that is actually specific to any of
> > these two platforms/architectures? I'd don't think we should restrict
> > if we can avoid it (hint: the companion MSI driver is not restricted to
> > any architecture).
> No specific dependency on these 2 architectures. Then I will remove this.

OK. If you fix this, you can put my

Reviewed-by: Marc Zyngier <marc.zyngier@arm.com>

on this patch.

Thanks,

	M.
-- 
Jazz is not dead. It just smells funny.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web