]> xenbits.xensource.com Git - people/sstabellini/xen-unstable.git/.git/commitdiff
passthrough/amd: Drop "IOMMU not found" message
authorAndrew Cooper <andrew.cooper3@citrix.com>
Mon, 5 Aug 2019 16:40:36 +0000 (17:40 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 7 Aug 2019 09:43:01 +0000 (10:43 +0100)
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 <andrew.cooper3@citrix.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Brian Woods <brian.woods@amd.com>
xen/drivers/passthrough/amd/pci_amd_iommu.c

index b3e1933b539288e010ffaa34a94f3e5fdc152712..3bcfcc84041b42e3546cb876a4c15dc9c6cfb831 100644 (file)
@@ -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;
     }