PCI: sparc related 64bit resource fixup
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest13 patches 10 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/13 | sparc/PCI: Use correct offset for bus address to resourcearch/ arch/ arch/ | +31 | 0 replies | |
| 2/13 | PCI: Add pci_find_bus_resource()drivers/ include/ | +18 | 0 replies | |
| 3/13 | sparc/PCI: Reserve legacy mmio after PCI mmioarch/ arch/ arch/ | +33 | 1 reply | |
| 4/13 | sparc/PCI: Add IORESOURCE_MEM_64 for 64-bit resource in OF parsingarch/ arch/ | +6 | 1 reply | |
| 5/13 | sparc/PCI: Keep resource idx order with bridge register numberarch/ | +7 | 0 replies | |
| 6/13 | powerpc/PCI: Keep resource idx order with bridge register numberarch/ | +7 | 0 replies | |
| 7/13 | powerpc/PCI: Add IORESOURCE_MEM_64 for 64-bit resource in OF parsingarch/ | +3 | 0 replies | |
| 8/13 | OF/PCI: Add IORESOURCE_MEM_64 for 64-bit resourcedrivers/ | +3 | 1 reply | |
| 9/13 | PCI: Check pref compatible bit for mem64 resource of PCIe devicearch/ drivers/ drivers/ +4 more | +66 | 1 reply | |
| 10/13 | PCI: Only treat non-pref mmio64 as pref if all bridges have MEM_64drivers/ | +29 | 1 reply | |
| 11/13 | PCI: Add has_mem64 for struct host_bridgedrivers/ include/ | +8 | 4 replies | |
| 12/13 | PCI: Only treat non-pref mmio64 as pref if host bridge has mmio64drivers/ | +1 | 0 replies | |
| 13/13 | PCI: Restore pref MMIO allocation logic for host bridge without mmio64drivers/ drivers/ drivers/ | +18 | 1 reply |
Reviews trailers per patch
1 of 13 patches has a Reviewed-by or Acked-by.
| Patch | Khalid Aziz | David Ahern | TJ | Rob Herring |
|---|---|---|---|---|
| 1/13 | T-b | |||
| 2/13 | ||||
| 3/13 | T-b | |||
| 4/13 | T-b | |||
| 5/13 | T-b | |||
| 6/13 | ||||
| 7/13 | ||||
| 8/13 | T-b | A-b | ||
| 9/13 | T-b | T-b | T-b | |
| 10/13 | T-b | |||
| 11/13 | T-b | |||
| 12/13 | T-b | |||
| 13/13 | T-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.
Cover letter [PATCH 00/13] PCI: sparc related 64bit resource fixup
Hi Bjorn,
Please check sparc related 64bit resource handling patches.
patch 1-8: parse MEM64 for sparc and other system with OF.
So device 64bit resource could find their parent resource.
patch 9-12: MMIO64 handling enhancement
treat non-pref mmio64 as pref mmio64 if all bridges to root all pcie.
patch 13: restore old pref allocation logic if hostbridge does not support mmio64.
Those patches could be applied on top of today's pci/next.
Thanks
Yinghai
Yinghai Lu (13):
sparc/PCI: Use correct offset for bus address to resource
PCI: Add pci_find_bus_resource()
sparc/PCI: Reserve legacy mmio after PCI mmio
sparc/PCI: Add IORESOURCE_MEM_64 for 64-bit resource in OF parsing sparc/PCI: Keep resource idx order with bridge register number powerpc/PCI: Keep resource idx order with bridge register number powerpc/PCI: Add IORESOURCE_MEM_64 for 64-bit resource in OF parsing OF/PCI: Add IORESOURCE_MEM_64 for 64-bit resource
PCI: Check pref compatible bit for mem64 resource of PCIe device
PCI: Only treat non-pref mmio64 as pref if all bridges have MEM_64
PCI: Add has_mem64 for struct host_bridge
PCI: Only treat non-pref mmio64 as pref if host bridge has mmio64
PCI: Restore pref MMIO allocation logic for host bridge without mmio64
arch/powerpc/kernel/pci_of_scan.c | 12 +++++- arch/sparc/kernel/of_device_32.c | 5 ++- arch/sparc/kernel/of_device_64.c | 5 ++- arch/sparc/kernel/pci.c | 15 +++++-- arch/sparc/kernel/pci_common.c | 91 +++++++++++++++++++++++---------------- arch/sparc/kernel/pci_impl.h | 5 +++ drivers/of/address.c | 4 +- drivers/pci/bus.c | 4 +- drivers/pci/pci.c | 31 +++++++------ drivers/pci/pci.h | 2 + drivers/pci/probe.c | 40 +++++++++++++++++ drivers/pci/setup-bus.c | 65 ++++++++++++++++++++++++---- drivers/pci/setup-res.c | 13 ++++-- include/linux/pci.h | 4 ++ 14 files changed, 224 insertions(+), 72 deletions(-)
Signature · 1 line
2.9.3