Skip to content

PCI: allocate 64bit mmio pref

Yinghai Lu linux-pci lkml 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v6 Latest2 patches 7 repliesIn review
  2. v53 patches 1 replySuperseded
  3. v45 patches 5 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v12 patches30 repliesSuperseded

Patches in v6 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2PCI: Try to allocate mem64 above 4G at firstdrivers/pci/bus.c+24 -100 replies
2/2PCI: Try best to allocate pref mmio 64bit above 4gdrivers/pci/setup-bus.c drivers/pci/setup-res.c+111 -477 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by.

PatchGuo Chao
1/2
2/2T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v6 thread

Cover letter [PATCH v6 0/2] PCI: allocate 64bit mmio pref

mmio 64 allocation that could help Guo Chao <[email protected]> on powerpc mmio allocation. It will try to assign 64 bit resource above 4g at first.

And it is based on current pci/next and pci/resource.

-v2: update after patch that move device_del down to pci_destroy_dev.
add "Try best to allocate pref mmio 64bit above 4G"

-v3: refresh and send out after pci_clip_resource() changes,
as Bjorn is not happy with attachments.

-v4: make pcibios_resource_to_bus take bus directly.

-v5: fix non-pref mmio64 allocation problem found by Guo Chao.
refresh last three as Bjorn update first two and put them in pci/resource

-v6: try above 4G at first, then restart again for under 4G.
so we can drop patch that sort pci root bus resource list.

Yinghai Lu (2):
PCI: Try to allocate mem64 above 4G at first
PCI: Try best to allocate pref mmio 64bit above 4g

 drivers/pci/bus.c       |  34 ++++++++----
 drivers/pci/setup-bus.c | 138 ++++++++++++++++++++++++++++++++----------------
 drivers/pci/setup-res.c |  20 ++++++-
 3 files changed, 135 insertions(+), 57 deletions(-)
Signature · 1 line
1.8.4