mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Sean Christopherson <seanjc@google.com>
To: Sean Christopherson <seanjc@google.com>,
	Paolo Bonzini <pbonzini@redhat.com>
Cc: kvm@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH 0/3] KVM: SVM: Clean up SEV-ES save area management
Date: Fri,  2 Aug 2024 13:45:08 -0700	[thread overview]
Message-ID: <20240802204511.352017-1-seanjc@google.com> (raw)

Clean up KVM's handling of the SEV-ES host save area, and opportunistically
add a helper to dedup code for converting an SME-tweaked PA back into its
struct page.

Sean Christopherson (3):
  KVM: SVM: Add a helper to convert a SME-aware PA back to a struct page
  KVM: SVM: Add host SEV-ES save area structure into VMCB via a union
  KVM: SVM: Track the per-CPU host save area as a VMCB pointer

 arch/x86/include/asm/svm.h | 20 +++++++++++++++-----
 arch/x86/kvm/svm/svm.c     | 24 ++++++++++++------------
 arch/x86/kvm/svm/svm.h     | 18 ++++++++++++++++--
 3 files changed, 43 insertions(+), 19 deletions(-)


base-commit: 332d2c1d713e232e163386c35a3ba0c1b90df83f
-- 
2.46.0.rc2.264.g509ed76dc8-goog


             reply	other threads:[~2024-08-02 20:45 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-02 20:45 Sean Christopherson [this message]
2024-08-02 20:45 ` [PATCH 1/3] KVM: SVM: Add a helper to convert a SME-aware PA back to a struct page Sean Christopherson
2024-08-02 20:45 ` [PATCH 2/3] KVM: SVM: Add host SEV-ES save area structure into VMCB via a union Sean Christopherson
2024-08-02 20:45 ` [PATCH 3/3] KVM: SVM: Track the per-CPU host save area as a VMCB pointer Sean Christopherson
2024-08-31  0:21 ` [PATCH 0/3] KVM: SVM: Clean up SEV-ES save area management Sean Christopherson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240802204511.352017-1-seanjc@google.com \
    --to=seanjc@google.com \
    --cc=kvm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pbonzini@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®