qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/5] Remove cpu_register_io_memory
@ 2012-03-08 17:20 Avi Kivity
  2012-03-08 17:20 ` [Qemu-devel] [PATCH 1/5] memory: make phys_page_find() return an unadjusted section Avi Kivity
                   ` (4 more replies)
  0 siblings, 5 replies; 15+ messages in thread
From: Avi Kivity @ 2012-03-08 17:20 UTC (permalink / raw)
  To: qemu-devel

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(-)

-- 
1.7.9

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2012-03-19 10:48 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-08 17:20 [Qemu-devel] [PATCH 0/5] Remove cpu_register_io_memory Avi Kivity
2012-03-08 17:20 ` [Qemu-devel] [PATCH 1/5] memory: make phys_page_find() return an unadjusted section Avi Kivity
2012-03-08 17:20 ` [Qemu-devel] [PATCH 2/5] memory: store section indices in iotlb instead of io indices Avi Kivity
2012-03-08 17:20 ` [Qemu-devel] [PATCH 3/5] exec: fix code tlb entry misused as iotlb in get_page_addr_code() Avi Kivity
2012-03-15 19:23   ` jcmvbkbc
2012-03-18 10:26     ` Avi Kivity
2012-03-18 11:07       ` Max Filippov
2012-03-18 16:33         ` Avi Kivity
2012-03-18 16:45           ` Max Filippov
2012-03-08 17:20 ` [Qemu-devel] [PATCH 4/5] memory: dispatch directly via MemoryRegion Avi Kivity
2012-03-08 17:20 ` [Qemu-devel] [PATCH 5/5] memory: get rid of cpu_register_io_memory() Avi Kivity
2012-03-19  4:52   ` TeLeMan
2012-03-19  9:16     ` Avi Kivity
2012-03-19 10:37       ` TeLeMan
2012-03-19 10:48         ` Avi Kivity

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).