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>
This commit is contained in:
Joerg Roedel 2012-07-02 18:36:03 +02:00
parent c18d238817
commit ebe60bbfdc
1 changed files with 2 additions and 0 deletions

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