Files
kernel-tenderloin-3.0/drivers
Allen Kay 5341e68f9b intel-iommu: fix superpage support in pfn_to_dma_pte()
commit 4399c8bf2b9093696fa8160d79712e7346989c46 upstream.

If target_level == 0, current code breaks out of the while-loop if
SUPERPAGE bit is set. We should also break out if PTE is not present.
If we don't do this, KVM calls to iommu_iova_to_phys() will cause
pfn_to_dma_pte() to create mapping for 4KiB pages.

Signed-off-by: Allen Kay <allen.m.kay@intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Youquan Song <youquan.song@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-12-21 12:57:37 -08:00
..
2011-12-09 08:52:41 -08:00
2011-10-16 14:14:51 -07:00
2011-11-21 14:31:14 -08:00