All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bjorn Helgaas <helgaas@kernel.org>
To: Ley Foon Tan <lftan@altera.com>
Cc: Bjorn Helgaas <bhelgaas@google.com>,
	Russell King <linux@arm.linux.org.uk>,
	Marc Zyngier <marc.zyngier@arm.com>,
	Arnd Bergmann <arnd@arndb.de>,
	Dinh Nguyen <dinguyen@opensource.altera.com>,
	"linux-pci@vger.kernel.org" <linux-pci@vger.kernel.org>,
	"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
	linux-arm <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>
Subject: Re: [PATCH v12 0/6] Altera PCIe host controller driver with MSI support
Date: Thu, 29 Oct 2015 18:22:38 -0500	[thread overview]
Message-ID: <20151029232238.GB11994@localhost> (raw)
In-Reply-To: <CAFiDJ59wOUj-Mr3cyqQEz+P=8AkmRoy7XzUCmM33_e03Y2G_ZQ@mail.gmail.com>

On Wed, Oct 28, 2015 at 02:25:11PM +0800, Ley Foon Tan wrote:
> On Wed, Oct 28, 2015 at 9:02 AM, Bjorn Helgaas <bhelgaas@google.com> wrote:
> > On Tue, Oct 27, 2015 at 7:56 PM, Ley Foon Tan <lftan@altera.com> wrote:
> >> On Tue, Oct 27, 2015 at 10:26 PM, Bjorn Helgaas <helgaas@kernel.org> wrote:
> >>> Hi Ley,
> >>>
> >>> On Fri, Oct 23, 2015 at 06:27:09PM +0800, Ley Foon Tan wrote:
> >>>> This is the 12th version of patch set to add support for Altera PCIe host
> >>>> controller with MSI feature on Altera FPGA device families. This patchset
> >>>> mainly resovle the comments from Bjorn.
> >>>>
> >>>>
> >>>> This patchset is based on v4.3-rc6.
> >>>>
> >>>> v11->v12 changes:
> >>>> - pcie-altera: use DECLARE_PCI_FIXUP_EARLY for pcie retrain fixup
> >>>> - pcie-altera: move pcie_bus_configure_settings before pci_bus_add_devices
> >>>> - pcie-altera: add %d for irq bit in dev_err()
> >>>> - pcie-altera: prevent enumeration of root complex resources in config accessors
> >>>> - Documentation: add Acked-by from Rob Herring
> >>>>
> >>>> History:
> >>>> -------
> >>>> [v1]: https://lkml.org/lkml/2015/7/28/395
> >>>> [v2]: https://lkml.org/lkml/2015/7/31/267
> >>>> [v3]: http://www.kernelhub.org/?msg=811940&p=2
> >>>> [v4]: https://lkml.org/lkml/2015/8/17/141
> >>>> [v5]: https://lkml.org/lkml/2015/8/25/238
> >>>> [v6]: https://lkml.org/lkml/2015/9/1/177
> >>>> [v7]: https://lkml.org/lkml/2015/9/20/193
> >>>> [v8]: http://www.kernelhub.org/?msg=853553&p=2
> >>>> [v9]: https://lkml.org/lkml/2015/10/13/998
> >>>> [v10]: https://lkml.org/lkml/2015/10/19/139
> >>>> [v11]: https://lkml.org/lkml/2015/10/22/206
> >>>>
> >>>>
> >>>> Ley Foon Tan (6):
> >>>>   arm: add msi.h to Kbuild
> >>>>   pci: add Altera PCI vendor ID
> >>>>   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    |  28 +
> >>>>  .../devicetree/bindings/pci/altera-pcie.txt        |  49 ++
> >>>>  MAINTAINERS                                        |  16 +
> >>>>  arch/arm/include/asm/Kbuild                        |   1 +
> >>>>  drivers/pci/host/Kconfig                           |  16 +
> >>>>  drivers/pci/host/Makefile                          |   2 +
> >>>>  drivers/pci/host/pcie-altera-msi.c                 | 314 +++++++++++
> >>>>  drivers/pci/host/pcie-altera.c                     | 580 +++++++++++++++++++++
> >>>>  include/linux/pci_ids.h                            |   2 +
> >>>>  9 files changed, 1008 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
> >>>
> >>> I applied these to pci/host-altera for v4.4, thanks!
> >>>
> >>> I squashed these into three patches:
> >>>
> >>>   - add msi.h to Kbuild
> >>>   - add Altera host driver (including DT binding and MAINTAINERS update)
> >>>   - add Altera MSI driver (including DT binding and MAINTAINERS update)
> >>>
> >>> Since the convention is to add PCI ID #defines only when they are used in
> >>> multiple places, I replaced PCI_VENDOR_ID_ALTERA with 0x1172 in the single
> >>> place it is used.
> >> Hi Bjorn
> >>
> >> Thanks for applied these.
> >>
> >> By the way, I can't see pci/host-altera branch in your pci.git tree
> >> yet. It takes some time to appear there?
> >
> > Sorry, I forgot to push it.  It should be there now!
> >
> Yes, saw it now. It will merge to 'next' branch eventually?

Yep, I just merged it to 'next' and pushed it.

Bjorn

WARNING: multiple messages have this Message-ID (diff)
From: helgaas@kernel.org (Bjorn Helgaas)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v12 0/6] Altera PCIe host controller driver with MSI support
Date: Thu, 29 Oct 2015 18:22:38 -0500	[thread overview]
Message-ID: <20151029232238.GB11994@localhost> (raw)
In-Reply-To: <CAFiDJ59wOUj-Mr3cyqQEz+P=8AkmRoy7XzUCmM33_e03Y2G_ZQ@mail.gmail.com>

On Wed, Oct 28, 2015 at 02:25:11PM +0800, Ley Foon Tan wrote:
> On Wed, Oct 28, 2015 at 9:02 AM, Bjorn Helgaas <bhelgaas@google.com> wrote:
> > On Tue, Oct 27, 2015 at 7:56 PM, Ley Foon Tan <lftan@altera.com> wrote:
> >> On Tue, Oct 27, 2015 at 10:26 PM, Bjorn Helgaas <helgaas@kernel.org> wrote:
> >>> Hi Ley,
> >>>
> >>> On Fri, Oct 23, 2015 at 06:27:09PM +0800, Ley Foon Tan wrote:
> >>>> This is the 12th version of patch set to add support for Altera PCIe host
> >>>> controller with MSI feature on Altera FPGA device families. This patchset
> >>>> mainly resovle the comments from Bjorn.
> >>>>
> >>>>
> >>>> This patchset is based on v4.3-rc6.
> >>>>
> >>>> v11->v12 changes:
> >>>> - pcie-altera: use DECLARE_PCI_FIXUP_EARLY for pcie retrain fixup
> >>>> - pcie-altera: move pcie_bus_configure_settings before pci_bus_add_devices
> >>>> - pcie-altera: add %d for irq bit in dev_err()
> >>>> - pcie-altera: prevent enumeration of root complex resources in config accessors
> >>>> - Documentation: add Acked-by from Rob Herring
> >>>>
> >>>> History:
> >>>> -------
> >>>> [v1]: https://lkml.org/lkml/2015/7/28/395
> >>>> [v2]: https://lkml.org/lkml/2015/7/31/267
> >>>> [v3]: http://www.kernelhub.org/?msg=811940&p=2
> >>>> [v4]: https://lkml.org/lkml/2015/8/17/141
> >>>> [v5]: https://lkml.org/lkml/2015/8/25/238
> >>>> [v6]: https://lkml.org/lkml/2015/9/1/177
> >>>> [v7]: https://lkml.org/lkml/2015/9/20/193
> >>>> [v8]: http://www.kernelhub.org/?msg=853553&p=2
> >>>> [v9]: https://lkml.org/lkml/2015/10/13/998
> >>>> [v10]: https://lkml.org/lkml/2015/10/19/139
> >>>> [v11]: https://lkml.org/lkml/2015/10/22/206
> >>>>
> >>>>
> >>>> Ley Foon Tan (6):
> >>>>   arm: add msi.h to Kbuild
> >>>>   pci: add Altera PCI vendor ID
> >>>>   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    |  28 +
> >>>>  .../devicetree/bindings/pci/altera-pcie.txt        |  49 ++
> >>>>  MAINTAINERS                                        |  16 +
> >>>>  arch/arm/include/asm/Kbuild                        |   1 +
> >>>>  drivers/pci/host/Kconfig                           |  16 +
> >>>>  drivers/pci/host/Makefile                          |   2 +
> >>>>  drivers/pci/host/pcie-altera-msi.c                 | 314 +++++++++++
> >>>>  drivers/pci/host/pcie-altera.c                     | 580 +++++++++++++++++++++
> >>>>  include/linux/pci_ids.h                            |   2 +
> >>>>  9 files changed, 1008 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
> >>>
> >>> I applied these to pci/host-altera for v4.4, thanks!
> >>>
> >>> I squashed these into three patches:
> >>>
> >>>   - add msi.h to Kbuild
> >>>   - add Altera host driver (including DT binding and MAINTAINERS update)
> >>>   - add Altera MSI driver (including DT binding and MAINTAINERS update)
> >>>
> >>> Since the convention is to add PCI ID #defines only when they are used in
> >>> multiple places, I replaced PCI_VENDOR_ID_ALTERA with 0x1172 in the single
> >>> place it is used.
> >> Hi Bjorn
> >>
> >> Thanks for applied these.
> >>
> >> By the way, I can't see pci/host-altera branch in your pci.git tree
> >> yet. It takes some time to appear there?
> >
> > Sorry, I forgot to push it.  It should be there now!
> >
> Yes, saw it now. It will merge to 'next' branch eventually?

Yep, I just merged it to 'next' and pushed it.

Bjorn

WARNING: multiple messages have this Message-ID (diff)
From: Bjorn Helgaas <helgaas-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
To: Ley Foon Tan <lftan-EIB2kfCEclfQT0dZR+AlfA@public.gmane.org>
Cc: Bjorn Helgaas <bhelgaas-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org>,
	Russell King <linux-lFZ/pmaqli7XmaaqVzeoHQ@public.gmane.org>,
	Marc Zyngier <marc.zyngier-5wv7dgnIgG8@public.gmane.org>,
	Arnd Bergmann <arnd-r2nGTMty4D4@public.gmane.org>,
	Dinh Nguyen
	<dinguyen-yzvPICuk2ABMcg4IHK0kFoH6Mc4MB0Vx@public.gmane.org>,
	"linux-pci-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
	<linux-pci-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
	"devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
	<devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
	linux-arm
	<linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org>,
	"linux-doc-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
	<linux-doc-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
	"linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
	<linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
	Rob Herring <robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>,
	Pawel Moll <pawel.moll-5wv7dgnIgG8@public.gmane.org>,
	Mark Rutland <mark.rutland-5wv7dgnIgG8@public.gmane.org>,
	Ian Campbell
	<ijc+devicetree-KcIKpvwj1kUDXYZnReoRVg@public.gmane.org>,
	Kumar Gala <galak-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>,
	Lorenzo Pieralisi
	<lorenzo.pieralisi-5wv7dgnIgG8@public.gmane.org>
Subject: Re: [PATCH v12 0/6] Altera PCIe host controller driver with MSI support
Date: Thu, 29 Oct 2015 18:22:38 -0500	[thread overview]
Message-ID: <20151029232238.GB11994@localhost> (raw)
In-Reply-To: <CAFiDJ59wOUj-Mr3cyqQEz+P=8AkmRoy7XzUCmM33_e03Y2G_ZQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>

On Wed, Oct 28, 2015 at 02:25:11PM +0800, Ley Foon Tan wrote:
> On Wed, Oct 28, 2015 at 9:02 AM, Bjorn Helgaas <bhelgaas-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org> wrote:
> > On Tue, Oct 27, 2015 at 7:56 PM, Ley Foon Tan <lftan-EIB2kfCEclfQT0dZR+AlfA@public.gmane.org> wrote:
> >> On Tue, Oct 27, 2015 at 10:26 PM, Bjorn Helgaas <helgaas-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org> wrote:
> >>> Hi Ley,
> >>>
> >>> On Fri, Oct 23, 2015 at 06:27:09PM +0800, Ley Foon Tan wrote:
> >>>> This is the 12th version of patch set to add support for Altera PCIe host
> >>>> controller with MSI feature on Altera FPGA device families. This patchset
> >>>> mainly resovle the comments from Bjorn.
> >>>>
> >>>>
> >>>> This patchset is based on v4.3-rc6.
> >>>>
> >>>> v11->v12 changes:
> >>>> - pcie-altera: use DECLARE_PCI_FIXUP_EARLY for pcie retrain fixup
> >>>> - pcie-altera: move pcie_bus_configure_settings before pci_bus_add_devices
> >>>> - pcie-altera: add %d for irq bit in dev_err()
> >>>> - pcie-altera: prevent enumeration of root complex resources in config accessors
> >>>> - Documentation: add Acked-by from Rob Herring
> >>>>
> >>>> History:
> >>>> -------
> >>>> [v1]: https://lkml.org/lkml/2015/7/28/395
> >>>> [v2]: https://lkml.org/lkml/2015/7/31/267
> >>>> [v3]: http://www.kernelhub.org/?msg=811940&p=2
> >>>> [v4]: https://lkml.org/lkml/2015/8/17/141
> >>>> [v5]: https://lkml.org/lkml/2015/8/25/238
> >>>> [v6]: https://lkml.org/lkml/2015/9/1/177
> >>>> [v7]: https://lkml.org/lkml/2015/9/20/193
> >>>> [v8]: http://www.kernelhub.org/?msg=853553&p=2
> >>>> [v9]: https://lkml.org/lkml/2015/10/13/998
> >>>> [v10]: https://lkml.org/lkml/2015/10/19/139
> >>>> [v11]: https://lkml.org/lkml/2015/10/22/206
> >>>>
> >>>>
> >>>> Ley Foon Tan (6):
> >>>>   arm: add msi.h to Kbuild
> >>>>   pci: add Altera PCI vendor ID
> >>>>   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    |  28 +
> >>>>  .../devicetree/bindings/pci/altera-pcie.txt        |  49 ++
> >>>>  MAINTAINERS                                        |  16 +
> >>>>  arch/arm/include/asm/Kbuild                        |   1 +
> >>>>  drivers/pci/host/Kconfig                           |  16 +
> >>>>  drivers/pci/host/Makefile                          |   2 +
> >>>>  drivers/pci/host/pcie-altera-msi.c                 | 314 +++++++++++
> >>>>  drivers/pci/host/pcie-altera.c                     | 580 +++++++++++++++++++++
> >>>>  include/linux/pci_ids.h                            |   2 +
> >>>>  9 files changed, 1008 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
> >>>
> >>> I applied these to pci/host-altera for v4.4, thanks!
> >>>
> >>> I squashed these into three patches:
> >>>
> >>>   - add msi.h to Kbuild
> >>>   - add Altera host driver (including DT binding and MAINTAINERS update)
> >>>   - add Altera MSI driver (including DT binding and MAINTAINERS update)
> >>>
> >>> Since the convention is to add PCI ID #defines only when they are used in
> >>> multiple places, I replaced PCI_VENDOR_ID_ALTERA with 0x1172 in the single
> >>> place it is used.
> >> Hi Bjorn
> >>
> >> Thanks for applied these.
> >>
> >> By the way, I can't see pci/host-altera branch in your pci.git tree
> >> yet. It takes some time to appear there?
> >
> > Sorry, I forgot to push it.  It should be there now!
> >
> Yes, saw it now. It will merge to 'next' branch eventually?

Yep, I just merged it to 'next' and pushed it.

Bjorn
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  reply	other threads:[~2015-10-29 23:22 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-23 10:27 [PATCH v12 0/6] Altera PCIe host controller driver with MSI support Ley Foon Tan
2015-10-23 10:27 ` Ley Foon Tan
2015-10-23 10:27 ` Ley Foon Tan
2015-10-23 10:27 ` [PATCH v12 1/6] arm: add msi.h to Kbuild Ley Foon Tan
2015-10-23 10:27   ` Ley Foon Tan
2015-10-23 10:27   ` Ley Foon Tan
2015-10-23 10:27 ` [PATCH v12 2/6] pci: add Altera PCI vendor ID Ley Foon Tan
2015-10-23 10:27   ` Ley Foon Tan
2015-10-23 10:27   ` Ley Foon Tan
2015-10-23 10:27 ` [PATCH v12 3/6] pci:host: Add Altera PCIe host controller driver Ley Foon Tan
2015-10-23 10:27   ` Ley Foon Tan
2015-10-23 10:27   ` Ley Foon Tan
2015-10-23 10:27 ` [PATCH v12 4/6] pci: altera: Add Altera PCIe MSI driver Ley Foon Tan
2015-10-23 10:27   ` Ley Foon Tan
2015-10-23 10:27   ` Ley Foon Tan
2015-10-23 10:27 ` [PATCH v12 5/6] Documentation: dt-bindings: pci: altera pcie device tree binding Ley Foon Tan
2015-10-23 10:27   ` Ley Foon Tan
2015-10-23 10:27   ` Ley Foon Tan
2015-10-23 10:27 ` [PATCH v12 6/6] MAINTAINERS: Add Altera PCIe and MSI drivers maintainer Ley Foon Tan
2015-10-23 10:27   ` Ley Foon Tan
2015-10-23 10:27   ` Ley Foon Tan
2015-10-27 14:26 ` [PATCH v12 0/6] Altera PCIe host controller driver with MSI support Bjorn Helgaas
2015-10-27 14:26   ` Bjorn Helgaas
2015-10-28  0:56   ` Ley Foon Tan
2015-10-28  0:56     ` Ley Foon Tan
2015-10-28  1:02     ` Bjorn Helgaas
2015-10-28  1:02       ` Bjorn Helgaas
2015-10-28  1:02       ` Bjorn Helgaas
2015-10-28  6:25       ` Ley Foon Tan
2015-10-28  6:25         ` Ley Foon Tan
2015-10-29 23:22         ` Bjorn Helgaas [this message]
2015-10-29 23:22           ` Bjorn Helgaas
2015-10-29 23:22           ` Bjorn Helgaas
2015-10-30  5:51           ` Ley Foon Tan
2015-10-30  5:51             ` 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=20151029232238.GB11994@localhost \
    --to=helgaas@kernel.org \
    --cc=arnd@arndb.de \
    --cc=bhelgaas@google.com \
    --cc=devicetree@vger.kernel.org \
    --cc=dinguyen@opensource.altera.com \
    --cc=galak@codeaurora.org \
    --cc=ijc+devicetree@hellion.org.uk \
    --cc=lftan@altera.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=lorenzo.pieralisi@arm.com \
    --cc=marc.zyngier@arm.com \
    --cc=mark.rutland@arm.com \
    --cc=pawel.moll@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 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.