Skip to content

RFC PCI: generate proper configuration access cycles

Jisheng Zhang linux-arm-kernel linux-pci linux-tegra lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest3 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3PCI: iproc: generate proper configuration access cyclesdrivers/pci/host/pcie-iproc.c+1 -13 replies
2/3PCI: tegra: generate proper configuration access cyclesdrivers/pci/host/pci-tegra.c+1 -10 replies
3/3PCI: xgene: generate proper configuration access cyclesdrivers/pci/host/pci-xgene.c+1 -10 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [RFC PATCH 0/3] PCI: generate proper configuration access cycles

Inspired by Russell King's patch[1], I found some pci hosts also have the same issue of "reading 32-bits from the command register, modifying the command register, and then writing it back has the effect of clearing any status bits that were indicating at that time" as pointed out by Russell. Fix them by using the pci_generic_config_write.

Another problem is do we need to use proper readb/readw for config read?

Jisheng Zhang (3):
PCI: iproc: generate proper configuration access cycles
PCI: tegra: generate proper configuration access cycles
PCI: xgene: generate proper configuration access cycles

 drivers/pci/host/pci-tegra.c  | 2 +-
 drivers/pci/host/pci-xgene.c  | 2 +-
 drivers/pci/host/pcie-iproc.c | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
Signature · 1 line
2.6.2