aboutsummaryrefslogtreecommitdiffstats
path: root/lib/debugobjects.c
diff options
context:
space:
mode:
authorAllen Kay <[email protected]>2011-10-14 19:32:46 +0000
committerDavid Woodhouse <[email protected]>2011-10-19 11:06:22 +0000
commit4399c8bf2b9093696fa8160d79712e7346989c46 (patch)
tree66363d75fa8e346b84ba6fcdca33f78858456328 /lib/debugobjects.c
parentintel-iommu: set iommu_superpage on VM domains to lowest common denominator (diff)
downloadkernel-4399c8bf2b9093696fa8160d79712e7346989c46.tar.gz
kernel-4399c8bf2b9093696fa8160d79712e7346989c46.zip
intel-iommu: fix superpage support in pfn_to_dma_pte()
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 <[email protected]> Signed-off-by: David Woodhouse <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions