Skip to content

Refactor portio dispatching

Jan Kiszka qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v3 Latest14 patches 50 repliesIn review

Changes in v3 from the cover letter

- decouple vmport from portio types
- removed portio traces from memory.h, consolidating it in ioport.h

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/14adlib: replace register_ioport*hw/audio/adlib.c+12 -80 replies
2/14applesmc: replace register_ioport*hw/misc/applesmc.c+38 -120 replies
3/14wdt_ib700: replace register_ioport*hw/watchdog/wdt_ib700.c+10 -20 replies
4/14i82374: replace register_ioport*hw/dma/i82374.c+13 -50 replies
5/14prep: replace register_ioport*hw/ppc/prep.c+15 -80 replies
6/14vt82c686: replace register_ioport*hw/isa/vt82c686.c+26 -140 replies
7/14Privatize register_ioport_read/writeinclude/exec/ioport.h ioport.c+4 -80 replies
8/14isa: implement isa_is_ioport_assigned via memory_region_findhw/acpi/piix4.c hw/isa/lpc_ich9.c include/exec/ioport.h +1 more+10 -160 replies
9/14vmware-vga: Accept unaligned I/O accesseshw/display/vmware_vga.c+4 -00 replies
10/14xen: Mark fixed platform I/O as unalignedhw/xen/xen_platform.c+4 -00 replies
11/14ioport: Switch dispatching to memory core layerexec.c include/exec/ioport.h include/exec/memory-internal.h +3 more+101 -15950 replies
12/14ioport: Remove unused old dispatching servicesinclude/exec/ioport.h include/exec/iorange.h include/exec/memory.h +1 more+0 -2830 replies
13/14vmport: Disentangle read handler type from portiohw/misc/vmport.c include/hw/i386/pc.h+6 -40 replies
14/14ioport: Move portio types to ioport.hinclude/exec/ioport.h include/exec/memory.h+11 -190 replies

Reviews trailers per patch

None of the 14 patches has a Reviewed-by or Acked-by.

PatchHervé Poussineau
SeriesT-b
1/14
2/14
3/14
4/14
5/14
6/14
7/14
8/14
9/14
10/14
11/14
12/14
13/14
14/14

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [Qemu-devel] [PATCH v3 00/14] Refactor portio dispatching

Changes in v3:
- decouple vmport from portio types
- removed portio traces from memory.h, consolidating it in ioport.h

CC Jan Kiszka <[email protected]>

Jan Kiszka (14):
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
vmport: Disentangle read handler type from portio
ioport: Move portio types to ioport.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/misc/vmport.c               |    4 +-
 hw/ppc/prep.c                  |   23 ++-
 hw/watchdog/wdt_ib700.c        |   12 +-
 hw/xen/xen_platform.c          |    4 +
 include/exec/ioport.h          |   26 +--
 include/exec/iorange.h         |   31 ----
 include/exec/memory-internal.h |    2 -
 include/exec/memory.h          |   25 ---
 include/hw/i386/pc.h           |    6 +-
 ioport.c                       |  380 +++++++++++-----------------------------
 memory.c                       |   88 ---------
 19 files changed, 247 insertions(+), 531 deletions(-)
 delete mode 100644 include/exec/iorange.h
Signature · 1 line
1.7.3.4