Browse Source

iommu/amd: Print message to system log when irq remapping is enabled

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>
Joerg Roedel 13 years ago
parent
commit
ebe60bbfdc
1 changed files with 2 additions and 0 deletions
  1. 2 0
      drivers/iommu/amd_iommu_init.c

+ 2 - 0
drivers/iommu/amd_iommu_init.c

@@ -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)