From: Nadav Amit Date: Thu, 1 Apr 2010 10:24:40 +0000 (+0300) Subject: intel-iommu: Use correct domain ID when caching mode is enabled X-Git-Tag: v2.6.35-rc1~434^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=82653633b6161cdecc011d15bc9df1c7489bd9a2;p=pandora-kernel.git intel-iommu: Use correct domain ID when caching mode is enabled In caching-mode mappings of pages (changes from non-present to present) require invalidation. Currently, this IOTLB flush is performed with domain ID of zero. This is not according to the VT-d spec and causes big problems for emulating software. This patch uses the correct domain ID in IOTLB flushes. Device IOTLB invalidation is performed only on present to non-present changes. This decision is now based on explicit parameter instead of zero domain-ID. Signed-off-by: Nadav Amit Signed-off-by: David Woodhouse --- Reading git-diff-tree failed