Commit b8246a2a authored by Vasant Hegde's avatar Vasant Hegde Committed by Joerg Roedel

iommu/amd: Change log message severity

Use consistent log severity (pr_warn) to log all messages in SNP
enable path.
Suggested-by: default avatarTom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: default avatarVasant Hegde <vasant.hegde@amd.com>
Link: https://lore.kernel.org/r/20240410101643.32309-1-vasant.hegde@amd.comSigned-off-by: default avatarJoerg Roedel <jroedel@suse.de>
parent 89436f4f
......@@ -3235,7 +3235,7 @@ static void iommu_snp_enable(void)
* configured with V1 page table (DTE[Mode] = 0 is not supported).
*/
if (no_iommu || iommu_default_passthrough()) {
pr_err("SNP: IOMMU disabled or configured in passthrough mode, SNP cannot be supported.\n");
pr_warn("SNP: IOMMU disabled or configured in passthrough mode, SNP cannot be supported.\n");
goto disable_snp;
}
......@@ -3246,7 +3246,7 @@ static void iommu_snp_enable(void)
amd_iommu_snp_en = check_feature(FEATURE_SNP);
if (!amd_iommu_snp_en) {
pr_err("SNP: IOMMU SNP feature not enabled, SNP cannot be supported.\n");
pr_warn("SNP: IOMMU SNP feature not enabled, SNP cannot be supported.\n");
goto disable_snp;
}
......
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