Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 153853
b: refs/heads/master
c: 462b60f
h: refs/heads/master
i:
  153851: 596c965
v: v3
  • Loading branch information
David Woodhouse authored and David Woodhouse committed May 10, 2009
1 parent f694271 commit b33b2ba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 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: 1f0ef2aa18802a8ce7eb5a5164aaaf4d59073801
refs/heads/master: 462b60f6ccc685f7e8aa04ff430e6b4ffedf629f
4 changes: 1 addition & 3 deletions trunk/drivers/pci/intel-iommu.c
Original file line number Diff line number Diff line change
Expand Up @@ -844,10 +844,8 @@ static void iommu_flush_write_buffer(struct intel_iommu *iommu)

if (!rwbf_quirk && !cap_rwbf(iommu->cap))
return;
val = iommu->gcmd | DMA_GCMD_WBF;

spin_lock_irqsave(&iommu->register_lock, flag);
writel(val, iommu->reg + DMAR_GCMD_REG);
writel(iommu->gcmd | DMA_GCMD_WBF, iommu->reg + DMAR_GCMD_REG);

/* Make sure hardware complete it */
IOMMU_WAIT_OP(iommu, DMAR_GSTS_REG,
Expand Down

0 comments on commit b33b2ba

Please sign in to comment.