summaryrefslogtreecommitdiffstats
path: root/drivers/iommu
diff options
context:
space:
mode:
authorJoerg Roedel <joerg.roedel@amd.com>2012-07-02 18:36:03 +0200
committerJoerg Roedel <joerg.roedel@amd.com>2012-09-28 17:43:54 +0200
commitebe60bbfdc3914bfb833595f36444a2f76a3cc0c (patch)
treeb58cc78e53f8121b3d4fb74f33e3edeb37d91444 /drivers/iommu
parentc18d2388170132ce015475f1fdab272b62c1e2da (diff)
downloadlinux-ebe60bbfdc3914bfb833595f36444a2f76a3cc0c.tar.bz2
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>
Diffstat (limited to 'drivers/iommu')
-rw-r--r--drivers/iommu/amd_iommu_init.c2
1 files changed, 2 insertions, 0 deletions
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)