From: David Woodhouse Date: Sat, 28 May 2011 23:22:45 +0000 (+0100) Subject: intel-iommu: Precalculate superpage support for dmar_domain X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=77ae9e59a80e2785d6519acd8edf5967b8bffebc;p=pandora-kernel.git intel-iommu: Precalculate superpage support for dmar_domain We can't use domain_get_iommu() in __domain_mapping() because it'll BUG() when called for a VM domain. Cache the superpage support bits in the dmar_domain structure instead. (This patch *only* caches this information in dmar_domain, and doesn't yet fix that BUG()) Signed-off-by: David Woodhouse --- Reading git-diff-tree failed