[PATCH 0/7] KVM: SEV fixes for 6.9

Paolo Bonzini posted 7 patches 1 year, 10 months ago
.../virt/kvm/x86/amd-memory-encryption.rst    | 42 ++++++++------
arch/x86/include/uapi/asm/kvm.h               | 23 ++++++++
arch/x86/kvm/svm/sev.c                        | 58 +++++++++++--------
arch/x86/kvm/trace.h                          | 10 ++--
4 files changed, 86 insertions(+), 47 deletions(-)
[PATCH 0/7] KVM: SEV fixes for 6.9
Posted by Paolo Bonzini 1 year, 10 months ago
A small bugfix and documentation extract of my SEV_INIT2 series, plus
4 patches from Ashish and Sean that I thought would be in the 6.9 pull
requests.

No need to rush this in during the merge window, but please ack
nevertheless.

Paolo

Ashish Kalra (1):
  KVM: SVM: Add support for allowing zero SEV ASIDs

Paolo Bonzini (3):
  KVM: SEV: fix compat ABI for KVM_MEMORY_ENCRYPT_OP
  Documentation: kvm/sev: separate description of firmware
  Documentation: kvm/sev: clarify usage of KVM_MEMORY_ENCRYPT_OP

Sean Christopherson (3):
  KVM: SVM: Set sev->asid in sev_asid_new() instead of overloading the
    return
  KVM: SVM: Use unsigned integers when dealing with ASIDs
  KVM: SVM: Return -EINVAL instead of -EBUSY on attempt to re-init
    SEV/SEV-ES

 .../virt/kvm/x86/amd-memory-encryption.rst    | 42 ++++++++------
 arch/x86/include/uapi/asm/kvm.h               | 23 ++++++++
 arch/x86/kvm/svm/sev.c                        | 58 +++++++++++--------
 arch/x86/kvm/trace.h                          | 10 ++--
 4 files changed, 86 insertions(+), 47 deletions(-)

-- 
2.43.0
Re: [PATCH 0/7] KVM: SEV fixes for 6.9
Posted by Sean Christopherson 1 year, 10 months ago
On Mon, Mar 18, 2024, Paolo Bonzini wrote:
> A small bugfix and documentation extract of my SEV_INIT2 series, plus
> 4 patches from Ashish and Sean that I thought would be in the 6.9 pull
> requests.

Heh, they were in the 6.9 pull requests, but I sent the SVM PR early[1].  Looks
like another small PR for an async #PF ABI cleanup[2] got missed too.

[1] https://lore.kernel.org/all/20240227192451.3792233-1-seanjc@google.com
[2] https://lore.kernel.org/all/20240223211621.3348855-3-seanjc@google.com
Re: [PATCH 0/7] KVM: SEV fixes for 6.9
Posted by Paolo Bonzini 1 year, 10 months ago
On Mon, Mar 18, 2024 at 11:58 PM Sean Christopherson <seanjc@google.com> wrote:
>
> On Mon, Mar 18, 2024, Paolo Bonzini wrote:
> > A small bugfix and documentation extract of my SEV_INIT2 series, plus
> > 4 patches from Ashish and Sean that I thought would be in the 6.9 pull
> > requests.
>
> Heh, they were in the 6.9 pull requests, but I sent the SVM PR early[1].  Looks
> like another small PR for an async #PF ABI cleanup[2] got missed too.
>
> [1] https://lore.kernel.org/all/20240227192451.3792233-1-seanjc@google.com
> [2] https://lore.kernel.org/all/20240223211621.3348855-3-seanjc@google.com

Duh. Pulled both now.

Paolo