All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Michael S. Tsirkin" <mst@redhat.com>
To: Blue Swirl <blauwirbel@gmail.com>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH 0/8] pci core reorg
Date: Wed, 12 Dec 2012 22:58:30 +0200	[thread overview]
Message-ID: <20121212205830.GE20201@redhat.com> (raw)
In-Reply-To: <CAAu8pHsie0h4qBgb3n_Kv+DZr7SrAiPEeUqMUZmaQaNNYbN71w@mail.gmail.com>

On Wed, Dec 12, 2012 at 08:00:58PM +0000, Blue Swirl wrote:
> On Wed, Dec 12, 2012 at 1:13 PM, Michael S. Tsirkin <mst@redhat.com> wrote:
> > This patchset starts some cleanups of the pci core
> > by rearranging the code: pci core is split out
> > from devices into its own directory, pci internals.h
> > is renamed as it's used externally a lot.
> >
> > I'd like to merge this quickly to avoid conflicting
> > with others work.
> > Plan to send pull request tomorrow, if you have concerns,
> > speak up soon pls.
> 
> I had a few comments and one nack but otherwise nice cleanup.

I haven't seen anything besides the nack, and a suggestion
to fix coding style of existing files which should be
done separately.

> >
> > Thanks,
> >
> >
> >
> > Michael S. Tsirkin (8):
> >   pci: prepare makefiles for pci code reorganization
> >   MAINTAINERS: add hw/pci/ to list of PCI files
> >   pci: move pci core code to hw/pci
> >   pci: update all users to look in pci/
> >   pci: make external dependencies explicit
> >   Revert "pci: prepare makefiles for pci code reorganization"
> >   pci: rename pci_internals.h pci_bus.h
> >   pci_bus: update comment
> >
> >  MAINTAINERS              |    1 +
> >  arch_init.c              |    2 +-
> >  hw/Makefile.objs         |   10 +-
> >  hw/ac97.c                |    2 +-
> >  hw/acpi_ich9.c           |    2 +-
> >  hw/acpi_piix4.c          |    2 +-
> >  hw/alpha_sys.h           |    4 +-
> >  hw/apb_pci.c             |    8 +-
> >  hw/apic.c                |    2 +-
> >  hw/bonito.c              |    4 +-
> >  hw/cirrus_vga.c          |    2 +-
> >  hw/dec_pci.c             |    8 +-
> >  hw/e1000.c               |    2 +-
> >  hw/eepro100.c            |    2 +-
> >  hw/es1370.c              |    2 +-
> >  hw/esp-pci.c             |    2 +-
> >  hw/grackle_pci.c         |    4 +-
> >  hw/gt64xxx.c             |    4 +-
> >  hw/hda-audio.c           |    2 +-
> >  hw/i386/Makefile.objs    |    2 +-
> >  hw/i82378.c              |    2 +-
> >  hw/i82801b11.c           |    2 +-
> >  hw/ich9.h                |    8 +-
> >  hw/ide.h                 |    2 +-
> >  hw/ide/ahci.c            |    4 +-
> >  hw/ide/cmd646.c          |    2 +-
> >  hw/ide/core.c            |    2 +-
> >  hw/ide/ich.c             |    4 +-
> >  hw/ide/pci.c             |    2 +-
> >  hw/ide/piix.c            |    2 +-
> >  hw/ide/via.c             |    2 +-
> >  hw/intel-hda.c           |    4 +-
> >  hw/ioh3420.c             |    6 +-
> >  hw/ioh3420.h             |    2 +-
> >  hw/ivshmem.c             |    4 +-
> >  hw/kvm/apic.c            |    2 +-
> >  hw/kvm/pci-assign.c      |    4 +-
> >  hw/lpc_ich9.c            |    8 +-
> >  hw/lsi53c895a.c          |    2 +-
> >  hw/macio.c               |    2 +-
> >  hw/megasas.c             |    4 +-
> >  hw/mips_fulong2e.c       |    2 +-
> >  hw/mips_malta.c          |    2 +-
> >  hw/msi.c                 |  395 ---------
> >  hw/msi.h                 |   50 --
> >  hw/msix.c                |  562 ------------
> >  hw/msix.h                |   41 -
> >  hw/ne2000.c              |    2 +-
> >  hw/openpic.c             |    2 +-
> >  hw/pc.c                  |    4 +-
> >  hw/pc_piix.c             |    4 +-
> >  hw/pci-hotplug.c         |  293 -------
> >  hw/pci-stub.c            |   47 -
> >  hw/pci.c                 | 2168 ----------------------------------------------
> >  hw/pci.h                 |  684 ---------------
> >  hw/pci/Makefile.objs     |    6 +
> >  hw/pci/msi.c             |  395 +++++++++
> >  hw/pci/msi.h             |   50 ++
> >  hw/pci/msix.c            |  562 ++++++++++++
> >  hw/pci/msix.h            |   41 +
> >  hw/pci/pci-hotplug.c     |  293 +++++++
> >  hw/pci/pci-stub.c        |   47 +
> >  hw/pci/pci.c             | 2168 ++++++++++++++++++++++++++++++++++++++++++++++
> >  hw/pci/pci.h             |  684 +++++++++++++++
> >  hw/pci/pci_bridge.c      |  363 ++++++++
> >  hw/pci/pci_bridge.h      |   66 ++
> >  hw/pci/pci_bus.h         |   74 ++
> >  hw/pci/pci_host.c        |  180 ++++
> >  hw/pci/pci_host.h        |   62 ++
> >  hw/pci/pci_ids.h         |  147 ++++
> >  hw/pci/pci_regs.h        |  717 +++++++++++++++
> >  hw/pci/pcie.c            |  555 ++++++++++++
> >  hw/pci/pcie.h            |  142 +++
> >  hw/pci/pcie_aer.c        | 1032 ++++++++++++++++++++++
> >  hw/pci/pcie_aer.h        |  106 +++
> >  hw/pci/pcie_host.c       |  161 ++++
> >  hw/pci/pcie_host.h       |   54 ++
> >  hw/pci/pcie_port.c       |  114 +++
> >  hw/pci/pcie_port.h       |   51 ++
> >  hw/pci/pcie_regs.h       |  156 ++++
> >  hw/pci/shpc.c            |  681 +++++++++++++++
> >  hw/pci/shpc.h            |   48 +
> >  hw/pci/slotid_cap.c      |   44 +
> >  hw/pci/slotid_cap.h      |   11 +
> >  hw/pci_bridge.c          |  363 --------
> >  hw/pci_bridge.h          |   66 --
> >  hw/pci_bridge_dev.c      |   12 +-
> >  hw/pci_host.c            |  180 ----
> >  hw/pci_host.h            |   62 --
> >  hw/pci_ids.h             |  147 ----
> >  hw/pci_internals.h       |   78 --
> >  hw/pci_regs.h            |  717 ---------------
> >  hw/pcie.c                |  555 ------------
> >  hw/pcie.h                |  142 ---
> >  hw/pcie_aer.c            | 1032 ----------------------
> >  hw/pcie_aer.h            |  106 ---
> >  hw/pcie_host.c           |  161 ----
> >  hw/pcie_host.h           |   54 --
> >  hw/pcie_port.c           |  114 ---
> >  hw/pcie_port.h           |   51 --
> >  hw/pcie_regs.h           |  156 ----
> >  hw/pcnet-pci.c           |    2 +-
> >  hw/piix4.c               |    2 +-
> >  hw/piix_pci.c            |    4 +-
> >  hw/ppc/Makefile.objs     |    2 +-
> >  hw/ppc/e500.c            |    2 +-
> >  hw/ppc440_bamboo.c       |    2 +-
> >  hw/ppc4xx.h              |    2 +-
> >  hw/ppc4xx_pci.c          |    4 +-
> >  hw/ppc_newworld.c        |    2 +-
> >  hw/ppc_oldworld.c        |    2 +-
> >  hw/ppc_prep.c            |    4 +-
> >  hw/ppce500_pci.c         |    4 +-
> >  hw/prep_pci.c            |    4 +-
> >  hw/q35.h                 |    4 +-
> >  hw/qxl.h                 |    2 +-
> >  hw/r2d.c                 |    2 +-
> >  hw/realview.c            |    2 +-
> >  hw/rtl8139.c             |    2 +-
> >  hw/serial-pci.c          |    2 +-
> >  hw/sga.c                 |    2 +-
> >  hw/sh_pci.c              |    4 +-
> >  hw/shpc.c                |  681 ---------------
> >  hw/shpc.h                |   48 -
> >  hw/slotid_cap.c          |   44 -
> >  hw/slotid_cap.h          |   11 -
> >  hw/smbus_ich9.c          |    2 +-
> >  hw/spapr.c               |    4 +-
> >  hw/spapr_pci.c           |   10 +-
> >  hw/spapr_pci.h           |    4 +-
> >  hw/sun4u.c               |    2 +-
> >  hw/unin_pci.c            |    4 +-
> >  hw/usb/hcd-ehci-pci.c    |    2 +-
> >  hw/usb/hcd-ohci.c        |    2 +-
> >  hw/usb/hcd-uhci.c        |    2 +-
> >  hw/usb/hcd-xhci.c        |    6 +-
> >  hw/versatile_pci.c       |    4 +-
> >  hw/versatilepb.c         |    2 +-
> >  hw/vfio_pci.c            |    6 +-
> >  hw/vga-pci.c             |    2 +-
> >  hw/vga.c                 |    2 +-
> >  hw/virtio-balloon.h      |    2 +-
> >  hw/virtio-net.h          |    2 +-
> >  hw/virtio-pci.c          |    6 +-
> >  hw/virtio-scsi.h         |    2 +-
> >  hw/vmware_vga.c          |    2 +-
> >  hw/vt82c686.c            |    4 +-
> >  hw/wdt_i6300esb.c        |    2 +-
> >  hw/xen-host-pci-device.h |    2 +-
> >  hw/xen_apic.c            |    2 +-
> >  hw/xen_platform.c        |    2 +-
> >  hw/xen_pt.c              |    2 +-
> >  hw/xen_pt.h              |    2 +-
> >  hw/xio3130_downstream.c  |    6 +-
> >  hw/xio3130_downstream.h  |    2 +-
> >  hw/xio3130_upstream.c    |    6 +-
> >  hw/xio3130_upstream.h    |    2 +-
> >  kvm-all.c                |    2 +-
> >  kvm-stub.c               |    2 +-
> >  monitor.c                |    2 +-
> >  target-i386/kvm.c        |    2 +-
> >  xen-all.c                |    2 +-
> >  162 files changed, 9173 insertions(+), 9176 deletions(-)
> >  delete mode 100644 hw/msi.c
> >  delete mode 100644 hw/msi.h
> >  delete mode 100644 hw/msix.c
> >  delete mode 100644 hw/msix.h
> >  delete mode 100644 hw/pci-hotplug.c
> >  delete mode 100644 hw/pci-stub.c
> >  delete mode 100644 hw/pci.c
> >  delete mode 100644 hw/pci.h
> >  create mode 100644 hw/pci/Makefile.objs
> >  create mode 100644 hw/pci/msi.c
> >  create mode 100644 hw/pci/msi.h
> >  create mode 100644 hw/pci/msix.c
> >  create mode 100644 hw/pci/msix.h
> >  create mode 100644 hw/pci/pci-hotplug.c
> >  create mode 100644 hw/pci/pci-stub.c
> >  create mode 100644 hw/pci/pci.c
> >  create mode 100644 hw/pci/pci.h
> >  create mode 100644 hw/pci/pci_bridge.c
> >  create mode 100644 hw/pci/pci_bridge.h
> >  create mode 100644 hw/pci/pci_bus.h
> >  create mode 100644 hw/pci/pci_host.c
> >  create mode 100644 hw/pci/pci_host.h
> >  create mode 100644 hw/pci/pci_ids.h
> >  create mode 100644 hw/pci/pci_regs.h
> >  create mode 100644 hw/pci/pcie.c
> >  create mode 100644 hw/pci/pcie.h
> >  create mode 100644 hw/pci/pcie_aer.c
> >  create mode 100644 hw/pci/pcie_aer.h
> >  create mode 100644 hw/pci/pcie_host.c
> >  create mode 100644 hw/pci/pcie_host.h
> >  create mode 100644 hw/pci/pcie_port.c
> >  create mode 100644 hw/pci/pcie_port.h
> >  create mode 100644 hw/pci/pcie_regs.h
> >  create mode 100644 hw/pci/shpc.c
> >  create mode 100644 hw/pci/shpc.h
> >  create mode 100644 hw/pci/slotid_cap.c
> >  create mode 100644 hw/pci/slotid_cap.h
> >  delete mode 100644 hw/pci_bridge.c
> >  delete mode 100644 hw/pci_bridge.h
> >  delete mode 100644 hw/pci_host.c
> >  delete mode 100644 hw/pci_host.h
> >  delete mode 100644 hw/pci_ids.h
> >  delete mode 100644 hw/pci_internals.h
> >  delete mode 100644 hw/pci_regs.h
> >  delete mode 100644 hw/pcie.c
> >  delete mode 100644 hw/pcie.h
> >  delete mode 100644 hw/pcie_aer.c
> >  delete mode 100644 hw/pcie_aer.h
> >  delete mode 100644 hw/pcie_host.c
> >  delete mode 100644 hw/pcie_host.h
> >  delete mode 100644 hw/pcie_port.c
> >  delete mode 100644 hw/pcie_port.h
> >  delete mode 100644 hw/pcie_regs.h
> >  delete mode 100644 hw/shpc.c
> >  delete mode 100644 hw/shpc.h
> >  delete mode 100644 hw/slotid_cap.c
> >  delete mode 100644 hw/slotid_cap.h
> >
> > --
> > MST
> >

      reply	other threads:[~2012-12-12 20:55 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-12 13:13 [Qemu-devel] [PATCH 0/8] pci core reorg Michael S. Tsirkin
2012-12-12 13:14 ` [Qemu-devel] [PATCH 1/8] pci: prepare makefiles for pci code reorganization Michael S. Tsirkin
2012-12-12 13:14 ` [Qemu-devel] [PATCH 2/8] MAINTAINERS: add hw/pci/ to list of PCI files Michael S. Tsirkin
2012-12-12 13:14 ` [Qemu-devel] [PATCH 3/8] pci: move pci core code to hw/pci Michael S. Tsirkin
2012-12-12 19:53   ` Blue Swirl
2012-12-12 20:56     ` Michael S. Tsirkin
2012-12-12 13:14 ` [Qemu-devel] [PATCH 4/8] pci: update all users to look in pci/ Michael S. Tsirkin
2012-12-12 13:14 ` [Qemu-devel] [PATCH 6/8] Revert "pci: prepare makefiles for pci code reorganization" Michael S. Tsirkin
2012-12-12 13:14 ` [Qemu-devel] [PATCH 5/8] pci: make external dependencies explicit Michael S. Tsirkin
2012-12-12 19:49   ` Blue Swirl
2012-12-12 20:53     ` Michael S. Tsirkin
2012-12-12 13:14 ` [Qemu-devel] [PATCH 7/8] pci: rename pci_internals.h pci_bus.h Michael S. Tsirkin
2012-12-12 19:56   ` Blue Swirl
2012-12-12 20:59     ` Michael S. Tsirkin
2012-12-12 13:14 ` [Qemu-devel] [PATCH 8/8] pci_bus: update comment Michael S. Tsirkin
2012-12-12 13:51 ` [Qemu-devel] [PATCH 0/8] pci core reorg Anthony Liguori
2012-12-12 13:59   ` Paolo Bonzini
2012-12-12 20:00 ` Blue Swirl
2012-12-12 20:58   ` 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=20121212205830.GE20201@redhat.com \
    --to=mst@redhat.com \
    --cc=blauwirbel@gmail.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 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.