diff options
author | Joerg Roedel <joerg.roedel@amd.com> | 2012-07-02 12:36:03 -0400 |
---|---|---|
committer | Joerg Roedel <joerg.roedel@amd.com> | 2012-09-28 11:43:54 -0400 |
commit | ebe60bbfdc3914bfb833595f36444a2f76a3cc0c (patch) | |
tree | b58cc78e53f8121b3d4fb74f33e3edeb37d91444 /drivers/iommu | |
parent | c18d2388170132ce015475f1fdab272b62c1e2da (diff) |
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.c | 2 |
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) | |||
1199 | } | 1199 | } |
1200 | pr_cont("\n"); | 1200 | pr_cont("\n"); |
1201 | } | 1201 | } |
1202 | if (irq_remapping_enabled) | ||
1203 | pr_info("AMD-Vi: Interrupt remapping enabled\n"); | ||
1202 | } | 1204 | } |
1203 | 1205 | ||
1204 | static int __init amd_iommu_init_pci(void) | 1206 | static int __init amd_iommu_init_pci(void) |