From: Ley Foon Tan <lftan@altera.com>
To: Bjorn Helgaas <bhelgaas@google.com>,
Russell King <linux@arm.linux.org.uk>,
Marc Zyngier <marc.zyngier@arm.com>
Cc: 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-kernel@vger.kernel.org, Ley Foon Tan <lftan@altera.com>,
lftan.linux@gmail.com, Rob Herring <robh+dt@kernel.org>
Subject: [PATCH v3 0/5] Altera PCIe host controller driver with MSI support
Date: Fri, 7 Aug 2015 15:42:57 +0800 [thread overview]
Message-ID: <1438933382-2936-1-git-send-email-lftan@altera.com> (raw)
This is the 3rd version of patch set to add support for Altera PCIe host
controller with MSI feature on Altera FPGA device families. This patchset
mainly resolve comments from Marc Zyngier in v2.
It is based on patch series from Marc Zyngier "Per-device MSI domain &
platform MSI" [1] to get rid of struct msi_controller.
[1]: https://lkml.org/lkml/2015/7/23/172
v2->v3 changes:
- pci: host: move depends on PCI_MSI_IRQ_DOMAIN to PCIE_ALTERA_MSI in Kconfig
- pcie-altera: change to use find_first_bit in isr
- pcie-altera: change to use chained irq handler
- pcie-altera: rename hwirq to irq
- pcie-altera: rename irq to virq
- pcie-altera-msi: update isr handling
- pcie-altera-msi: change u64 to phys_addr_t
- pcie-altera-msi: fix find_first_zero_bit error handle
- pcie-altera-msi: change altera_msi_probe to static function
- pcie-altera-msi: remove .owner
- pcie-altera-msi: remove MODULE_DEVICE_TABLE
- pcie-altera-msi: move INTMASK to _alloc()
- change from clear_bit to __clear_bit
- change to use irq_set_chained_handler_and_data
- fix coding style
History:
-------
[v1]: https://lkml.org/lkml/2015/7/28/395
[v2]: https://lkml.org/lkml/2015/7/31/267
Ley Foon Tan (5):
arm: add msi.h to Kbuild
pci:host: Add Altera PCIe host controller driver
pci: altera: Add Altera PCIe MSI driver
Documentation: dt-bindings: pci: altera pcie device tree binding
MAINTAINERS: Add Altera PCIe and MSI drivers maintainer
.../devicetree/bindings/pci/altera-pcie-msi.txt | 27 ++
.../devicetree/bindings/pci/altera-pcie.txt | 49 ++
MAINTAINERS | 16 +
arch/arm/include/asm/Kbuild | 1 +
drivers/pci/host/Kconfig | 15 +
drivers/pci/host/Makefile | 2 +
drivers/pci/host/pcie-altera-msi.c | 309 ++++++++++++
drivers/pci/host/pcie-altera.c | 532 +++++++++++++++++++++
8 files changed, 951 insertions(+)
create mode 100644 Documentation/devicetree/bindings/pci/altera-pcie-msi.txt
create mode 100644 Documentation/devicetree/bindings/pci/altera-pcie.txt
create mode 100644 drivers/pci/host/pcie-altera-msi.c
create mode 100644 drivers/pci/host/pcie-altera.c
--
1.8.2.1
next reply other threads:[~2015-08-07 7:42 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-07 7:42 Ley Foon Tan [this message]
2015-08-07 7:42 ` [PATCH v3 1/5] arm: add msi.h to Kbuild Ley Foon Tan
2015-08-07 7:42 ` [PATCH v3 2/5] pci:host: Add Altera PCIe host controller driver Ley Foon Tan
2015-08-07 14:34 ` Marc Zyngier
2015-08-10 11:02 ` Ley Foon Tan
2015-08-07 7:43 ` [PATCH v3 3/5] pci: altera: Add Altera PCIe MSI driver Ley Foon Tan
2015-08-07 14:44 ` Marc Zyngier
2015-08-10 11:00 ` Ley Foon Tan
2015-08-07 7:43 ` [PATCH v3 4/5] Documentation: dt-bindings: pci: altera pcie device tree binding Ley Foon Tan
2015-08-10 11:03 ` Ley Foon Tan
2015-08-07 7:43 ` [PATCH v3 5/5] MAINTAINERS: Add Altera PCIe and MSI drivers maintainer Ley Foon Tan
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=1438933382-2936-1-git-send-email-lftan@altera.com \
--to=lftan@altera.com \
--cc=arnd@arndb.de \
--cc=bhelgaas@google.com \
--cc=devicetree@vger.kernel.org \
--cc=dinguyen@opensource.altera.com \
--cc=lftan.linux@gmail.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pci@vger.kernel.org \
--cc=linux@arm.linux.org.uk \
--cc=marc.zyngier@arm.com \
--cc=robh+dt@kernel.org \
/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).