From: "Michael S. Tsirkin" <mst@redhat.com>
To: Marcel Apfelbaum <marcel.a@redhat.com>
Cc: kevin@koconnor.net, seabios@seabios.org, qemu-devel@nongnu.org,
kraxel@redhat.com
Subject: Re: [Qemu-devel] [SeaBIOS] [PATCH V3 0/2] hw/pci: reserve IO and mem for pci-2-pci bridges with no devices attached
Date: Thu, 10 Apr 2014 18:49:19 +0300 [thread overview]
Message-ID: <20140410154919.GI21110@redhat.com> (raw)
In-Reply-To: <1397136581-10500-1-git-send-email-marcel.a@redhat.com>
On Thu, Apr 10, 2014 at 04:29:39PM +0300, Marcel Apfelbaum wrote:
> v2 -> v3:
> - Addressed Michael S. Tsirkin's comments:
> - I/O and Prefetchable Memory are optional. Do not allocate ranges
> if they are not implemented (2/2).
> - Note that 2/2 patch can be seen as a separate fix. However, it
> is related to ranges reservation.
>
> v1 -> v2:
> - Thanks Gerd Hoffmann for the review.
> - Addressed Michael S. Tsirkin's comments:
> - Limit capabilities query to 256 iterations, to make sure we
> don't get into an infinite loop with a broken device.
>
An additional possible enhancement would be to avoid allocating
for devices that are behind a non IO forwarding bridge.
Can be a patch on top.
> If a pci-2-pci bridge supports hot-plug functionality but there are no devices
> connected to it, reserve IO/mem in order to be able to attach devices
> later. Do not waste space, use minimum allowed.
>
> Marcel Apfelbaum (2):
> hw/pci: reserve IO and mem for pci-2-pci bridges with no devices
> attached
> hw/pci: check if pci2pci bridges implement optional limit registers
>
> src/fw/pciinit.c | 12 +++++-----
> src/hw/pci.c | 67 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> src/hw/pci.h | 10 +++++++++
> 3 files changed, 82 insertions(+), 7 deletions(-)
>
> --
> 1.8.3.1
prev parent reply other threads:[~2014-04-10 15:48 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-10 13:29 [Qemu-devel] [SeaBIOS] [PATCH V3 0/2] hw/pci: reserve IO and mem for pci-2-pci bridges with no devices attached Marcel Apfelbaum
2014-04-10 13:29 ` [Qemu-devel] [PATCH V3 1/2] " Marcel Apfelbaum
2014-04-10 15:48 ` Michael S. Tsirkin
2014-04-10 16:45 ` Kevin O'Connor
2014-04-10 16:58 ` Marcel Apfelbaum
2014-04-10 13:29 ` [Qemu-devel] [PATCH V3 2/2] hw/pci: check if pci2pci bridges implement optional limit registers Marcel Apfelbaum
2014-04-10 15:46 ` Michael S. Tsirkin
2014-04-10 16:29 ` Marcel Apfelbaum
2014-04-10 15:49 ` Michael S. Tsirkin [this message]
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=20140410154919.GI21110@redhat.com \
--to=mst@redhat.com \
--cc=kevin@koconnor.net \
--cc=kraxel@redhat.com \
--cc=marcel.a@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=seabios@seabios.org \
/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).