All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v6 0/4] pcie-designware: add iATU unroll feature
@ 2016-08-17 19:59 Bjorn Helgaas
  2016-08-17 19:59 ` [PATCH v6 1/4] PCI: designware: Return data directly from dw_pcie_readl_rc() Bjorn Helgaas
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Bjorn Helgaas @ 2016-08-17 19:59 UTC (permalink / raw)
  To: Joao Pinto; +Cc: jszhang, jingoohan1, linux-kernel, linux-pci

Original description from Joao:

  The new DWC PCIe Core version (4.80) implements iATU in a different
  way.  This new mechanism is called iATU Unroll Mode. The Core still
  supports the "old" mechanism calling it Legacy Mode if configured to
  do so, but the standard way will be using Unroll.  This patch adds
  the necessary support for the mechanism and makes some minor
  improvements to the existent one.

I made a few changes from the v5 series Joao posted, so I'm posting
the patches I applied as this v6.

changes v5->v6:
  - Add a patch to change the signature of dw_pcie_readl_rc() from
    this:
      void dw_pcie_readl_rc(struct pcie_port *pp, u32 reg, u32 *val)
    to this:
      u32 dw_pcie_readl_rc(struct pcie_port *pp, u32 reg)
    Note that this also affects Exynos.
  - Move loop checking for iATU enable to a separate patch.
  - Change iATU register definitions to be offsets (not register
    numbers).  This is to match the existing style of the pre-unroll
    definitions.
  - Rename dw_pcie_get_atu_mode() and related things to
    dw_pcie_iatu_unroll_enabled() so they're more descriptive.

---

Bjorn Helgaas (1):
      PCI: designware: Return data directly from dw_pcie_readl_rc()

Joao Pinto (3):
      PCI: designware: Move link wait definitions to .c file
      PCI: designware: Wait for iATU enable
      PCI: designware: Add iATU Unroll feature


 drivers/pci/host/pci-exynos.c      |    9 ++
 drivers/pci/host/pcie-designware.c |  138 ++++++++++++++++++++++++++++++------
 drivers/pci/host/pcie-designware.h |    9 +-
 3 files changed, 123 insertions(+), 33 deletions(-)

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2016-11-16 16:15 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-08-17 19:59 [PATCH v6 0/4] pcie-designware: add iATU unroll feature Bjorn Helgaas
2016-08-17 19:59 ` [PATCH v6 1/4] PCI: designware: Return data directly from dw_pcie_readl_rc() Bjorn Helgaas
2016-08-17 19:59 ` [PATCH v6 2/4] PCI: designware: Move link wait definitions to .c file Bjorn Helgaas
2016-08-17 20:00 ` [PATCH v6 3/4] PCI: designware: Wait for iATU enable Bjorn Helgaas
2016-08-17 20:00 ` [PATCH v6 4/4] PCI: designware: Add iATU Unroll feature Bjorn Helgaas
2016-08-17 20:38   ` kbuild test robot
2016-11-16  0:22   ` Tim Harvey
2016-11-16  0:30     ` Fabio Estevam
2016-11-16 16:15       ` Tim Harvey

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.