Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 165433
b: refs/heads/master
c: b94996c
h: refs/heads/master
i:
  165431: 2ab7377
v: v3
  • Loading branch information
David Woodhouse authored and David Woodhouse committed Sep 19, 2009
1 parent 5f23d00 commit e787646
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0c02a20ff7695f9c54cc7c013dda326270ccdac8
refs/heads/master: b94996c99c8befed9cbbb8804a4625e203913318
5 changes: 3 additions & 2 deletions trunk/drivers/pci/intel-iommu.c
Original file line number Diff line number Diff line change
Expand Up @@ -2403,11 +2403,12 @@ int __init init_dmars(void)

iommu->flush.flush_context(iommu, 0, 0, 0, DMA_CCMD_GLOBAL_INVL);
iommu->flush.flush_iotlb(iommu, 0, 0, 0, DMA_TLB_GLOBAL_FLUSH);
iommu_disable_protect_mem_regions(iommu);

ret = iommu_enable_translation(iommu);
if (ret)
goto error;

iommu_disable_protect_mem_regions(iommu);
}

return 0;
Expand Down Expand Up @@ -3066,8 +3067,8 @@ static int init_iommu_hw(void)
DMA_CCMD_GLOBAL_INVL);
iommu->flush.flush_iotlb(iommu, 0, 0, 0,
DMA_TLB_GLOBAL_FLUSH);
iommu_disable_protect_mem_regions(iommu);
iommu_enable_translation(iommu);
iommu_disable_protect_mem_regions(iommu);
}

return 0;
Expand Down

0 comments on commit e787646

Please sign in to comment.