Received: from eggs.gnu.org ([208.118.235.92]:44657) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UekGA-0003NA-Qr for qemu-devel@nongnu.org; Tue, 21 May 2013 06:57:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UekG9-0004w7-On for qemu-devel@nongnu.org; Tue, 21 May 2013 06:57:38 -0400 Received: from mail-ea0-x22e.google.com ([2a00:1450:4013:c01::22e]:45508) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UekG9-0004w0-Ir for qemu-devel@nongnu.org; Tue, 21 May 2013 06:57:37 -0400 Received: by mail-ea0-f174.google.com with SMTP id z7so293257eaf.5 for ; Tue, 21 May 2013 03:57:36 -0700 (PDT) Sender: Paolo Bonzini From: Paolo Bonzini Date: Tue, 21 May 2013 12:57:01 +0200 Message-Id: <1369133851-1894-1-git-send-email-pbonzini@redhat.com> Subject: [Qemu-devel] [PATCH 00/30] Introduction of IOMMUs into the memory API List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: peter.maydell@linaro.org, jan.kiszka@gmail.com, David Gibson This is part 1 of the memory API updates for 1.6. (Part 2 is the introduction of get/set_owner, part 3 is the introduction of the RCU-style flatview). Compared to the first submissions, there are a few extra cleanup patches, and address_space_rw/read/write grew a return value so that the existing DMAContext API doesn't need to change. Paolo Alexey Kardashevskiy (1): memory: give name to every AddressSpace Avi Kivity (5): memory: fix address space initialization/destruction memory: limit sections in the radix tree to the actual address space size memory: iommu support vfio: abort if an emulated iommu is used pci: use memory core for iommu support David Gibson (1): memory: Add iommu map/unmap notifiers Jan Kiszka (3): memory: Replace open-coded memory_region_is_romd memory: Rename readable flag to romd_mode memory: Introduce address_space_lookup_region Paolo Bonzini (20): exec: remove obsolete comment exec: eliminate qemu_put_ram_ptr exec: make qemu_get_ram_ptr private exec: eliminate stq_phys_notdirty memory: assert that PhysPageEntry's ptr does not overflow memory: allow memory_region_find() to run on non-root memory regions memory: do not duplicate memory_region_destructor_none memory: make memory_global_sync_dirty_bitmap take an AddressSpace s390x: reduce TARGET_PHYS_ADDR_SPACE_BITS to 62 memory: create FlatView for new address spaces memory: add address_space_valid memory: clean up phys_page_find memory: add address_space_translate memory: add return value to address_space_rw/read/write spapr: convert TCE API to use an opaque type spapr: make IOMMU translation go through IOMMUTLBEntry spapr: use memory core for iommu support dma: eliminate old-style IOMMU support spapr_vio: take care of creating our own AddressSpace/DMAContext dma: eliminate DMAContext arch_init.c | 2 +- cputlb.c | 20 +-- dma-helpers.c | 185 ++--------------------- exec.c | 332 ++++++++++++++++++++++------------------- hw/block/pflash_cfi01.c | 6 +- hw/block/pflash_cfi02.c | 2 +- hw/dma/pl330.c | 8 +- hw/ide/ahci.c | 18 +-- hw/ide/ahci.h | 4 +- hw/ide/ich.c | 2 +- hw/ide/macio.c | 4 +- hw/misc/vfio.c | 2 + hw/pci/pci.c | 46 +++--- hw/ppc/spapr_iommu.c | 117 +++++++-------- hw/ppc/spapr_pci.c | 15 +- hw/ppc/spapr_vio.c | 13 +- hw/scsi/megasas.c | 5 +- hw/scsi/virtio-scsi.c | 2 +- hw/scsi/vmw_pvscsi.c | 2 +- hw/sd/sdhci.c | 22 +-- hw/usb/hcd-ehci-pci.c | 4 +- hw/usb/hcd-ehci-sysbus.c | 2 +- hw/usb/hcd-ehci.c | 12 +- hw/usb/hcd-ehci.h | 2 +- hw/usb/hcd-ohci.c | 30 ++-- hw/usb/libhw.c | 4 +- include/exec/cpu-common.h | 4 - include/exec/cputlb.h | 12 +- include/exec/memory-internal.h | 1 + include/exec/memory.h | 172 +++++++++++++++------ include/exec/poison.h | 1 - include/hw/pci-host/spapr.h | 3 +- include/hw/pci/pci.h | 21 ++- include/hw/pci/pci_bus.h | 4 +- include/hw/ppc/spapr.h | 12 +- include/hw/ppc/spapr_vio.h | 21 +-- include/sysemu/dma.h | 143 +++++------------- memory.c | 111 ++++++++++---- target-s390x/cpu.h | 5 +- trace-events | 3 - translate-all.c | 8 +- 41 files changed, 654 insertions(+), 728 deletions(-) -- 1.8.1.4