From: Sean Christopherson <seanjc@google.com>
To: Sean Christopherson <seanjc@google.com>,
pbonzini@redhat.com, Emily Ehlert <ehemily@amazon.de>
Cc: amit.shah@amd.com, mingo@redhat.com, bp@alien8.de,
dave.hansen@linux.intel.com, hpa@zytor.com, x86@kernel.org,
kvm@vger.kernel.org, linux-kernel@vger.kernel.org,
nh-open-source@amazon.com, graf@amazon.de, nsaenz@kernel.org,
Thomas Gleixner <tglx@kernel.org>
Subject: Re: [PATCH] KVM: x86: Fix ERAPS RAP clear on INVPCID single-context invalidation
Date: Wed, 27 May 2026 11:09:54 -0700 [thread overview]
Message-ID: <177990538854.4123030.2149054954047224360.b4-ty@google.com> (raw)
In-Reply-To: <20260518135956.82569-1-ehemily@amazon.de>
On Mon, 18 May 2026 13:59:56 +0000, Emily Ehlert wrote:
> Use kvm_register_mark_dirty() instead of kvm_register_is_dirty() to
> actually mark VCPU_EXREG_ERAPS as dirty when emulating
> INVPCID_TYPE_SINGLE_CTXT. kvm_register_is_dirty() is a read-only
> predicate whose return value is discarded, making the call a no-op.
> Without this fix, a single-context INVPCID will not trigger a RAP clear
> on the next VMRUN, breaking the ERAPS security guarantee.
>
> [...]
Applied to kvm-x86 fixes, thanks!
[1/1] KVM: x86: Fix ERAPS RAP clear on INVPCID single-context invalidation
https://github.com/kvm-x86/linux/commit/b60621c5121c
--
https://github.com/kvm-x86/linux/tree/next
prev parent reply other threads:[~2026-05-27 18:10 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-18 13:59 Emily Ehlert
2026-05-27 18:09 ` Sean Christopherson [this message]
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=177990538854.4123030.2149054954047224360.b4-ty@google.com \
--to=seanjc@google.com \
--cc=amit.shah@amd.com \
--cc=bp@alien8.de \
--cc=dave.hansen@linux.intel.com \
--cc=ehemily@amazon.de \
--cc=graf@amazon.de \
--cc=hpa@zytor.com \
--cc=kvm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=nh-open-source@amazon.com \
--cc=nsaenz@kernel.org \
--cc=pbonzini@redhat.com \
--cc=tglx@kernel.org \
--cc=x86@kernel.org \
/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®