linux-pci.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v5 0/3] PCI: allocate 64bit mmio pref
@ 2013-12-19  6:09 Yinghai Lu
  2013-12-19  6:09 ` [PATCH v5 1/3] PCI: Try to allocate mem64 above 4G at first Yinghai Lu
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Yinghai Lu @ 2013-12-19  6:09 UTC (permalink / raw)
  To: Bjorn Helgaas; +Cc: Guo Chao, linux-pci, linux-kernel, Yinghai Lu

mmio 64 allocation that could help Guo Chao <yan@linux.vnet.ibm.com> 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

Yinghai Lu (3):
  PCI: Try to allocate mem64 above 4G at first
  PCI: Try best to allocate pref mmio 64bit above 4g
  PCI: Sort pci root bus resources list

 drivers/pci/bus.c       |  43 +++++++++++----
 drivers/pci/setup-bus.c | 138 ++++++++++++++++++++++++++++++++----------------
 drivers/pci/setup-res.c |  20 ++++++-
 3 files changed, 144 insertions(+), 57 deletions(-)

-- 
1.8.4


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-12-19 16:38 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-19  6:09 [PATCH v5 0/3] PCI: allocate 64bit mmio pref Yinghai Lu
2013-12-19  6:09 ` [PATCH v5 1/3] PCI: Try to allocate mem64 above 4G at first Yinghai Lu
2013-12-19 16:38   ` Yinghai Lu
2013-12-19  6:09 ` [PATCH v5 2/3] PCI: Try best to allocate pref mmio 64bit above 4g Yinghai Lu
2013-12-19  6:09 ` [PATCH v5 3/3] PCI: Sort pci root bus resources list Yinghai Lu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).