From: Joerg Roedel Date: Wed, 19 May 2021 13:52:47 +0000 (+0200) Subject: x86/sev: Fix error message in runtime #VC handler X-Git-Tag: v5.15~907^2~7 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4aca2d99fd27698cf82d55aed4859fde859082ac;p=platform%2Fkernel%2Flinux-starfive.git x86/sev: Fix error message in runtime #VC handler The runtime #VC handler is not "early" anymore. Fix the copy&paste error and remove that word from the error message. Signed-off-by: Joerg Roedel Signed-off-by: Borislav Petkov Link: https://lkml.kernel.org/r/20210614135327.9921-2-joro@8bytes.org --- diff --git a/arch/x86/kernel/sev.c b/arch/x86/kernel/sev.c index 651b81c..4fd997b 100644 --- a/arch/x86/kernel/sev.c +++ b/arch/x86/kernel/sev.c @@ -1369,7 +1369,7 @@ DEFINE_IDTENTRY_VC_SAFE_STACK(exc_vmm_communication) vc_finish_insn(&ctxt); break; case ES_UNSUPPORTED: - pr_err_ratelimited("Unsupported exit-code 0x%02lx in early #VC exception (IP: 0x%lx)\n", + pr_err_ratelimited("Unsupported exit-code 0x%02lx in #VC exception (IP: 0x%lx)\n", error_code, regs->ip); goto fail; case ES_VMM_ERROR: