From: "Michael S. Tsirkin" <mst@redhat.com>
To: Alex Williamson <alex.williamson@redhat.com>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH 0/7] pci: Create PCI Express bus type
Date: Sun, 17 Mar 2013 14:19:38 +0200 [thread overview]
Message-ID: <20130317121938.GB22279@redhat.com> (raw)
In-Reply-To: <20130314215150.10566.37912.stgit@bling.home>
On Thu, Mar 14, 2013 at 04:00:53PM -0600, Alex Williamson wrote:
> When setting PCIe capabilities we need to know the type of bus we
> have. On secondary buses we could poke around on the parent bridge
> device to infer this data, but on root buses there's no parent device.
> By creating a new PCIE TypeInfo we can inherit everything about PCI
> buses while still allowing us to differentiate and potentially extend
> in the future.
>
> The first benefactor of this change is included here, mangling
> Endpoints to Root Complex Integrated Endpoints, allowing nec-usb-xhci
> to work on the root bus of q35 with Windows. I also plan to use this
> to drop link capabilities, control, and status on all Integrated
> Endpoints and for PCIe capability modifications on assigned devices.
> Thanks,
>
> Alex
Applied, thanks!
> ---
>
> Alex Williamson (7):
> pci: Create and register a new PCI Express TypeInfo
> pci: Move PCI and PCIE type defines
> pci: Allow PCI bus creation interfaces to specify the type of bus
> pci: Q35, Root Ports, and Switches create PCI Express buses
> pci: Create pci_bus_is_express helper
> pci: Create and use API to determine root buses
> pcie: Mangle types to match topology
>
>
> hw/alpha_typhoon.c | 2 +-
> hw/apb_pci.c | 4 ++--
> hw/bonito.c | 2 +-
> hw/dec_pci.c | 7 ++++++-
> hw/grackle_pci.c | 2 +-
> hw/gt64xxx.c | 2 +-
> hw/i82801b11.c | 2 +-
> hw/ioh3420.c | 2 +-
> hw/pci/pci.c | 36 ++++++++++++++++++++++++++----------
> hw/pci/pci.h | 13 ++++++++++---
> hw/pci/pci_bridge.c | 5 ++---
> hw/pci/pci_bridge.h | 2 +-
> hw/pci/pci_bus.h | 3 ---
> hw/pci/pcie.c | 13 +++++++++++++
> hw/pci_bridge_dev.c | 2 +-
> hw/piix_pci.c | 2 +-
> hw/ppc4xx_pci.c | 2 +-
> hw/ppce500_pci.c | 2 +-
> hw/prep_pci.c | 2 +-
> hw/q35.c | 3 ++-
> hw/sh_pci.c | 2 +-
> hw/spapr_pci.c | 2 +-
> hw/unin_pci.c | 4 ++--
> hw/versatile_pci.c | 2 +-
> hw/xio3130_downstream.c | 2 +-
> hw/xio3130_upstream.c | 2 +-
> 26 files changed, 80 insertions(+), 42 deletions(-)
prev parent reply other threads:[~2013-03-17 15:51 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-14 22:00 [Qemu-devel] [PATCH 0/7] pci: Create PCI Express bus type Alex Williamson
2013-03-14 22:00 ` [Qemu-devel] [PATCH 1/7] pci: Create and register a new PCI Express TypeInfo Alex Williamson
2013-03-14 22:01 ` [Qemu-devel] [PATCH 2/7] pci: Move PCI and PCIE type defines Alex Williamson
2013-03-14 22:01 ` [Qemu-devel] [PATCH 3/7] pci: Allow PCI bus creation interfaces to specify the type of bus Alex Williamson
2013-03-14 22:01 ` [Qemu-devel] [PATCH 4/7] pci: Q35, Root Ports, and Switches create PCI Express buses Alex Williamson
2013-03-14 22:01 ` [Qemu-devel] [PATCH 5/7] pci: Create pci_bus_is_express helper Alex Williamson
2013-03-14 22:01 ` [Qemu-devel] [PATCH 6/7] pci: Create and use API to determine root buses Alex Williamson
2013-03-14 22:01 ` [Qemu-devel] [PATCH 7/7] pcie: Mangle types to match topology Alex Williamson
2013-03-17 12:19 ` Michael S. Tsirkin
2013-03-18 21:17 ` Alex Williamson
2013-03-17 12:19 ` 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=20130317121938.GB22279@redhat.com \
--to=mst@redhat.com \
--cc=alex.williamson@redhat.com \
--cc=qemu-devel@nongnu.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).