Re: [PATCH 02/11] x86/snp: Keep the RMP table bookkeeping area mapped
From: Borislav Petkov
Date: Fri Mar 06 2026 - 10:56:39 EST
On Mon, Mar 02, 2026 at 12:13:25PM -0700, Tycho Andersen wrote:
> From: Tom Lendacky <thomas.lendacky@xxxxxxx>
>
> In prep for delayed SNP initialization and disablement on shutdown, the
^^^^
Yeah, write it out, you can do it... :-P
And yes, this sounds like Tom to me. :-P
> RMP will need to be cleared each time SNP is disabled. Maintain the
s/the //
> the mapping to the RMP bookkeeping area to avoid mapping and unmapping it
> each time and any possible errors that may arise from that.
>
> Signed-off-by: Tom Lendacky <thomas.lendacky@xxxxxxx>
> Signed-off-by: Tycho Andersen (AMD) <tycho@xxxxxxxxxx>
> ---
> arch/x86/virt/svm/sev.c | 40 +++++++++++++++++-----------------------
> 1 file changed, 17 insertions(+), 23 deletions(-)
Otherwise LGTM.
--
Regards/Gruss,
Boris.
https://people.kernel.org/tglx/notes-about-netiquette