From: David Woodhouse Date: Tue, 4 Aug 2009 15:19:20 +0000 (+0100) Subject: intel-iommu: Unify hardware and software passthrough support X-Git-Tag: v2.6.32-rc1~162^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=19943b0e30b05d42e494ae6fef78156ebc8c637e;p=pandora-kernel.git intel-iommu: Unify hardware and software passthrough support This makes the hardware passthrough mode work a lot more like the software version, so that the behaviour of a kernel with 'iommu=pt' is the same whether the hardware supports passthrough or not. In particular: - We use a single si_domain for the pass-through devices. - 32-bit devices can be taken out of the pass-through domain so that they don't have to use swiotlb. - Devices will work again after being removed from a KVM guest. - A potential oops on OOM (in init_context_pass_through()) is fixed. Signed-off-by: David Woodhouse --- Reading git-diff-tree failed