Re: [PATCH v9 0/2] Add SEV-SNP CipherTextHiding feature support

From: Sean Christopherson

Date: Thu Sep 18 2025 - 20:11:12 EST


On Wed, 20 Aug 2025 20:49:45 +0000, Ashish Kalra wrote:
> From: Ashish Kalra <ashish.kalra@xxxxxxx>
>
> Ciphertext hiding prevents host accesses from reading the ciphertext
> of SNP guest private memory. Instead of reading ciphertext, the host
> will see constant default values (0xff).
>
> The SEV ASID space is split into SEV and SEV-ES/SNP ASID ranges.
> Enabling ciphertext hiding further splits the SEV-ES/SEV-SNP ASID space
> into separate ASID ranges for SEV-ES and SEV-SNP guests.
>
> [...]

Applied to kvm-x86 ciphertext, with doc and comment fixups. Thanks!

[1/2] KVM: SEV: Introduce new min,max sev_es and sev_snp asid variables
https://github.com/kvm-x86/linux/commit/d7fc7d9833f6
[2/2] KVM: SEV: Add SEV-SNP CipherTextHiding support
https://github.com/kvm-x86/linux/commit/6c7c620585c6

--
https://github.com/kvm-x86/linux/tree/next