From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:36910) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S76qn-0004hm-Bt for qemu-devel@nongnu.org; Mon, 12 Mar 2012 11:07:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S76qi-0003la-JL for qemu-devel@nongnu.org; Mon, 12 Mar 2012 11:07:52 -0400 Received: from mx1.redhat.com ([209.132.183.28]:59674) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S76qi-0003l8-Ao for qemu-devel@nongnu.org; Mon, 12 Mar 2012 11:07:48 -0400 Message-ID: <4F5E0378.9080705@redhat.com> Date: Mon, 12 Mar 2012 16:08:56 +0200 From: Avi Kivity MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] [PULL] Removal of cpu_register_io_memory List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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