[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 0/3][RESEND] I/O memory registration simplification
From: |
Avi Kivity |
Subject: |
[Qemu-devel] [PATCH 0/3][RESEND] I/O memory registration simplification |
Date: |
Sun, 14 Jun 2009 11:38:50 +0300 |
This patchset simplifies I/O memory registration by a tiny bit, paving the way
for more involved changes. First, the unused io_index parameter of
cpu_register_io_memory() is removed. Second, pci_register_io_region() is
renamed to pci_register_bar(), allowing pci_register_io_region() to be used
for othe things.
The diffstat looks frightening, but the changes are quite simple.
Changes from original submission
- sent as a single offering instead of two patchsets
- rebased to latest upstream
Avi Kivity (3):
Remove io_index argument from cpu_register_io_memory()
Rearrange io_mem_init()
Rename pci_register_io_region() to pci_register_bar()
cpu-common.h | 3 +-
exec.c | 60 +++++++++++++++++++++++++++---------------------
hw/ac97.c | 4 +-
hw/apb_pci.c | 8 +++---
hw/apic.c | 2 +-
hw/arm_gic.c | 2 +-
hw/arm_sysctl.c | 2 +-
hw/arm_timer.c | 4 +-
hw/armv7m.c | 2 +-
hw/axis_dev88.c | 4 +-
hw/cirrus_vga.c | 12 +++++-----
hw/cs4231.c | 2 +-
hw/cuda.c | 2 +-
hw/dp8393x.c | 2 +-
hw/ds1225y.c | 4 +-
hw/e1000.c | 6 ++--
hw/eccmemctl.c | 4 +-
hw/eepro100.c | 8 +++---
hw/es1370.c | 2 +-
hw/escc.c | 4 +-
hw/esp.c | 2 +-
hw/etraxfs_dma.c | 2 +-
hw/etraxfs_eth.c | 2 +-
hw/etraxfs_pic.c | 2 +-
hw/etraxfs_ser.c | 2 +-
hw/etraxfs_timer.c | 2 +-
hw/fdc.c | 4 +-
hw/fw_cfg.c | 4 +-
hw/g364fb.c | 2 +-
hw/grackle_pci.c | 4 +-
hw/gt64xxx.c | 2 +-
hw/heathrow_pic.c | 2 +-
hw/hpet.c | 2 +-
hw/ide.c | 20 ++++++++--------
hw/integratorcp.c | 6 ++--
hw/ioapic.c | 2 +-
hw/iommu.c | 2 +-
hw/isa_mmio.c | 2 +-
hw/jazz_led.c | 2 +-
hw/lsi53c895a.c | 10 ++++----
hw/m48t59.c | 2 +-
hw/mac_dbdma.c | 2 +-
hw/mac_nvram.c | 2 +-
hw/macio.c | 2 +-
hw/mc146818rtc.c | 2 +-
hw/mcf5206.c | 2 +-
hw/mcf5208.c | 4 +-
hw/mcf_fec.c | 2 +-
hw/mcf_intc.c | 2 +-
hw/mcf_uart.c | 2 +-
hw/mips_jazz.c | 4 +-
hw/mips_malta.c | 2 +-
hw/mips_r4k.c | 2 +-
hw/mpcore.c | 2 +-
hw/mst_fpga.c | 2 +-
hw/musicpal.c | 18 +++++++-------
hw/ne2000.c | 2 +-
hw/omap.h | 6 ++--
hw/omap1.c | 48 +++++++++++++++++++-------------------
hw/omap2.c | 32 +++++++++++++-------------
hw/omap_dma.c | 4 +-
hw/omap_dss.c | 10 ++++----
hw/omap_i2c.c | 4 +-
hw/omap_lcdc.c | 2 +-
hw/omap_mmc.c | 4 +-
hw/omap_sx1.c | 10 ++++----
hw/onenand.c | 2 +-
hw/openpic.c | 8 +++---
hw/palm.c | 8 +++---
hw/parallel.c | 2 +-
hw/pci.c | 2 +-
hw/pci.h | 2 +-
hw/pckbd.c | 2 +-
hw/pcnet.c | 8 +++---
hw/pflash_cfi01.c | 2 +-
hw/pflash_cfi02.c | 2 +-
hw/pl011.c | 2 +-
hw/pl022.c | 2 +-
hw/pl031.c | 2 +-
hw/pl050.c | 2 +-
hw/pl061.c | 2 +-
hw/pl080.c | 2 +-
hw/pl110.c | 2 +-
hw/pl181.c | 2 +-
hw/pl190.c | 2 +-
hw/ppc405_boards.c | 4 +-
hw/ppc4xx_devs.c | 2 +-
hw/ppc4xx_pci.c | 6 ++--
hw/ppc_newworld.c | 2 +-
hw/ppc_prep.c | 6 ++--
hw/ppce500_pci.c | 6 ++--
hw/prep_pci.c | 2 +-
hw/pxa2xx.c | 24 +++++++++---------
hw/pxa2xx_dma.c | 2 +-
hw/pxa2xx_gpio.c | 2 +-
hw/pxa2xx_keypad.c | 2 +-
hw/pxa2xx_lcd.c | 2 +-
hw/pxa2xx_mmci.c | 2 +-
hw/pxa2xx_pcmcia.c | 6 ++--
hw/pxa2xx_pic.c | 2 +-
hw/pxa2xx_timer.c | 2 +-
hw/r2d.c | 2 +-
hw/rc4030.c | 4 +-
hw/realview_gic.c | 2 +-
hw/rtl8139.c | 6 ++--
hw/sbi.c | 2 +-
hw/serial.c | 2 +-
hw/sh7750.c | 6 +---
hw/sh_intc.c | 2 +-
hw/sh_pci.c | 6 ++--
hw/sh_serial.c | 2 +-
hw/sh_timer.c | 2 +-
hw/slavio_intctl.c | 6 +---
hw/slavio_misc.c | 16 ++++++------
hw/slavio_timer.c | 2 +-
hw/sm501.c | 4 +-
hw/smc91c111.c | 2 +-
hw/sparc32_dma.c | 2 +-
hw/spitz.c | 2 +-
hw/stellaris.c | 8 +++---
hw/stellaris_enet.c | 2 +-
hw/sun4c_intctl.c | 2 +-
hw/sun4u.c | 4 +-
hw/syborg_fb.c | 2 +-
hw/syborg_interrupt.c | 2 +-
hw/syborg_keyboard.c | 2 +-
hw/syborg_pointer.c | 2 +-
hw/syborg_rtc.c | 2 +-
hw/syborg_serial.c | 2 +-
hw/syborg_timer.c | 2 +-
hw/syborg_virtio.c | 2 +-
hw/tc6393xb.c | 2 +-
hw/tcx.c | 4 +-
hw/tusb6010.c | 2 +-
hw/unin_pci.c | 12 +++++-----
hw/usb-ohci.c | 4 +-
hw/usb-uhci.c | 4 +-
hw/versatile_pci.c | 2 +-
hw/versatilepb.c | 2 +-
hw/vga.c | 10 ++++----
hw/virtio-pci.c | 2 +-
hw/vmware_vga.c | 6 ++--
hw/wdt_i6300esb.c | 4 +-
hw/xilinx_ethlite.c | 2 +-
hw/xilinx_intc.c | 2 +-
hw/xilinx_timer.c | 2 +-
hw/xilinx_uartlite.c | 2 +-
hw/zaurus.c | 2 +-
kqemu.c | 2 +-
149 files changed, 343 insertions(+), 340 deletions(-)
- [Qemu-devel] [PATCH 0/3][RESEND] I/O memory registration simplification,
Avi Kivity <=