All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ley Foon Tan <lftan@altera.com>
To: Bjorn Helgaas <bhelgaas@google.com>,
	Russell King <linux@arm.linux.org.uk>,
	Arnd Bergmann <arnd@arndb.de>,
	Dinh Nguyen <dinguyen@opensource.altera.com>
Cc: <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 v2 0/5] Altera PCIe host controller driver with MSI support
Date: Fri, 31 Jul 2015 18:15:10 +0800	[thread overview]
Message-ID: <1438337715-22594-1-git-send-email-lftan@altera.com> (raw)

This is the 2nd version of patch set to add support for Altera PCIe host
controller with MSI feature on Altera FPGA device families. This patchset
have resolved all comments in v1. Thanks everyone for reviewing.

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

v1->v2 changes:
- arm: socfpga: remove ununsed ARCH_SUPPORTS_MSI and PCI from Kconfig
- pci: host: remove depends on OF from Kconfig
- pci: host: remove depends PCIE_ALTERA from Kconfig
- pci: host: change pcie-altera to tristate in Kconfig
- pcie-altera: remove unnecessary newlines and .owner
- pcie-altera: remove altera_pcie_map_irq
- pcie-altera: remove dependency on hw_pci and use pci_scan_root_bus
- pcie-altera-msi: change to use phys_addr_t
- pcie-altera-msi: change to use irq_set_chained_handler
- pcie-altera-msi: add inner_domain
- pcie-altera-msi: add add MSI_FLAG_PCI_MSIX flag
- pcie-altera-msi: return -EINVAL for altera_msi_set_affinity
- pcie-altera-msi: return PTR_ERR() instead of -EADDRNOTAVAIL
- change to use write_relaxed and read_relaxed

History:
-------
[v1]: https://lkml.org/lkml/2015/7/28/395

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                 | 324 +++++++++++++
 drivers/pci/host/pcie-altera.c                     | 526 +++++++++++++++++++++
 8 files changed, 960 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


WARNING: multiple messages have this Message-ID (diff)
From: Ley Foon Tan <lftan@altera.com>
To: Bjorn Helgaas <bhelgaas@google.com>,
	Russell King <linux@arm.linux.org.uk>,
	Arnd Bergmann <arnd@arndb.de>,
	Dinh Nguyen <dinguyen@opensource.altera.com>
Cc: devicetree@vger.kernel.org, lftan.linux@gmail.com,
	linux-doc@vger.kernel.org, linux-pci@vger.kernel.org,
	linux-kernel@vger.kernel.org, Rob Herring <robh+dt@kernel.org>,
	Ley Foon Tan <lftan@altera.com>,
	linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2 0/5] Altera PCIe host controller driver with MSI support
Date: Fri, 31 Jul 2015 18:15:10 +0800	[thread overview]
Message-ID: <1438337715-22594-1-git-send-email-lftan@altera.com> (raw)

This is the 2nd version of patch set to add support for Altera PCIe host
controller with MSI feature on Altera FPGA device families. This patchset
have resolved all comments in v1. Thanks everyone for reviewing.

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

v1->v2 changes:
- arm: socfpga: remove ununsed ARCH_SUPPORTS_MSI and PCI from Kconfig
- pci: host: remove depends on OF from Kconfig
- pci: host: remove depends PCIE_ALTERA from Kconfig
- pci: host: change pcie-altera to tristate in Kconfig
- pcie-altera: remove unnecessary newlines and .owner
- pcie-altera: remove altera_pcie_map_irq
- pcie-altera: remove dependency on hw_pci and use pci_scan_root_bus
- pcie-altera-msi: change to use phys_addr_t
- pcie-altera-msi: change to use irq_set_chained_handler
- pcie-altera-msi: add inner_domain
- pcie-altera-msi: add add MSI_FLAG_PCI_MSIX flag
- pcie-altera-msi: return -EINVAL for altera_msi_set_affinity
- pcie-altera-msi: return PTR_ERR() instead of -EADDRNOTAVAIL
- change to use write_relaxed and read_relaxed

History:
-------
[v1]: https://lkml.org/lkml/2015/7/28/395

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                 | 324 +++++++++++++
 drivers/pci/host/pcie-altera.c                     | 526 +++++++++++++++++++++
 8 files changed, 960 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

WARNING: multiple messages have this Message-ID (diff)
From: lftan@altera.com (Ley Foon Tan)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2 0/5] Altera PCIe host controller driver with MSI support
Date: Fri, 31 Jul 2015 18:15:10 +0800	[thread overview]
Message-ID: <1438337715-22594-1-git-send-email-lftan@altera.com> (raw)

This is the 2nd version of patch set to add support for Altera PCIe host
controller with MSI feature on Altera FPGA device families. This patchset
have resolved all comments in v1. Thanks everyone for reviewing.

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

v1->v2 changes:
- arm: socfpga: remove ununsed ARCH_SUPPORTS_MSI and PCI from Kconfig
- pci: host: remove depends on OF from Kconfig
- pci: host: remove depends PCIE_ALTERA from Kconfig
- pci: host: change pcie-altera to tristate in Kconfig
- pcie-altera: remove unnecessary newlines and .owner
- pcie-altera: remove altera_pcie_map_irq
- pcie-altera: remove dependency on hw_pci and use pci_scan_root_bus
- pcie-altera-msi: change to use phys_addr_t
- pcie-altera-msi: change to use irq_set_chained_handler
- pcie-altera-msi: add inner_domain
- pcie-altera-msi: add add MSI_FLAG_PCI_MSIX flag
- pcie-altera-msi: return -EINVAL for altera_msi_set_affinity
- pcie-altera-msi: return PTR_ERR() instead of -EADDRNOTAVAIL
- change to use write_relaxed and read_relaxed

History:
-------
[v1]: https://lkml.org/lkml/2015/7/28/395

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                 | 324 +++++++++++++
 drivers/pci/host/pcie-altera.c                     | 526 +++++++++++++++++++++
 8 files changed, 960 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

             reply	other threads:[~2015-07-31 10:47 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-31 10:15 Ley Foon Tan [this message]
2015-07-31 10:15 ` [PATCH v2 0/5] Altera PCIe host controller driver with MSI support Ley Foon Tan
2015-07-31 10:15 ` Ley Foon Tan
2015-07-31 10:15 ` [PATCH v2 1/5] arm: add msi.h to Kbuild Ley Foon Tan
2015-07-31 10:15   ` Ley Foon Tan
2015-07-31 10:15   ` Ley Foon Tan
2015-07-31 10:15 ` [PATCH v2 2/5] pci:host: Add Altera PCIe host controller driver Ley Foon Tan
2015-07-31 10:15   ` Ley Foon Tan
2015-07-31 10:15   ` Ley Foon Tan
2015-07-31 12:34   ` Marc Zyngier
2015-07-31 12:34     ` Marc Zyngier
2015-07-31 12:34     ` Marc Zyngier
2015-08-03 10:34     ` Ley Foon Tan
2015-08-03 10:34       ` Ley Foon Tan
2015-07-31 10:15 ` [PATCH v2 3/5] pci: altera: Add Altera PCIe MSI driver Ley Foon Tan
2015-07-31 10:15   ` Ley Foon Tan
2015-07-31 10:15   ` Ley Foon Tan
2015-07-31 12:12   ` Marc Zyngier
2015-07-31 12:12     ` Marc Zyngier
2015-08-03 10:37     ` Ley Foon Tan
2015-08-03 10:37       ` Ley Foon Tan
2015-08-03 10:53       ` Marc Zyngier
2015-08-03 10:53         ` Marc Zyngier
2015-08-03 10:53         ` Marc Zyngier
2015-08-03 10:53         ` Marc Zyngier
2015-08-03 11:00         ` Ley Foon Tan
2015-08-03 11:00           ` Ley Foon Tan
2015-08-03 11:00           ` Ley Foon Tan
2015-08-03 11:00           ` Ley Foon Tan
2015-07-31 10:15 ` [PATCH v2 4/5] Documentation: dt-bindings: pci: altera pcie device tree binding Ley Foon Tan
2015-07-31 10:15   ` Ley Foon Tan
2015-07-31 10:15   ` Ley Foon Tan
2015-07-31 10:15 ` [PATCH v2 5/5] MAINTAINERS: Add Altera PCIe and MSI drivers maintainer Ley Foon Tan
2015-07-31 10:15   ` Ley Foon Tan
2015-07-31 10:15   ` 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=1438337715-22594-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=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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.