x86,iommu:cleanup misleading comment about SWIOTLB turned off by IOMMU
Subsystems (2)
PATCH 1/1 x86,iommu:cleanup misleading comment about SWIOTLB turned off by IOMMU
From: Xinghui Li <[email protected]>
According to commit 327d5b2fee91 ("iommu/vt-d: Allow 32bit devices to uses DMA domain"), SWIOTLB could be enable even IOMMU exist.This comment could mislead developer that there is an error enabling SWIOTLB when they enable IOMMU.
Signed-off-by Xinghui Li <[email protected]>
--- arch/x86/kernel/pci-dma.c | 1 - 1 file changed, 1 deletion(-)
arch/x86/kernel/pci-dma.c +0 -1
@@ -193,7 +193,6 @@ static int __init pci_iommu_init(void) x86_init.iommu.iommu_init ();#ifdef CONFIG_SWIOTLB -/* An IOMMU turned us off. */ if (x86_swiotlb_enable) {pr_info ("PCI-DMA: Using software bounce buffering for IO (SWIOTLB)\n" );swiotlb_print_info ();
Signature · 1 line
2.25.1