From: Joerg Roedel Date: Mon, 2 Jul 2012 16:36:03 +0000 (+0200) Subject: iommu/amd: Print message to system log when irq remapping is enabled X-Git-Tag: firefly_0821_release~3680^2~1897^2^6~3 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=ebe60bbfdc3914bfb833595f36444a2f76a3cc0c;p=firefly-linux-kernel-4.4.55.git 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 --- diff --git a/drivers/iommu/amd_iommu_init.c b/drivers/iommu/amd_iommu_init.c index fee872f666f5..3d6e7c5471f2 100644 --- a/drivers/iommu/amd_iommu_init.c +++ b/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)