Re: [PATCH] x86/sev: Fully map the #VC exception stacks
From: Borislav Petkov
Date: Fri Oct 01 2021 - 09:53:04 EST
On Fri, Oct 01, 2021 at 03:00:38PM +0200, Joerg Roedel wrote:
> The VC stack is only allocated and mapped when SEV-ES is detected, so
> they can't always be mapped by generic code.
And? I am assuming you do know how to check whether SEV-ES is enabled.
:-)
I also assumed it is implicitly clear that the mapping should not happen
unconditionally but of course behind a check.
Thx.
--
Regards/Gruss,
Boris.
https://people.kernel.org/tglx/notes-about-netiquette