Skip to content

minor PCI endpoint cleanups

Niklas Cassel linux-arm-kernel linux-pci linux-rockchip 1 version Applied

Status from this message: Applied to endpoint, thank you!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v4 Latest7 patches 3 repliesApplied

Changes in v4 from the cover letter

-Picked up tags from Mani.
-Fixed minor comments from Mani.
-Dropped patch [PATCH v3 1/9] PCI: endpoint: pci-epf-test: Fix incorrect
loop increment.
-Dropped patch [PATCH v3 9/9] PCI: endpoint: Set prefetch when allocating
memory for 64-bit BARs.
-Reordered some of the patches to have a more logical ordering.

Patches in v4 Applied

#Subject and filesSizeRepliesApplied
1/7PCI: endpoint: pci-epf-test: Simplify pci_epf_test_alloc_space() loopdrivers/pci/endpoint/functions/pci-epf-test.c+5 -80 replies
2/7PCI: endpoint: Allocate a 64-bit BAR if that is the only optiondrivers/pci/endpoint/pci-epf-core.c+6 -30 replies
3/7PCI: endpoint: pci-epf-test: Remove superfluous codedrivers/pci/endpoint/functions/pci-epf-test.c+0 -140 replies
4/7PCI: endpoint: pci-epf-test: Simplify pci_epf_test_set_bar() loopdrivers/pci/endpoint/functions/pci-epf-test.c+4 -171 reply
5/7PCI: endpoint: pci-epf-test: Clean up pci_epf_test_unbind()drivers/pci/endpoint/functions/pci-epf-test.c+6 -81 reply
6/7PCI: cadence: Set a 64-bit BAR if requesteddrivers/pci/controller/cadence/pcie-cadence-ep.c+1 -40 replies
7/7PCI: rockchip-ep: Set a 64-bit BAR if requesteddrivers/pci/controller/pcie-rockchip-ep.c+1 -10 replies

Reviews trailers per patch

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

PatchManivannan Sadhasivam
1/7R-b
2/7R-b
3/7R-b
4/7R-b
5/7R-b
6/7R-b
7/7R-b

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] minor PCI endpoint cleanups

Hello all,

This series used to be called:
"PCI: endpoint: set prefetchable bit for 64-bit BARs"

However, since after discussions with Arnd and Mani, that patch has been dropped, however, the other cleanups are still worth including IMO, thus the series has been renamed.

Changes since v3:
-Picked up tags from Mani.
-Fixed minor comments from Mani.
-Dropped patch [PATCH v3 1/9] PCI: endpoint: pci-epf-test: Fix incorrect
loop increment.
-Dropped patch [PATCH v3 9/9] PCI: endpoint: Set prefetch when allocating
memory for 64-bit BARs.
-Reordered some of the patches to have a more logical ordering.

Niklas Cassel (7):
PCI: endpoint: pci-epf-test: Simplify pci_epf_test_alloc_space() loop
PCI: endpoint: Allocate a 64-bit BAR if that is the only option
PCI: endpoint: pci-epf-test: Remove superfluous code
PCI: endpoint: pci-epf-test: Simplify pci_epf_test_set_bar() loop
PCI: endpoint: pci-epf-test: Clean up pci_epf_test_unbind()
PCI: cadence: Set a 64-bit BAR if requested
PCI: rockchip-ep: Set a 64-bit BAR if requested

 .../pci/controller/cadence/pcie-cadence-ep.c  |  5 +-
 drivers/pci/controller/pcie-rockchip-ep.c     |  2 +-
 drivers/pci/endpoint/functions/pci-epf-test.c | 62 +++++--------------
 drivers/pci/endpoint/pci-epf-core.c           |  9 ++-
 4 files changed, 23 insertions(+), 55 deletions(-)
Signature · 1 line
2.44.0