From ef04aa69f06d38b8852d6cca02d13aaf3deaa74c Mon Sep 17 00:00:00 2001 From: Andrew Cooper Date: Mon, 5 Aug 2019 17:40:36 +0100 Subject: [PATCH] passthrough/amd: Drop "IOMMU not found" message Since c/s 9fa94e10585 "x86/ACPI: also parse AMD IOMMU tables early", this function is unconditionally called in all cases where a DMAR ACPI table doesn't exist. As a consequnce, "AMD-Vi: IOMMU not found!" is printed in all cases where an IOMMU isn't present, even on non-AMD systems. Drop the message - it isn't terribly interesting anyway, and is now misleading is a number of common cases. Signed-off-by: Andrew Cooper Acked-by: Jan Beulich Acked-by: Brian Woods --- xen/drivers/passthrough/amd/pci_amd_iommu.c | 1 - 1 file changed, 1 deletion(-) diff --git a/xen/drivers/passthrough/amd/pci_amd_iommu.c b/xen/drivers/passthrough/amd/pci_amd_iommu.c index b3e1933b53..3bcfcc8404 100644 --- a/xen/drivers/passthrough/amd/pci_amd_iommu.c +++ b/xen/drivers/passthrough/amd/pci_amd_iommu.c @@ -155,7 +155,6 @@ int __init acpi_ivrs_init(void) if ( (amd_iommu_detect_acpi() !=0) || (iommu_found() == 0) ) { - printk("AMD-Vi: IOMMU not found!\n"); iommu_intremap = 0; return -ENODEV; } -- 2.30.2