mbox series

[0/7] KVM: SEV fixes for 6.9

Message ID 20240318221002.2712738-1-pbonzini@redhat.com (mailing list archive)
Headers show
Series KVM: SEV fixes for 6.9 | expand

Message

Paolo Bonzini March 18, 2024, 10:09 p.m. UTC
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(-)

Comments

Sean Christopherson March 18, 2024, 10:58 p.m. UTC | #1
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
Paolo Bonzini March 18, 2024, 11:04 p.m. UTC | #2
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