Skip to content

DesignWare PCI improvements

Andrey Smirnov linux-arm-kernel linux-pci lkml 1 version Applied

Status from this message: Applied to pci/dwc for v5.1, thanks.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/5PCI: dwc: Make use of IS_ALIGNED()drivers/pci/controller/dwc/pcie-designware.c+2 -20 replies
2/5PCI: dwc: Share code for dw_pcie_rd/wr_other_conf()drivers/pci/controller/dwc/pcie-designware-host.c+23 -380 replies
3/5PCI: dwc: Make use of BIT() in constant definitionsdrivers/pci/controller/dwc/pcie-designware.c drivers/pci/controller/dwc/pcie-designware.h+8 -80 replies
4/5PCI: dwc: Make use of GENMASK/FIELD_PREPdrivers/pci/controller/dwc/pcie-designware.h+16 -130 replies
5/5PCI: dwc: Remove superfluous shifting in definitionsdrivers/pci/controller/dwc/pcie-designware.h+7 -70 replies

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by.

PatchGustavo Pimentel
1/5A-b
2/5A-b
3/5A-b
4/5A-b
5/5A-b

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

Read the v1 thread

Cover letter [PATCH 0/5] DesignWare PCI improvements

Everyone:

This is the series is a spin-off from [imx6-dwc] containing only small improvements that I made while reading the code and researching commit history of pcie-designware*.c. All changes are optional, so commits that don't seem like an improvement can be easily dropped. Hopefully each patch is self-explanatory.

I tested this series on i.MX6Q, i.MX7D and i.MX8MQ.

Feedback is welcome!

Thanks,
Andrey Smirnov

[imx6-dwc] https://lore.kernel.org/lkml/[email protected]

Andrey Smirnov (5):
PCI: dwc: Make use of IS_ALIGNED()
PCI: dwc: Share code for dw_pcie_rd/wr_other_conf()
PCI: dwc: Make use of BIT() in constant definitions
PCI: dwc: Make use of GENMASK/FIELD_PREP
PCI: dwc: Remove superfluous shifting in definitions

 .../pci/controller/dwc/pcie-designware-host.c | 61 +++++++------------
 drivers/pci/controller/dwc/pcie-designware.c  |  6 +-
 drivers/pci/controller/dwc/pcie-designware.h  | 57 +++++++++--------
 3 files changed, 56 insertions(+), 68 deletions(-)
Signature · 1 line
2.20.1