qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH v3 00/34] pci: handle BAR mapping and byte swapping


From: Blue Swirl
Subject: [Qemu-devel] [PATCH v3 00/34] pci: handle BAR mapping and byte swapping at bus level
Date: Thu, 22 Jul 2010 21:54:14 +0000

In this version, map_func is transformed to post_map_func and the PCI
bus performs always the BAR mapping. Byte swapping (like in v1 but bug
fixed) is moved to host bridges.

I think this would be too big a change for 0.13, otherwise this passes
my quick tests for x86, Sparc64 and PPC.

The series is also available at:
git://repo.or.cz/qemu/blueswirl.git
http://repo.or.cz/r/qemu/blueswirl.git

Blue Swirl (34):
  ioport: separate registration from mapping
  pci: handle BAR mapping at PCI level
  es1370: convert to pci_bar_map
  ebus: convert to pci_bar_map
  macio: convert to pci_bar_map
  ne2000: convert to pci_bar_map
  via: convert to pci_bar_map
  piix: convert to pci_bar_map
  cmd646: convert to pci_bar_map
  openpic: convert to pci_bar_map
  pcnet: convert to pci_bar_map
  rtl8139: convert to pci_bar_map
  usb-ohci: convert to pci_bar_map
  usb-uhci: convert to pci_bar_map
  wdt_i6300esb: convert to pci_bar_map
  pci: add post_map_func, adjust callers
  ac97: convert to pci_bar_map
  cirrus_vga: convert to pci_bar_map
  e1000: convert to pci_bar_map
  eepro100: convert to pci_bar_map
  lsi53c895a: convert to pci_bar_map
  vga-pci: convert to pci_bar_map
  virtio-pci: convert to pci_bar_map
  vmware_vga: convert to pci_bar_map
  pci: remove now unused map_func parameter
  pci: add registration for MMIO manipulation functions
  pci: replace pci_bus_set_mem_base() with bus specific manipulation
  Implement byte swapped MMIO type
  Replace explicit PCI host bridge byte swaps with byte swapping IO
    type
  Remove optional byte swapping for pci_host_*_register_mmio
  vga: refactor vga_init
  vga: make byte swapping selectable
  Replace explicit PCI device byte swaps with byte swapping IO type at
    host bridge
  Compile PCI devices once

 Makefile.objs      |    5 ++
 Makefile.target    |    7 --
 cpu-common.h       |    4 +-
 exec.c             |   42 +++++++++++
 hw/ac97.c          |   56 ++++++++++-----
 hw/apb_pci.c       |   38 ++++++++--
 hw/cirrus_vga.c    |   23 ++----
 hw/dec_pci.c       |    6 +-
 hw/e1000.c         |   21 +-----
 hw/eepro100.c      |   72 +++++++++----------
 hw/es1370.c        |   32 ++++-----
 hw/grackle_pci.c   |   20 +++++-
 hw/gt64xxx.c       |   16 ++++
 hw/ide/cmd646.c    |  149 +++++++++++++++++++++++---------------
 hw/ide/piix.c      |   72 ++++++++++++-------
 hw/ide/via.c       |   65 +++++++++++------
 hw/isa.h           |    1 +
 hw/isa_mmio.c      |   17 ++++-
 hw/lsi53c895a.c    |   47 +++++-------
 hw/macio.c         |  107 +++++++++-------------------
 hw/mips_jazz.c     |    6 ++-
 hw/msix.c          |   21 +-----
 hw/msix.h          |    3 -
 hw/ne2000.c        |   66 +++++++++++------
 hw/openpic.c       |   36 ++--------
 hw/pc.h            |    2 +-
 hw/pci.c           |  205 +++++++++++++++++++++++++++++++++-------------------
 hw/pci.h           |   27 ++++++--
 hw/pci_host.c      |  101 +++++---------------------
 hw/pci_host.h      |    6 +-
 hw/pcnet.c         |   62 ++++++++--------
 hw/ppc4xx_pci.c    |   38 +++++++----
 hw/ppc_mac.h       |    5 +-
 hw/ppc_newworld.c  |    2 +-
 hw/ppc_oldworld.c  |    4 +-
 hw/ppce500_pci.c   |   19 +++++-
 hw/prep_pci.c      |   19 ++++-
 hw/rtl8139.c       |   54 ++++----------
 hw/sh_pci.c        |   16 ++++
 hw/sun4u.c         |   29 +++-----
 hw/unin_pci.c      |   38 ++++++++--
 hw/usb-ohci.c      |   17 +----
 hw/usb-uhci.c      |   31 ++++----
 hw/versatile_pci.c |   15 ++++
 hw/vga-isa-mm.c    |   10 ++-
 hw/vga-isa.c       |    3 +-
 hw/vga-pci.c       |   24 +++---
 hw/vga.c           |   43 ++++-------
 hw/vga_int.h       |    2 +-
 hw/virtio-pci.c    |   47 ++++++++----
 hw/vmware_vga.c    |   96 +++++++++++++++----------
 hw/wdt_i6300esb.c  |   38 ++++------
 ioport.c           |  117 +++++++++++++++++++++++++++---
 ioport.h           |    6 ++
 softmmu_template.h |   16 ++++-
 55 files changed, 1158 insertions(+), 866 deletions(-)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]