From: Isaku Yamahata <yamahata@valinux.co.jp>
To: qemu-devel@nongnu.org
Cc: blauwirbel@gmail.com, yu.liu@freescale.com,
paul@codesourcery.com, aurelien@aurel32.net, mst@redhat.com
Subject: Re: [Qemu-devel] [PATCH v5 0/9] pci: multi-function bit fixes
Date: Fri, 9 Jul 2010 10:44:55 +0900 [thread overview]
Message-ID: <20100709014455.GA22818@valinux.co.jp> (raw)
In-Reply-To: <cover.1277277076.git.yamahata@valinux.co.jp>
Ping?
Since this is bug fix patches, I'd like to include them
into the next release.
On Wed, Jun 23, 2010 at 04:15:24PM +0900, Isaku Yamahata wrote:
> Maing changes v4 -> v5:
> - split up/reorder patches for bisectability and testability
> - stype fixes.
>
> patch description:
>
> When pci devices are populated as multi-function,
> OS can fail to probe function > 0. It's because multi function
> bit of header type register in configuration space isn't set,
> so OS probes only function 0 skipping function > 0 as optimization.
>
> This patch set make qemu set multi function bit when function > 0
> is populated.
>
> Changes v3 -> v4:
> - introduced multifunction property and add validation check to catch
> user operation errors.
> - some more clean up.
>
>
> Isaku Yamahata (9):
> pci: use PCI_DEVFN() where appropriate.
> pci: insert assert that auto-assigned-address function is single
> function device.
> pci: don't overwrite multi functio bit in pci header type.
> pci: remove PCIDeviceInfo::header_type
> qdev: implement qdev_prop_set_bit().
> pci: introduce multifunction property.
> pci: set multifunction property for normal device.
> pci_bridge: make pci bridge aware of pci multi function bit.
> pci: set PCI multi-function bit appropriately.
>
> hw/ac97.c | 1 -
> hw/acpi_piix4.c | 1 -
> hw/apb_pci.c | 11 ++----
> hw/dec_pci.c | 4 +-
> hw/grackle_pci.c | 1 -
> hw/gt64xxx.c | 2 +-
> hw/ide/cmd646.c | 1 -
> hw/ide/piix.c | 1 -
> hw/macio.c | 1 -
> hw/ne2000.c | 1 -
> hw/openpic.c | 1 -
> hw/pci.c | 97 +++++++++++++++++++++++++++++++++++++++++++-------
> hw/pci.h | 21 +++++++++--
> hw/pcnet.c | 1 -
> hw/piix4.c | 4 +--
> hw/piix_pci.c | 5 +--
> hw/ppce500_pci.c | 3 +-
> hw/prep_pci.c | 1 -
> hw/qdev-properties.c | 5 +++
> hw/qdev.h | 1 +
> hw/rtl8139.c | 1 -
> hw/sun4u.c | 1 -
> hw/unin_pci.c | 16 +++-----
> hw/usb-uhci.c | 1 -
> hw/versatile_pci.c | 2 +-
> hw/vga-pci.c | 1 -
> hw/virtio-pci.c | 1 -
> hw/vmware_vga.c | 1 -
> hw/wdt_i6300esb.c | 1 -
> 29 files changed, 125 insertions(+), 63 deletions(-)
>
>
--
yamahata
next prev parent reply other threads:[~2010-07-09 1:49 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-23 7:15 [Qemu-devel] [PATCH v5 0/9] pci: multi-function bit fixes Isaku Yamahata
2010-06-23 7:15 ` [Qemu-devel] [PATCH v5 1/9] pci: use PCI_DEVFN() where appropriate Isaku Yamahata
2010-06-23 9:59 ` [Qemu-devel] " Michael S. Tsirkin
2010-06-23 7:15 ` [Qemu-devel] [PATCH v5 2/9] pci: insert assert that auto-assigned-address function is single function device Isaku Yamahata
2010-06-23 10:11 ` [Qemu-devel] " Michael S. Tsirkin
2010-06-23 23:42 ` Isaku Yamahata
2010-06-23 7:15 ` [Qemu-devel] [PATCH v5 3/9] pci: don't overwrite multi functio bit in pci header type Isaku Yamahata
2010-06-23 7:15 ` [Qemu-devel] [PATCH v5 4/9] pci: remove PCIDeviceInfo::header_type Isaku Yamahata
2010-06-23 7:15 ` [Qemu-devel] [PATCH v5 5/9] qdev: implement qdev_prop_set_bit() Isaku Yamahata
2010-06-23 7:15 ` [Qemu-devel] [PATCH v5 6/9] pci: introduce multifunction property Isaku Yamahata
2010-06-23 7:15 ` [Qemu-devel] [PATCH v5 7/9] pci: set multifunction property for normal device Isaku Yamahata
2010-06-23 7:15 ` [Qemu-devel] [PATCH v5 8/9] pci_bridge: make pci bridge aware of pci multi function bit Isaku Yamahata
2010-06-23 7:15 ` [Qemu-devel] [PATCH v5 9/9] pci: set PCI multi-function bit appropriately Isaku Yamahata
2010-07-09 1:44 ` Isaku Yamahata [this message]
2010-07-11 19:26 ` [Qemu-devel] [PATCH v5 0/9] pci: multi-function bit fixes Blue Swirl
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=20100709014455.GA22818@valinux.co.jp \
--to=yamahata@valinux.co.jp \
--cc=aurelien@aurel32.net \
--cc=blauwirbel@gmail.com \
--cc=mst@redhat.com \
--cc=paul@codesourcery.com \
--cc=qemu-devel@nongnu.org \
--cc=yu.liu@freescale.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).