Re: [PATCH 0/7] Provide support for RMPREAD and a segmented RMP
From: Tom Lendacky
Date: Mon Jun 24 2024 - 10:42:36 EST
On 6/24/24 09:37, Tom Lendacky wrote:
> This series adds SEV-SNP support for a new instruction to read an RMP
> entry and for a segmented RMP table.
>
>
> The series is based off of and tested against the tip tree:
> https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git master
>
> aedd5b6d65f7 ("Merge branch into tip/master: 'x86/percpu'")
Forgot to update this before sending... the patches are actually based on:
2846f42562f8 ("Merge branch into tip/master: 'x86/sev'")
Thanks,
Tom
>
> ---
>
> Tom Lendacky (7):
> x86/sev: Prepare for using the RMPREAD instruction to access the RMP
> x86/sev: Add support for the RMPREAD instruction
> x86/sev: Require the RMPREAD instruction after Fam19h
> x86/sev: Move the SNP probe routine out of the way
> x86/sev: Map only the RMP table entries instead of the full RMP range
> x86/sev: Treat the contiguous RMP table as a single RMP segment
> x86/sev: Add full support for a segmented RMP table
>
> arch/x86/include/asm/cpufeatures.h | 2 +
> arch/x86/include/asm/msr-index.h | 9 +-
> arch/x86/kernel/cpu/amd.c | 3 +-
> arch/x86/virt/svm/sev.c | 633 ++++++++++++++++++++++++-----
> 4 files changed, 549 insertions(+), 98 deletions(-)
>