Received: from eggs.gnu.org ([2001:4830:134:3::10]:36316) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UiA12-00033o-0d for qemu-devel@nongnu.org; Thu, 30 May 2013 17:04:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UiA0x-0001Yy-Cz for qemu-devel@nongnu.org; Thu, 30 May 2013 17:04:07 -0400 Received: from mail-ea0-x22d.google.com ([2a00:1450:4013:c01::22d]:34008) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UiA0x-0001YH-76 for qemu-devel@nongnu.org; Thu, 30 May 2013 17:04:03 -0400 Received: by mail-ea0-f173.google.com with SMTP id n15so854862ead.4 for ; Thu, 30 May 2013 14:04:02 -0700 (PDT) Received: from playground.lan (net-37-116-217-184.cust.dsl.vodafone.it. [37.116.217.184]) by mx.google.com with ESMTPSA id y2sm62707218eeu.2.2013.05.30.14.03.59 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Thu, 30 May 2013 14:04:00 -0700 (PDT) Sender: Paolo Bonzini From: Paolo Bonzini Date: Thu, 30 May 2013 23:03:34 +0200 Message-Id: <1369947836-2638-1-git-send-email-pbonzini@redhat.com> Subject: [Qemu-devel] [PULL 00/22] Memory/IOMMU patches, part 2: unassigned access detection List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Anthony, the following changes since commit 6a4e17711442849bf2cc731ccddef5a2a2d92d29: Remove Sun4c, Sun4d and a few CPUs (2013-05-26 11:37:58 +0000) are available in the git repository at: git://github.com/bonzini/qemu.git iommu-for-anthony This is part 2 of the memory/IOMMU patches. These reorganize the handling of unassigned accesses so that they are propagated as errors during I/O dispatch. In the end, a return value is added to address_space_rw/read/write. This is particularly useful when an IOMMU is available, because it lets devices detect faulting accesses. All patches were reviewed by rth. Paolo Paolo Bonzini (22): exec: eliminate io_mem_ram exec: drop useless #if cputlb: simplify tlb_set_page exec: make io_mem_unassigned private exec: do not use error_mem_read memory: dispatch unassigned accesses based on .valid.accepts memory: add address_space_translate memory: move unassigned_mem_ops to memory.c memory: assign MemoryRegionOps to all regions exec: expect mr->ops to be initialized for ROM exec: introduce memory_access_is_direct exec: introduce memory_access_size memory: export memory_region_access_valid to exec.c exec: implement .valid.accepts for subpages memory: add address_space_access_valid memory: accept mismatching sizes in memory_region_access_valid memory: add big endian support to access_with_adjusted_size memory: split accesses even when the old MMIO callbacks are used memory: correctly handle endian-swapped 64-bit accesses exec: just use io_mem_read/io_mem_write for 8-byte I/O accesses memory: propagate errors on I/O dispatch memory: add return value to address_space_rw/read/write cputlb.c | 31 ++-- dma-helpers.c | 5 + exec.c | 415 +++++++++++++++++++-------------------- include/exec/cpu-common.h | 2 - include/exec/cputlb.h | 12 +- include/exec/exec-all.h | 6 +- include/exec/memory-internal.h | 5 + include/exec/memory.h | 58 ++++-- include/exec/softmmu_template.h | 36 +--- include/sysemu/dma.h | 3 +- memory.c | 215 +++++++++++++-------- translate-all.c | 6 +- 12 files changed, 422 insertions(+), 372 deletions(-) -- 1.7.4.1