]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
KVM: SEV: Introduce new min,max sev_es and sev_snp asid variables
authorAshish Kalra <ashish.kalra@amd.com>
Wed, 20 Aug 2025 20:50:01 +0000 (20:50 +0000)
committerSean Christopherson <seanjc@google.com>
Mon, 15 Sep 2025 17:04:47 +0000 (10:04 -0700)
commitd7fc7d9833f6b60805f67e3f913b7a646ce2a47e
tree6b3134c92e7b9f4d5d7e51b4a89b86f33942475c
parentc9760b0fca6bfa250c02e14bfe81c542f3626a72
KVM: SEV: Introduce new min,max sev_es and sev_snp asid variables

Introduce new min, max sev_es_asid and sev_snp_asid variables.

The new {min,max}_{sev_es,snp}_asid variables along with existing
{min,max}_sev_asid variable simplifies partitioning of the
SEV and SEV-ES+ ASID space.

Suggested-by: Sean Christopherson <seanjc@google.com>
Reviewed-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: Ashish Kalra <ashish.kalra@amd.com>
Link: https://lore.kernel.org/r/1db48277e8e96a633d734786ea69bf830f014857.1755721927.git.ashish.kalra@amd.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
arch/x86/kvm/svm/sev.c