Skip to content

PCI: dwc: Miscellaneous fixes and cleanups

Kishon Vijay Abraham I linux-arm-kernel linux-omap linux-pci lkml 5 versions – Applied

Status from this message: Applied to pci/host-designware for v4.12, with Niklas' ack on patches

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest7 patches 4 repliesApplied
  2. v3 posting 2/27 patches 16 repliesSuperseded
  3. v3 posting 1/27 patches 0 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v27 patches6 repliesSuperseded
v14 patches1 replySuperseded

Changes in v4 from the cover letter

*) instead of changing all the callers of dbi accessors (taking
dbi_base and size), manage it using static inline as suggested by Niklas (used static inline instead of macros because of checkpatch error).

Patches in v4 Applied

#Subject and filesSizeRepliesApplied
1/7PCI: dwc: designware: Add new *ops* for cpu addr fixupdrivers/pci/dwc/pcie-designware.c drivers/pci/dwc/pcie-designware.h+4 -00 replies
2/7PCI: dwc: dra7xx: Populate cpu_addr_fixup opsdrivers/pci/dwc/pci-dra7xx.c+6 -50 replies
3/7PCI: dwc: artpec6: Populate cpu_addr_fixup opsdrivers/pci/dwc/pcie-artpec6.c+10 -50 replies
4/7PCI: dwc: all: Modify dbi accessors to take dbi_base as argumentdrivers/pci/dwc/pci-exynos.c drivers/pci/dwc/pcie-designware.c drivers/pci/dwc/pcie-designware.h+29 -142 replies
5/7PCI: dwc: all: Modify dbi accessors to access data of 4/2/1 bytesdrivers/pci/dwc/pci-exynos.c drivers/pci/dwc/pcie-designware.c drivers/pci/dwc/pcie-designware.h+43 -271 reply
6/7PCI: dwc: designware: Move _unroll configurations to a separate functiondrivers/pci/dwc/pcie-designware.c+58 -390 replies
7/7PCI: dwc: dra7xx: Push request_irq call to the bottom of probedrivers/pci/dwc/pci-dra7xx.c+7 -70 replies

Reviews trailers per patch

5 of 7 patches have a Reviewed-by or Acked-by.

PatchJoao PintoNiklas Cassel
1/7A-b
2/7A-b
3/7A-b A-b
4/7A-b A-b
5/7A-b
6/7
7/7

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [PATCH v4 0/7] PCI: dwc: Miscellaneous fixes and cleanups

This should be the final set of cleanups/fixes before endpoint support can be merged.

Keerthy's patch is a general fix in dra7xx driver and is not directly related to endpoint mode.

This v1 of this series was previously sent with a different cover letter $subject [1]

Changes from v3:
*) instead of changing all the callers of dbi accessors (taking
dbi_base and size), manage it using static inline as suggested by Niklas (used static inline instead of macros because of checkpatch error).

Changes from v2:
*) Kconfig changes that was spilled into a patch is removed. *) In addition to renaming _unroll() to _ob_unroll(), all the
_unroll configurations is also moved a separate function.

Changes from v1:
*) included a patch to rename _unroll() to _ob_unroll() as
similar thing has to be done for inbound window in the case of EP mode.
*) used 'size_t' instead of 'int' for specifying the size
in read_dbi/write_dbi function arguments.
*) Populate cpu_addr_fixup ops for artpec6 as suggested by
Niklas

This series is based on 4.11-rc1

[1] -> https://lkml.org/lkml/2017/2/16/270

Keerthy (1):
PCI: dwc: dra7xx: Push request_irq call to the bottom of probe

Kishon Vijay Abraham I (6):
PCI: dwc: designware: Add new *ops* for cpu addr fixup
PCI: dwc: dra7xx: Populate cpu_addr_fixup ops
PCI: dwc: artpec6: Populate cpu_addr_fixup ops
PCI: dwc: all: Modify dbi accessors to take dbi_base as argument
PCI: dwc: all: Modify dbi accessors to access data of 4/2/1 bytes
PCI: dwc: designware: Move _unroll configurations to a separate
function

 drivers/pci/dwc/pci-dra7xx.c      |  25 +++----
 drivers/pci/dwc/pci-exynos.c      |  14 ++--
 drivers/pci/dwc/pcie-artpec6.c    |  15 +++--
 drivers/pci/dwc/pcie-designware.c | 133 ++++++++++++++++++++++++--------------
 drivers/pci/dwc/pcie-designware.h |  23 +++++--
 5 files changed, 135 insertions(+), 75 deletions(-)
Signature · 1 line
2.11.0