Skip to content

Kill old-style I/O dispatch

Avi Kivity qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest16 patches 9 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/16memory: move endianness compensation to memory coreexec-obsolete.h exec.c memory.c+41 -1402 replies
2/16exec: make phys_page_find() return a temporaryexec.c+48 -1000 replies
3/16memory: move mmio access to functionsexec-all.h exec.c memory.c +1 more+55 -390 replies
4/16memory: remove MemoryRegion::backend_registeredmemory.c memory.h+4 -230 replies
5/16Fix wrong region_offset when overlaying a page with anotherexec.c+1 -00 replies
6/16Avoid range comparisons on io index typesexec-all.h exec.c memory.c +1 more+27 -212 replies
7/16Uninline get_page_addr_code()exec-all.h exec.c+27 -250 replies
8/16Convert IO_MEM_{RAM, ROM, UNASSIGNED, NOTDIRTY} to MemoryRegionscpu-common.h exec.c memory.c +1 more+99 -1473 replies
9/16Switch cpu_register_physical_memory_log() to use MemoryRegionsexec-obsolete.h exec.c memory.c+37 -530 replies
10/16Convert the subpage wrapper to be a MemoryRegionexec.c+18 -520 replies
11/16Convert IO_MEM_SUBPAGE_RAM to be a MemoryRegioncpu-common.h exec.c+24 -490 replies
12/16Convert io_mem_watch to be a MemoryRegionexec.c+26 -470 replies
13/16Direct dispatch through MemoryRegionexec-all.h exec-obsolete.h exec.c +1 more+53 -1181 reply
14/16Remove IO_MEM_SUBPAGEcpu-common.h exec.c memory.c +1 more+7 -60 replies
15/16Drop IO_MEM_ROMDcpu-common.h exec.c memory.c +1 more+17 -140 replies
16/16Remove IO_MEM_SHIFTcpu-all.h cpu-common.h exec.c +1 more+17 -230 replies

Reviews trailers per patch

1 of 16 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchRichard Henderson
SeriesR-b
1/16R-b
2/16
3/16
4/16
5/16
6/16
7/16
8/16
9/16
10/16
11/16
12/16
13/16
14/16
15/16
16/16

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

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 00/16] Kill old-style I/O dispatch

This patchset removes I/O dispatch through CPU{Read,Write}Func and replaces it with direct dispatch through MemoryRegions (except for MemoryRegionOps::old_mmio, of course).

Avi Kivity (16):
memory: move endianness compensation to memory core
exec: make phys_page_find() return a temporary
memory: move mmio access to functions
memory: remove MemoryRegion::backend_registered
Fix wrong region_offset when overlaying a page with another Avoid range comparisons on io index types
Uninline get_page_addr_code()
Convert IO_MEM_{RAM,ROM,UNASSIGNED,NOTDIRTY} to MemoryRegions Switch cpu_register_physical_memory_log() to use MemoryRegions Convert the subpage wrapper to be a MemoryRegion Convert IO_MEM_SUBPAGE_RAM to be a MemoryRegion Convert io_mem_watch to be a MemoryRegion
Direct dispatch through MemoryRegion
Remove IO_MEM_SUBPAGE
Drop IO_MEM_ROMD
Remove IO_MEM_SHIFT

 cpu-all.h          |    2 +-
 cpu-common.h       |   15 +-
 exec-all.h         |   33 +--
 exec-obsolete.h    |   29 +--
 exec.c             |  889 ++++++++++++++++++----------------------------------
 memory.c           |  188 +++++-------
 memory.h           |    3 +-
 softmmu_template.h |   33 ++-
 8 files changed, 418 insertions(+), 774 deletions(-)
Signature · 1 line
1.7.7.1