Re: [PATCH] x86/fred: Fix early boot failures on SEV-ES/SNP guests

From: Xin Li

Date: Thu Feb 05 2026 - 09:35:59 EST




> On Feb 5, 2026, at 12:54 AM, Nikunj A. Dadhania <nikunj@xxxxxxx> wrote:
>
>>
>> Can you please check if it works for you (#VC handler is set in the bringup IDT on AMD)?
>
> Yes, this works as well. With your change that moves cr4_init(), I no longer
> need my arch/x86/kernel/fred.c modification (moving pr_info() to avoid the #VC).
> SEV-ES / SEV-SNP guests boot successfully with FRED enabled.
>
> Are you planning to post this for inclusion?

Yes, I will.