Here is the patch series V2 to clean up PCI express patches. Changes from v1: - replaced patches with ones proposed by Michael. - compilation fix.
thanks, Isaku Yamahata (17): pci: fix pci_info_device(). pci: move pci_data_{read, write}() declaration from pci.h to pci_host.h pci: remove pci_addr_to_config() by open code pci: rename pci_addr_to_dev(), pcie_mmcfg_addr_to_dev(). pci: shorten pci_host_{conf, data}_register_xxx function a bit. pci: remove pci_sub_bus() by open coding. pci: s/pci_find_host_bus/pci_find_root_bus/g pci_host: remove unnecessary & 0xff. pci: kill unnecessary included in pci.c pci: clean up of pci_init_wmask(). pci: remove some unnecessary comment in pci.h pci: move typedef, PCIHostState, PCIExpressHost to qemu-common.h. pci: remove unused constants. pci: clean up of pci_update_mappings() pci: remove magic number, 256 in pci.c pci: fix pci_config_get_io_base(). pci: pci bridge related clean up. Michael S. Tsirkin (3): pci: simplify (pci_/pcie_mmcfg_)data_read() pci: split up up pci_update mappings pci: convert goto into scope in bridge_filter hw/apb_pci.c | 4 +- hw/grackle_pci.c | 8 +- hw/pci-hotplug.c | 4 +- hw/pci.c | 191 +++++++++++++++++++++++++++------------------------ hw/pci.h | 25 +------ hw/pci_host.c | 50 +++++--------- hw/pci_host.h | 15 +++-- hw/pcie_host.c | 31 ++------ hw/pcie_host.h | 4 +- hw/piix_pci.c | 2 +- hw/ppc4xx_pci.c | 2 +- hw/ppce500_pci.c | 4 +- hw/prep_pci.c | 2 +- hw/sh_pci.c | 1 + hw/unin_pci.c | 16 ++-- hw/versatile_pci.c | 1 + qemu-common.h | 2 + 17 files changed, 167 insertions(+), 195 deletions(-)