]> git.proxmox.com Git - mirror_qemu.git/commit - hw/spapr_vio.c
Implement TCE translation for sPAPR VIO
authorDavid Gibson <david@gibson.dropbear.id.au>
Fri, 1 Apr 2011 04:15:28 +0000 (15:15 +1100)
committerAlexander Graf <agraf@suse.de>
Fri, 1 Apr 2011 16:34:56 +0000 (18:34 +0200)
commitee86dfeebb5c12372935374b32e796e5d2544c90
tree2ef808c297444cb706ae5ac243deb3218d98737f
parent0201e2da65b1828937c478fa1ac52e58522a32c1
Implement TCE translation for sPAPR VIO

This patch implements the necessary infrastructure and hypercalls for
sPAPR's TCE (Translation Control Entry) IOMMU mechanism.  This is necessary
for all virtual IO devices which do DMA (i.e. nearly all of them).

Signed-off-by: Ben Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: David Gibson <dwg@au1.ibm.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
hw/spapr.c
hw/spapr_vio.c
hw/spapr_vio.h