PCI: mvebu: cleanup and improvements
Get series with b4
b4 am 20180808154058.GA19383@red-moonVersions newest first · linked by author and title
- v2 Latest0 of 6 patches 0 repliesNew
- v11 of 3 patches 0 repliesSuperseded
Patches in v2 No applies recorded yet
None of the 6 patches the cover letter announces are in this archive.
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 0/6] PCI: mvebu: cleanup and improvements
Quoted 18 lines · Thomas Petazzoni
Hello,
This is the v2 of the pci-mvebu cleanup and improvements, mainly aiming at using
pci_host_bridge.Since v1, the changes are:
- Rebase on v4.18-rc1 to make sure the patches apply
- Add a patch fixing the I/O space end calculation (using
resource_size()as the .end address of a resource is not correct)- Only remap the I/O space if there is a PCI I/O aperture described in the DT.
- Use
resource_size()in the loop mapping the I/O space, as suggested by Lorenzo.
Quoted 6 lines
- Use
pci_add_resource()instead ofpci_add_resource_offset(), as suggested by Lorenzo.- Revert to using
pci_ioremap_io(), since we need to map with a special memory type on Armada platforms, andpci_remap_iospace()doesn't allow to do that. Noticed by Lorenzo.
Pulled into pci/mvebu (I reworded some commit logs in the process please have a look) for (tentatively) v4.19 but it is a bit late in the cycle so let's see how things go.
Thanks,
Lorenzo
Quoted 19 lines
Thanks!
Thomas
Thomas Petazzoni (6):
PCI: mvebu: Remove redundantplatform_set_drvdata()call
PCI: mvebu: fix I/O space end address calculation
PCI: mvebu: only remap I/O space if configured
PCI: mvebu: useresource_size()to remap I/O space
PCI: mvebu: Convert to usepci_host_bridgedirectly
PCI: mvebu: Drop bogus comment abovemvebu_pcie_map_registers()drivers/pci/controller/pci-mvebu.c | 153 +++++++++++++++++-------------------- 1 file changed, 68 insertions(+), 85 deletions(-)Signature · 1 line
2.14.4