Skip to content

Commit 717e88a

Browse files
committed
iommu/amd: Clarify AMD IOMMUv2 initialization messages
The messages printed on the initialization of the AMD IOMMUv2 driver have caused some confusion in the past. Clarify the messages to lower the confusion in the future. Cc: stable@vger.kernel.org Signed-off-by: Joerg Roedel <jroedel@suse.de> Link: https://lore.kernel.org/r/20211123105507.7654-3-joro@8bytes.org
1 parent 21e96a2 commit 717e88a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

drivers/iommu/amd/iommu_v2.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -929,10 +929,8 @@ static int __init amd_iommu_v2_init(void)
929929
{
930930
int ret;
931931

932-
pr_info("AMD IOMMUv2 driver by Joerg Roedel <jroedel@suse.de>\n");
933-
934932
if (!amd_iommu_v2_supported()) {
935-
pr_info("AMD IOMMUv2 functionality not available on this system\n");
933+
pr_info("AMD IOMMUv2 functionality not available on this system - This is not a bug.\n");
936934
/*
937935
* Load anyway to provide the symbols to other modules
938936
* which may use AMD IOMMUv2 optionally.
@@ -947,6 +945,8 @@ static int __init amd_iommu_v2_init(void)
947945

948946
amd_iommu_register_ppr_notifier(&ppr_nb);
949947

948+
pr_info("AMD IOMMUv2 loaded and initialized\n");
949+
950950
return 0;
951951

952952
out:

0 commit comments

Comments
 (0)