qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PULL] Removal of cpu_register_io_memory
@ 2012-03-12 14:08 Avi Kivity
  2012-03-13  2:22 ` Anthony Liguori
  0 siblings, 1 reply; 2+ messages in thread
From: Avi Kivity @ 2012-03-12 14:08 UTC (permalink / raw)
  To: Anthony Liguori, qemu-devel

The memory core now has double indirection during dma or kvm I/O
dispatch: first we lookup a MemoryRegionSection from the memory page
table, then we look up the ram_addr to dispatch the I/O operation.

This patchset eliminates the second lookup.  To do that, we now store a
MemoryRegionSection index in the iotlb instead of a ram_addr.

The patches were posted on the list a few days ago and received no
negative (or positive) review, and testing with the qemu images seems to
work fine.

Please pull from:

  git://git.kernel.org/pub/scm/virt/kvm/qemu-kvm.git memory/core


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

-- 
error compiling committee.c: too many arguments to function

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

* Re: [Qemu-devel] [PULL] Removal of cpu_register_io_memory
  2012-03-12 14:08 [Qemu-devel] [PULL] Removal of cpu_register_io_memory Avi Kivity
@ 2012-03-13  2:22 ` Anthony Liguori
  0 siblings, 0 replies; 2+ messages in thread
From: Anthony Liguori @ 2012-03-13  2:22 UTC (permalink / raw)
  To: Avi Kivity; +Cc: qemu-devel

On 03/12/2012 09:08 AM, Avi Kivity wrote:
> The memory core now has double indirection during dma or kvm I/O
> dispatch: first we lookup a MemoryRegionSection from the memory page
> table, then we look up the ram_addr to dispatch the I/O operation.
>
> This patchset eliminates the second lookup.  To do that, we now store a
> MemoryRegionSection index in the iotlb instead of a ram_addr.
>
> The patches were posted on the list a few days ago and received no
> negative (or positive) review, and testing with the qemu images seems to
> work fine.
>
> Please pull from:
>
>    git://git.kernel.org/pub/scm/virt/kvm/qemu-kvm.git memory/core

Pulled.  Thanks.

Regards,

Anthony Liguori

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

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

end of thread, other threads:[~2012-03-13  2:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-12 14:08 [Qemu-devel] [PULL] Removal of cpu_register_io_memory Avi Kivity
2012-03-13  2:22 ` Anthony Liguori

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