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


Groups > linux.kernel > #1231280

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

Path csiph.com!eternal-september.org!feeder.eternal-september.org!aioe.org!bofh.it!news.nic.it!robomod
From Ley Foon Tan <lftan@altera.com>
Newsgroups linux.kernel
Subject Re: [PATCH v7 3/6] pci:host: Add Altera PCIe host controller driver
Date Wed, 23 Sep 2015 11:40:01 +0200
Message-ID <qbOGR-bd-3@gated-at.bofh.it> (permalink)
References <qbAug-4UA-57@gated-at.bofh.it> <qbADU-561-27@gated-at.bofh.it> <qbADU-561-25@gated-at.bofh.it>
X-Original-To Marc Zyngier <marc.zyngier@arm.com>
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=/xwT6J2KJlLj515voFtxJA+uqwVfzNmUAoSBTBQ4+M8=; b=msSazMbaSQb6lB03EGufQUx9Rwl/vXIoJMoni2E1cO4jsOyivAv334Oc/JioNXoFJ1 jsH4yPbtdgzqU1wOmn/IdRg5klUzDioRcwNBv6cipAG+71uFMVAUxA7kwTLDehOC5yXs +uYVH3WKB7BGIIMoVYCxZLQQNA2mu1WhBX3tLZkfCp/hylnJra29TZLladvPsh9Lp21Q g378zxBXQBXNgU2SBwKdGuZ4zFoEAc7a21GH5OAObPFF180TmRsIL41zoJ28rndVbrrp Rt0CFRiwYbfu5hXAJHcvc6hTkTYlZA5oyUBK/eXuidSxQ51e6mqZ4KLS9e2tBVaezY13 ppgQ==
MIME-Version 1.0
X-Received by 10.152.43.164 with SMTP id x4mr11248741lal.57.1443000789256; Wed, 23 Sep 2015 02:33:09 -0700 (PDT)
X-Google-Sender-Auth Ddyb8Rbw-EoqLnQFK0GPO9MBTkI
Content-Type text/plain; charset=UTF-8
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 46
Organization linux.* mail to news gateway
X-Original-Cc Bjorn Helgaas <bhelgaas@google.com>, Russell King <linux@arm.linux.org.uk>, Arnd Bergmann <arnd@arndb.de>, Dinh Nguyen <dinguyen@opensource.altera.com>, linux-pci@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, "linux-doc@vger.kernel.org" <linux-doc@vger.kernel.org>, "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>, Rob Herring <robh+dt@kernel.org>, Pawel Moll <pawel.moll@arm.com>, Mark Rutland <mark.rutland@arm.com>, Ian Campbell <ijc+devicetree@hellion.org.uk>, Kumar Gala <galak@codeaurora.org>, Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
X-Original-Date Wed, 23 Sep 2015 17:33:09 +0800
X-Original-Message-ID <CAFiDJ5-JTmU39wZ7A+h3X37zj8M09+6mmUxK=J2DOaD9VzPC5w@mail.gmail.com>
X-Original-References <1442801587-3812-1-git-send-email-lftan@altera.com> <1442801587-3812-4-git-send-email-lftan@altera.com> <20150922193320.37997c15@arm.com>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1231280

Show key headers only | View raw


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/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

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

csiph-web