[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 00/25] pci: various pci clean up and pci express sup
From: |
Isaku Yamahata |
Subject: |
[Qemu-devel] [PATCH 00/25] pci: various pci clean up and pci express support. V2 |
Date: |
Fri, 2 Oct 2009 19:31:32 +0900 |
This patch set is preliminary for q35 based chipset support.
This patch sets does various pci related clean ups and
64bit bar, pciemmconfig and pci bridge support.
I'm aware that some of patches are already conflicting with
other's patch. It is appriciated to merge some first part of
patches which doesn't conflict.
thanks,
changes from V1:
- introduced pcibus_t
- dropped pci_config_[sg]et_xxx()
- many code clean up
- reworked pci_host.h
- reworked pci bus search to introduce tree representation for pci bus
- dropped some non essential patches
Isaku Yamahata (25):
pci: fix PCI_DPRINTF() wrt variadic macro.
pci: use appropriate PRIs in PCI_DPRINTF() for portability.
pci: introduce constant PCI_NUM_PINS for the number of interrupt
pins, 4.
pci: use the symbolic constant, PCI_ROM_ADDRESS_ENABLE instead of 1.
pci: use PCI_SLOT() and PCI_FUNC().
pci: define a constant to represent a unmapped bar and use it.
pci: helper functions to access PCIDevice::config
pci: use helper functions to access pci config space.
pci: introduce pcibus_t to represent pci bus address/size instead of
uint32_t
pci: introduce FMT_pcibus for printf format for pcibus_t.
pci: typedef pcibus_t as uint64_t instead of uint32_t.
pci: 64bit bar support.
pci: make pci configuration transaction more accurate.
pci: factor out the logic to get pci device from address.
pci_host.h: split non-inline static function in pci_host.h into
pci_host.c
pci: pcie host and mmcfg support.
pci: fix pci_default_write_config()
pci: add helper functions for pci config write function.
pci: use helper function in pci_default_write_config()
pci: factor out config update logic.
pci: make bar update function aware of pci bridge.
pci/brdige: qdevfy and initialize secondary bus and subordinate bus.
pci: add helper function to initialize wmask.
pci: initialize wmask according to pci header type.
pci/monitor: print out bridge's filtering values and so on.
Makefile.target | 8 +-
hw/ac97.c | 2 +-
hw/apb_pci.c | 31 +-
hw/cirrus_vga.c | 8 +-
hw/e1000.c | 12 +-
hw/eepro100.c | 10 +-
hw/es1370.c | 2 +-
hw/grackle_pci.c | 24 +-
hw/gt64xxx.c | 11 +-
hw/hw.h | 12 +
hw/ide/pci.c | 4 +-
hw/lsi53c895a.c | 6 +-
hw/macio.c | 2 +-
hw/msix.c | 2 +-
hw/msix.h | 3 +-
hw/ne2000.c | 2 +-
hw/openpic.c | 2 +-
hw/pci-hotplug.c | 6 +-
hw/pci.c | 920 +++++++++++++++++++++++++++++++++--------
hw/pci.h | 194 ++++++++-
hw/{pci_host.h => pci_host.c} | 61 +++-
hw/pci_host.h | 110 ++----
hw/pcnet.c | 9 +-
hw/piix_pci.c | 16 +-
hw/ppc4xx_pci.c | 18 +-
hw/ppce500_pci.c | 17 +-
hw/prep_pci.c | 14 +-
hw/rtl8139.c | 4 +-
hw/sun4u.c | 2 +-
hw/unin_pci.c | 47 +--
hw/usb-ohci.c | 2 +-
hw/usb-uhci.c | 2 +-
hw/vga-pci.c | 2 +-
hw/virtio-pci.c | 2 +-
hw/vmware_vga.c | 4 +-
hw/wdt_i6300esb.c | 5 +-
36 files changed, 1110 insertions(+), 466 deletions(-)
copy hw/{pci_host.h => pci_host.c} (69%)
- [Qemu-devel] [PATCH 00/25] pci: various pci clean up and pci express support. V2,
Isaku Yamahata <=
- [Qemu-devel] [PATCH 02/25] pci: use appropriate PRIs in PCI_DPRINTF() for portability., Isaku Yamahata, 2009/10/02
- [Qemu-devel] [PATCH 15/25] pci_host.h: split non-inline static function in pci_host.h into pci_host.c, Isaku Yamahata, 2009/10/02
- [Qemu-devel] [PATCH 25/25] pci/monitor: print out bridge's filtering values and so on., Isaku Yamahata, 2009/10/02
- [Qemu-devel] [PATCH 12/25] pci: 64bit bar support., Isaku Yamahata, 2009/10/02
- [Qemu-devel] [PATCH 10/25] pci: introduce FMT_pcibus for printf format for pcibus_t., Isaku Yamahata, 2009/10/02
- [Qemu-devel] [PATCH 14/25] pci: factor out the logic to get pci device from address., Isaku Yamahata, 2009/10/02
- [Qemu-devel] [PATCH 07/25] pci: helper functions to access PCIDevice::config, Isaku Yamahata, 2009/10/02
- [Qemu-devel] [PATCH 21/25] pci: make bar update function aware of pci bridge., Isaku Yamahata, 2009/10/02
- [Qemu-devel] [PATCH 13/25] pci: make pci configuration transaction more accurate., Isaku Yamahata, 2009/10/02
- [Qemu-devel] [PATCH 24/25] pci: initialize wmask according to pci header type., Isaku Yamahata, 2009/10/02