iommu/amd: Print message to system log when irq remapping is enabled
authorJoerg Roedel <joerg.roedel@amd.com>
Mon, 2 Jul 2012 16:36:03 +0000 (18:36 +0200)
committerJoerg Roedel <joerg.roedel@amd.com>
Fri, 28 Sep 2012 15:43:54 +0000 (17:43 +0200)
Print an indicator to dmesg to easily find out if interrupt
remapping is enabled of a given system.

Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
drivers/iommu/amd_iommu_init.c

index fee872f..3d6e7c5 100644 (file)
@@ -1199,6 +1199,8 @@ static void print_iommu_info(void)
                }
                pr_cont("\n");
        }
+       if (irq_remapping_enabled)
+               pr_info("AMD-Vi: Interrupt remapping enabled\n");
 }
 
 static int __init amd_iommu_init_pci(void)