From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60282) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uq4PU-0002Cj-Qw for qemu-devel@nongnu.org; Fri, 21 Jun 2013 12:42:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Uq4PT-000705-2n for qemu-devel@nongnu.org; Fri, 21 Jun 2013 12:42:04 -0400 Received: from david.siemens.de ([192.35.17.14]:34216) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uq4PS-0006zw-OP for qemu-devel@nongnu.org; Fri, 21 Jun 2013 12:42:02 -0400 From: Jan Kiszka Date: Fri, 21 Jun 2013 18:41:32 +0200 Message-Id: Subject: [Qemu-devel] [PATCH v2 00/13] Refactor portio dispatching List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel Cc: Paolo Bonzini , Liu Ping Fan , malc , =?UTF-8?q?Andreas=20F=C3=A4rber?= First, this series converts the remaining users of register_ioport* to portio lists. Then it replaces the current portio dispatcher with the existing one for MMIO and removes several lines of code. This also allows to build BQL-free portio on top once we enhance the memory layer accordingly. Changes in v2: - rebased over master (which already contains some patches from v1) - refactored PIO dispatching according to Paolo's suggestions Jan CC: malc Jan Kiszka (13): adlib: replace register_ioport* applesmc: replace register_ioport* wdt_ib700: replace register_ioport* i82374: replace register_ioport* prep: replace register_ioport* vt82c686: replace register_ioport* Privatize register_ioport_read/write isa: implement isa_is_ioport_assigned via memory_region_find vmware-vga: Accept unaligned I/O accesses xen: Mark fixed platform I/O as unaligned ioport: Switch dispatching to memory core layer ioport: Remove unused old dispatching services ioport: Move IOPortRead/WriteFunc typedefs to memory.h exec.c | 27 --- hw/acpi/piix4.c | 9 +- hw/audio/adlib.c | 20 ++- hw/display/vmware_vga.c | 4 + hw/dma/i82374.c | 18 ++- hw/isa/lpc_ich9.c | 9 +- hw/isa/vt82c686.c | 40 +++-- hw/misc/applesmc.c | 50 ++++-- hw/ppc/prep.c | 23 ++- hw/watchdog/wdt_ib700.c | 12 +- hw/xen/xen_platform.c | 4 + include/exec/ioport.h | 19 +-- include/exec/iorange.h | 31 ---- include/exec/memory-internal.h | 2 - include/exec/memory.h | 18 +-- ioport.c | 380 +++++++++++----------------------------- memory.c | 88 --------- 17 files changed, 236 insertions(+), 518 deletions(-) delete mode 100644 include/exec/iorange.h -- 1.7.3.4