Skip to content

Commit fbc0514

Browse files
joergroedelgregkh
authored andcommitted
iommu/amd: Clarify AMD IOMMUv2 initialization messages
commit 717e88a upstream. 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 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 5655b8b commit fbc0514

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎drivers/iommu/amd/iommu_v2.c‎

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

930-
pr_info("AMD IOMMUv2 driver by Joerg Roedel <jroedel@suse.de>\n");
931-
932930
if (!amd_iommu_v2_supported()) {
933-
pr_info("AMD IOMMUv2 functionality not available on this system\n");
931+
pr_info("AMD IOMMUv2 functionality not available on this system - This is not a bug.\n");
934932
/*
935933
* Load anyway to provide the symbols to other modules
936934
* 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)