iommu.lists.linux-foundation.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] iommu/dma: Fix a typo in a comment
@ 2021-03-18  3:21 chenxiang
  2021-03-18  9:34 ` Will Deacon
  0 siblings, 1 reply; 7+ messages in thread
From: chenxiang @ 2021-03-18  3:21 UTC (permalink / raw)
  To: robin.murphy, will; +Cc: iommu

From: Xiang Chen <chenxiang66@hisilicon.com>

Fix a type "SAC" to "DAC" in the comment of function
iommu_dma_alloc_iova().

Signed-off-by: Xiang Chen <chenxiang66@hisilicon.com>
---
 drivers/iommu/dma-iommu.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/iommu/dma-iommu.c b/drivers/iommu/dma-iommu.c
index af765c8..3bc17ee 100644
--- a/drivers/iommu/dma-iommu.c
+++ b/drivers/iommu/dma-iommu.c
@@ -443,7 +443,7 @@ static dma_addr_t iommu_dma_alloc_iova(struct iommu_domain *domain,
 	if (domain->geometry.force_aperture)
 		dma_limit = min(dma_limit, (u64)domain->geometry.aperture_end);
 
-	/* Try to get PCI devices a SAC address */
+	/* Try to get PCI devices a DAC address */
 	if (dma_limit > DMA_BIT_MASK(32) && dev_is_pci(dev))
 		iova = alloc_iova_fast(iovad, iova_len,
 				       DMA_BIT_MASK(32) >> shift, false);
-- 
2.8.1

_______________________________________________
iommu mailing list
iommu@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/iommu

^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2021-03-22  1:01 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-18  3:21 [PATCH] iommu/dma: Fix a typo in a comment chenxiang
2021-03-18  9:34 ` Will Deacon
2021-03-18  9:55   ` chenxiang (M)
2021-03-18 11:01     ` Robin Murphy
2021-03-19  1:02       ` chenxiang (M)
2021-03-19 11:02         ` Robin Murphy
2021-03-22  1:01           ` chenxiang (M)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).