From: Yinghai Lu <yinghai@kernel.org>
To: Bjorn Helgaas <bhelgaas@google.com>
Cc: Guo Chao <yan@linux.vnet.ibm.com>,
linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org,
Yinghai Lu <yinghai@kernel.org>
Subject: [PATCH v5 0/3] PCI: allocate 64bit mmio pref
Date: Wed, 18 Dec 2013 22:09:37 -0800 [thread overview]
Message-ID: <1387433380-18564-1-git-send-email-yinghai@kernel.org> (raw)
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
next reply other threads:[~2013-12-19 6:09 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-19 6:09 Yinghai Lu [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1387433380-18564-1-git-send-email-yinghai@kernel.org \
--to=yinghai@kernel.org \
--cc=bhelgaas@google.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pci@vger.kernel.org \
--cc=yan@linux.vnet.ibm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).