There's still plenty of Intel CPUs which do not support TDX and when a recent kernel is booted on those the user always sees the following error: virt/tdx TDX not supported by hostplatform. The same is also printed on all AMD CPUs. Fix by using pr_info. Signed-off-by: Nikolay Borisov --- Contrary to Pet Shop Boy's song - it's not a sin to not support TDX, yet :) arch/x86/virt/vmx/tdx/tdx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/virt/vmx/tdx/tdx.c b/arch/x86/virt/vmx/tdx/tdx.c index 96ced0494b68..b2962da24701 100644 --- a/arch/x86/virt/vmx/tdx/tdx.c +++ b/arch/x86/virt/vmx/tdx/tdx.c @@ -1276,7 +1276,7 @@ static __init int tdx_enable(void) int ret; if (!cpu_feature_enabled(X86_FEATURE_TDX_HOST_PLATFORM)) { - pr_err("TDX not supported by the host platform\n"); + pr_info("TDX not supported by the host platform\n"); return -ENODEV; } -- 2.56.0