Skip to content

PCI: tegra: Configuration space mapping cleanups and fixes

Thierry Reding linux-pci linux-tegra 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4PCI: tegra: Clarify configuration space address computationsdrivers/pci/host/pci-tegra.c+7 -50 replies
2/4PCI: tegra: Reorder parameters in offset computationsdrivers/pci/host/pci-tegra.c+4 -40 replies
3/4PCI: tegra: Consolidate I/O register variablesdrivers/pci/host/pci-tegra.c+4 -50 replies
4/4PCI: tegra: Remove artificial mapping restrictiondrivers/pci/host/pci-tegra.c+20 -260 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] PCI: tegra: Configuration space mapping cleanups and fixes

From: Thierry Reding <[email protected]>

Hi Lorenzo,

This cleans up a few oddities that I found while reviewing and testing the patch

[PATCH V3 1/2] PCI: tegra: refactor config space mapping code

that Vidya Sagar sent out earlier. The first three patches are mostly cleanup and admittedly somewhat bikeshedding in nature. They could've been just review comments, but I thought I'd just submit them as a series of patches since I had already typed them up anyway.

The last patch gets rid of an artificial restriction regarding the mapping address and does a bit of simplification.

These are technically incremental on top of the original patch, but if you prefer, feel free to squash them into that patch.

I've tested these on all of Tegra20, Tegra30, Tegra124, Tegra210 and Tegra186.

Thanks,
Thierry

Thierry Reding (4):
PCI: tegra: Clarify configuration space address computations
PCI: tegra: Reorder parameters in offset computations
PCI: tegra: Consolidate I/O register variables
PCI: tegra: Remove artificial mapping restriction

 drivers/pci/host/pci-tegra.c | 71 ++++++++++++++++++++------------------------
 1 file changed, 33 insertions(+), 38 deletions(-)
Signature · 1 line
2.15.1