Displaying 1 result from an estimated 1 matches for "set_iommu_l1e_present".
2009 Jan 30
0
[PATCH 2/2] amd-iommu: drop locks before printing error messages
...if ( iommu_l2e == 0 )
{
- amd_iov_error("Invalid IO pagetable entry gfn = %lx\n", gfn);
spin_unlock_irqrestore(&hd->mapping_lock, flags);
+ amd_iov_error("Invalid IO pagetable entry gfn = %lx\n", gfn);
return -EFAULT;
}
set_iommu_l1e_present(iommu_l2e, gfn, (u64)mfn << PAGE_SHIFT, iw, ir);
@@ -493,8 +493,8 @@ int amd_iommu_unmap_page(struct domain *
if ( iommu_l2e == 0 )
{
- amd_iov_error("Invalid IO pagetable entry gfn = %lx\n", gfn);
spin_unlock_irqrestore(&hd->mapping_lock, flags);...