intel-iommu: typo fix and correct word in the comment
Fix for a typo and and replacing incorrect word in the comment. Signed-off-by: Ameya Palande <2ameya@gmail.com> Cc: "Ashok Raj" <ashok.raj@intel.com> Cc: "Shaohua Li" <shaohua.li@intel.com> Cc: "Anil S Keshavamurthy" <anil.s.keshavamurthy@intel.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
c3b9f5afc7
commit
4d235ba6c2
|
@ -563,7 +563,7 @@ static int __iommu_flush_context(struct intel_iommu *iommu,
|
||||||
|
|
||||||
spin_unlock_irqrestore(&iommu->register_lock, flag);
|
spin_unlock_irqrestore(&iommu->register_lock, flag);
|
||||||
|
|
||||||
/* flush context entry will implictly flush write buffer */
|
/* flush context entry will implicitly flush write buffer */
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -656,7 +656,7 @@ static int __iommu_flush_iotlb(struct intel_iommu *iommu, u16 did,
|
||||||
if (DMA_TLB_IAIG(val) != DMA_TLB_IIRG(type))
|
if (DMA_TLB_IAIG(val) != DMA_TLB_IIRG(type))
|
||||||
pr_debug("IOMMU: tlb flush request %Lx, actual %Lx\n",
|
pr_debug("IOMMU: tlb flush request %Lx, actual %Lx\n",
|
||||||
DMA_TLB_IIRG(type), DMA_TLB_IAIG(val));
|
DMA_TLB_IIRG(type), DMA_TLB_IAIG(val));
|
||||||
/* flush context entry will implictly flush write buffer */
|
/* flush iotlb entry will implicitly flush write buffer */
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue