Skip to content

pcie/designware: Viewport assignment update

Pratyush Anand linux-devicetree linux-pci lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2pcie/designware: Keep viewport fixed for IO transaction if num_viewport > 2Documentation/devicetree/bindings/pci/designware-pcie.txt drivers/pci/host/pcie-designware.c drivers/pci/host/pcie-designware.h+23 -71 reply
2/2pcie/designware: Exchange viewport of `MEMORYs' and `CFGs/IOs'drivers/pci/host/pcie-designware.c+5 -50 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchDong BoRob Herring
1/2T-b A-b
2/2

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/2] pcie/designware: Viewport assignment update

Most of the designware PCIe platforms have more than 2 viewports. So, patch 1/2 allows to fix viewport-2 for IO transaction for such cases. When we have only two viewports, then patch 2/2 exchange viewport assignment of memory and cfg transaction. It helps to fix a possibility of corruption for memory transaction. However, there still exist possibility of an IO transaction to be corrupted. We can not do much for <=2 viewports. See, patch log for detail.

Dong Bo (1):
pcie/designware: Exchange viewport of MEMORYs' and CFGs/IOs'

Pratyush Anand (1):
pcie/designware: Keep viewport fixed for IO transaction if
num_viewport > 2

 .../devicetree/bindings/pci/designware-pcie.txt    |  3 ++
 drivers/pci/host/pcie-designware.c                 | 32 +++++++++++++++-------
 drivers/pci/host/pcie-designware.h                 |  1 +
 3 files changed, 26 insertions(+), 10 deletions(-)
Signature · 1 line
2.5.5