Remove cpu_register_io_memory
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 9 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | memory: make phys_page_find() return an unadjusted sectionexec.c | +102 | 0 replies | |
| 2/5 | memory: store section indices in iotlb instead of io indicesexec-all.h exec.c softmmu_template.h | +24 | 0 replies | |
| 3/5 | exec: fix code tlb entry misused as iotlb in get_page_addr_code()exec.c | +1 | 5 replies | |
| 4/5 | memory: dispatch directly via MemoryRegionexec-all.h exec.c memory.c +1 more | +69 | 0 replies | |
| 5/5 | memory: get rid of cpu_register_io_memory()cpu-all.h exec-all.h exec-obsolete.h +2 more | +1 | 4 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [Qemu-devel] [PATCH 0/5] Remove cpu_register_io_memory
The current code allows us direct lookup from physical address (or TLB entry) to a MemoryRegion, yet we still dispatch accesses via the ram_addr returned by cpu_register_io_memory(). This is clumsy, so remove this extra indirection.
Avi Kivity (5):
memory: make phys_page_find() return an unadjusted section
memory: store section indices in iotlb instead of io indices
exec: fix code tlb entry misused as iotlb in get_page_addr_code()
memory: dispatch directly via MemoryRegion
memory: get rid of cpu_register_io_memory()
cpu-all.h | 8 - exec-all.h | 9 +- exec-obsolete.h | 3 - exec.c | 362 ++++++++++++++++++++-------------------------------- memory.c | 13 +- softmmu_template.h | 40 +++--- 6 files changed, 168 insertions(+), 267 deletions(-)
Signature · 1 line
1.7.9