All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [for-2.12 0/7] PCI cleanups
@ 2017-11-29  8:46 David Gibson
  2017-11-29  8:46 ` [Qemu-devel] [for-2.12 1/7] pci: Rename root bus initialization functions for clarity David Gibson
                   ` (7 more replies)
  0 siblings, 8 replies; 47+ messages in thread
From: David Gibson @ 2017-11-29  8:46 UTC (permalink / raw)
  To: Michael S . Tsirkin, Eduardo Habkost, Marcel Apfelbaum, Igor Mammedov
  Cc: qemu-devel, David Gibson

Here are a bunch of straightforward cleanups for the PCI code in
qemu-2.12.  These came up while I was looking at various other things.

David Gibson (7):
  pci: Rename root bus initialization functions for clarity
  pci: Move bridge data structures from pci_bus.h to pci_bridge.h
  pci: Fold pci_bus.h into pci.h
  pci: Simplify pci_bus_is_root()
  pci: Add pci_dev_bus_num() helper
  pci: Eliminate redundant PCIDevice::bus pointer
  pci: Eliminate pci_find_primary_bus()

 hw/acpi/pcihp.c                     |   5 +-
 hw/acpi/piix4.c                     |   7 +-
 hw/alpha/typhoon.c                  |   8 +-
 hw/i386/acpi-build.c                |   1 -
 hw/i386/amd_iommu.h                 |   1 -
 hw/i386/intel_iommu.c               |   1 -
 hw/i386/pc.c                        |   1 -
 hw/i386/pc_piix.c                   |   8 +-
 hw/i386/xen/xen_platform.c          |  12 +--
 hw/isa/lpc_ich9.c                   |  11 ++-
 hw/mips/gt64xxx_pci.c               |  12 +--
 hw/net/vmxnet3.c                    |   2 +-
 hw/pci-bridge/dec.c                 |   1 -
 hw/pci-bridge/pci_bridge_dev.c      |   1 -
 hw/pci-bridge/pci_expander_bridge.c |  28 +++----
 hw/pci-bridge/pcie_pci_bridge.c     |   1 -
 hw/pci-host/apb.c                   |  11 ++-
 hw/pci-host/bonito.c                |   8 +-
 hw/pci-host/gpex.c                  |   6 +-
 hw/pci-host/grackle.c               |  14 ++--
 hw/pci-host/piix.c                  |  14 ++--
 hw/pci-host/ppce500.c               |   6 +-
 hw/pci-host/prep.c                  |   5 +-
 hw/pci-host/q35.c                   |   7 +-
 hw/pci-host/uninorth.c              |  24 +++---
 hw/pci-host/versatile.c             |   9 +--
 hw/pci-host/xilinx-pcie.c           |   6 +-
 hw/pci/pci.c                        | 152 ++++++++++++++++--------------------
 hw/pci/pci_bridge.c                 |   7 +-
 hw/pci/pci_host.c                   |   1 -
 hw/pci/pcie.c                       |   6 +-
 hw/pci/pcie_aer.c                   |   5 +-
 hw/pci/shpc.c                       |   1 -
 hw/ppc/ppc4xx_pci.c                 |   6 +-
 hw/ppc/spapr_pci.c                  |  11 ++-
 hw/s390x/s390-pci-bus.c             |  19 +++--
 hw/scsi/megasas.c                   |   2 +-
 hw/scsi/mptsas.c                    |   2 +-
 hw/scsi/vmw_pvscsi.c                |   2 +-
 hw/sh4/sh_pci.c                     |  12 +--
 hw/sparc64/sun4u.c                  |   1 -
 hw/usb/hcd-xhci.c                   |   2 +-
 hw/vfio/pci.c                       |  10 +--
 hw/virtio/virtio-pci.c              |   4 +-
 hw/xen/xen_pt.c                     |  10 +--
 include/hw/i386/ich9.h              |   1 -
 include/hw/pci-host/xilinx-pcie.h   |   2 +-
 include/hw/pci/pci.h                |  94 +++++++++++++++++-----
 include/hw/pci/pci_bridge.h         |  47 +++++++++++
 include/hw/pci/pci_bus.h            |  94 ----------------------
 include/hw/pci/pcie_port.h          |   1 -
 include/hw/xen/xen_common.h         |   8 +-
 52 files changed, 336 insertions(+), 374 deletions(-)
 delete mode 100644 include/hw/pci/pci_bus.h

-- 
2.14.3

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

end of thread, other threads:[~2017-12-05 23:42 UTC | newest]

Thread overview: 47+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-29  8:46 [Qemu-devel] [for-2.12 0/7] PCI cleanups David Gibson
2017-11-29  8:46 ` [Qemu-devel] [for-2.12 1/7] pci: Rename root bus initialization functions for clarity David Gibson
2017-11-29  9:43   ` Marcel Apfelbaum
2017-11-30  6:17   ` Peter Xu
2017-12-01  0:02     ` David Gibson
2017-12-01  4:27       ` Peter Xu
2017-11-29  8:46 ` [Qemu-devel] [for-2.12 2/7] pci: Move bridge data structures from pci_bus.h to pci_bridge.h David Gibson
2017-11-29 10:33   ` Marcel Apfelbaum
2017-11-30  6:41   ` Peter Xu
2017-11-29  8:46 ` [Qemu-devel] [for-2.12 3/7] pci: Fold pci_bus.h into pci.h David Gibson
2017-11-29 10:38   ` Marcel Apfelbaum
2017-11-30  4:02     ` David Gibson
2017-11-30  5:56       ` Peter Xu
2017-11-30 10:25       ` Marcel Apfelbaum
2017-12-01 16:29       ` Michael S. Tsirkin
2017-12-02  0:59         ` David Gibson
2017-12-03  5:07           ` Michael S. Tsirkin
2017-12-04  4:01             ` David Gibson
2017-12-04  4:40         ` David Gibson
2017-11-29  8:46 ` [Qemu-devel] [for-2.12 4/7] pci: Simplify pci_bus_is_root() David Gibson
2017-11-29 10:45   ` Marcel Apfelbaum
2017-11-29 13:12     ` David Gibson
2017-11-29 14:42       ` Marcel Apfelbaum
2017-11-30  6:23   ` Peter Xu
2017-12-01  4:25     ` David Gibson
2017-11-29  8:46 ` [Qemu-devel] [for-2.12 5/7] pci: Add pci_dev_bus_num() helper David Gibson
2017-11-29 10:48   ` Marcel Apfelbaum
2017-11-30  6:42   ` Peter Xu
2017-11-29  8:46 ` [Qemu-devel] [for-2.12 6/7] pci: Eliminate redundant PCIDevice::bus pointer David Gibson
2017-11-29 10:54   ` Marcel Apfelbaum
2017-11-29 11:41     ` Eduardo Habkost
2017-11-29 13:15       ` David Gibson
2017-11-29 14:43       ` Marcel Apfelbaum
2017-11-30  6:31   ` Peter Xu
2017-11-29  8:46 ` [Qemu-devel] [for-2.12 7/7] pci: Eliminate pci_find_primary_bus() David Gibson
2017-11-29 10:56   ` Marcel Apfelbaum
2017-11-30  6:39   ` Peter Xu
2017-11-29  9:02 ` [Qemu-devel] [for-2.12 0/7] PCI cleanups no-reply
2017-11-29  9:18   ` Fam Zheng
2017-11-29 10:11     ` David Gibson
2017-12-05  4:49     ` Michael S. Tsirkin
2017-12-05  5:05       ` Fam Zheng
2017-12-05  5:11         ` David Gibson
2017-12-05  6:46           ` Fam Zheng
2017-12-05 13:06             ` David Gibson
2017-12-05 13:42               ` Fam Zheng
2017-12-05 23:14                 ` David Gibson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.