Commit 717e88aa authored by Joerg Roedel's avatar Joerg Roedel

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: default avatarJoerg Roedel <jroedel@suse.de>
Link: https://lore.kernel.org/r/20211123105507.7654-3-joro@8bytes.org
parent 21e96a20
...@@ -929,10 +929,8 @@ static int __init amd_iommu_v2_init(void) ...@@ -929,10 +929,8 @@ static int __init amd_iommu_v2_init(void)
{ {
int ret; int ret;
pr_info("AMD IOMMUv2 driver by Joerg Roedel <jroedel@suse.de>\n");
if (!amd_iommu_v2_supported()) { if (!amd_iommu_v2_supported()) {
pr_info("AMD IOMMUv2 functionality not available on this system\n"); pr_info("AMD IOMMUv2 functionality not available on this system - This is not a bug.\n");
/* /*
* Load anyway to provide the symbols to other modules * Load anyway to provide the symbols to other modules
* which may use AMD IOMMUv2 optionally. * which may use AMD IOMMUv2 optionally.
...@@ -947,6 +945,8 @@ static int __init amd_iommu_v2_init(void) ...@@ -947,6 +945,8 @@ static int __init amd_iommu_v2_init(void)
amd_iommu_register_ppr_notifier(&ppr_nb); amd_iommu_register_ppr_notifier(&ppr_nb);
pr_info("AMD IOMMUv2 loaded and initialized\n");
return 0; return 0;
out: out:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment