From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:59497) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SUVqp-0002OS-Ea for qemu-devel@nongnu.org; Wed, 16 May 2012 00:28:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SUVqn-0002ab-UH for qemu-devel@nongnu.org; Wed, 16 May 2012 00:28:39 -0400 Received: from gate.crashing.org ([63.228.1.57]:34131) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SUVqn-0002aP-LM for qemu-devel@nongnu.org; Wed, 16 May 2012 00:28:37 -0400 Received: from pasglop.ozlabs.ibm.com (localhost.localdomain [127.0.0.1]) by gate.crashing.org (8.14.1/8.13.8) with ESMTP id q4G4SXoO007463 for ; Tue, 15 May 2012 23:28:34 -0500 From: Benjamin Herrenschmidt Date: Wed, 16 May 2012 14:27:13 +1000 Message-Id: <1337142445-26548-1-git-send-email-benh@kernel.crashing.org> Subject: [Qemu-devel] [PATCH 00/12] IOMMU Infrastructure List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org This is a resend of the iommu series, mostly from Eduard and David with the following changes: - Replaced the _zero functions with _set functions to provide memset-like semantics and re-implemented in term of cpu_physical_memory_rw() with a small local buffer - Removed the tracking of maps, instead added callbacks for the iommu backend to optionally provide its own map and unmap callbacks (to do its own tracking and synchronization) with a default implementation based on using translate. We still add the optional "cancel" argument to map, it will be used by subsequent iommu backend implementations. The initial TCE implementation uses the default implementation. I removed David's previous "wait" mechanism. - Removed the memory barrier patch for now, we'll discuss it separately