From: Fenghua Yu Date: Tue, 4 Aug 2009 22:10:59 +0000 (-0700) Subject: intel-iommu: Mask physical address to correct page size in intel_map_single() X-Git-Tag: v2.6.31-rc6~43^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=33041ec049d39a6e0463c7edc7b6f631d24559e3;p=pandora-kernel.git intel-iommu: Mask physical address to correct page size in intel_map_single() The physical address passed to domain_pfn_mapping() should be rounded down to the start of the MM page, not the VT-d page. This issue causes kernel panic on PAGE_SIZE>VTD_PAGE_SIZE platforms e.g. ia64 platforms. Signed-off-by: Fenghua Yu Signed-off-by: David Woodhouse --- Reading git-diff-tree failed