From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759067AbbIVSd0 (ORCPT ); Tue, 22 Sep 2015 14:33:26 -0400 Received: from foss.arm.com ([217.140.101.70]:59687 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758998AbbIVSdV (ORCPT ); Tue, 22 Sep 2015 14:33:21 -0400 Date: Tue, 22 Sep 2015 19:33:20 +0100 From: Marc Zyngier To: Ley Foon Tan Cc: Bjorn Helgaas , Russell King , Arnd Bergmann , Dinh Nguyen , , , , , , , Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , "Kumar Gala" , Lorenzo Pieralisi Subject: Re: [PATCH v7 3/6] pci:host: Add Altera PCIe host controller driver Message-ID: <20150922193320.37997c15@arm.com> In-Reply-To: <1442801587-3812-4-git-send-email-lftan@altera.com> References: <1442801587-3812-1-git-send-email-lftan@altera.com> <1442801587-3812-4-git-send-email-lftan@altera.com> Organization: ARM Ltd X-Mailer: Claws Mail 3.11.1 (GTK+ 2.24.25; arm-unknown-linux-gnueabihf) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 21 Sep 2015 10:13:04 +0800 Ley Foon Tan wrote: > This patch adds the Altera PCIe host controller driver. > > Signed-off-by: Ley Foon Tan > --- > 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.