From: Yang Weijiang <weijiang.yang@intel.com>
To: pbonzini@redhat.com, mtosatti@redhat.com, seanjc@google.com,
qemu-devel@nongnu.org
Cc: kvm@vger.kernel.org, weijiang.yang@intel.com
Subject: [PATCH v2 0/4] Enable CET userspace support
Date: Thu, 20 Jul 2023 07:14:41 -0400 [thread overview]
Message-ID: <20230720111445.99509-1-weijiang.yang@intel.com> (raw)
CET virtualization requires VMM userspace setup for CET feature
bits enumeration, this series enables all related settings.
Guest CET user and kernel mode SHSTK/IBT are both supported.
Changes in v2:
1. Added supervisor CET states support.
2. Consolidated all CET states in a struct of vmstate.
v1 link:
https://lore.kernel.org/all/20230421041227.90915-1-weijiang.yang@intel.com/
Yang Weijiang (4):
target/i386: Enable XSAVES support for CET states
target/i386: Add CET MSRs access interface
target/i386: Add CET states to vmstate
target/i386: Advertise CET related flags in feature words
target/i386/cpu.c | 54 +++++++++++++++++++++++++++++----------
target/i386/cpu.h | 41 ++++++++++++++++++++++++++++++
target/i386/kvm/kvm.c | 59 +++++++++++++++++++++++++++++++++++++++++++
target/i386/machine.c | 28 ++++++++++++++++++++
4 files changed, 169 insertions(+), 13 deletions(-)
base-commit: a342ce9dfeed8088c426e5d51d4a7e47f3764b84
--
2.27.0
next reply other threads:[~2023-07-20 14:19 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-20 11:14 Yang Weijiang [this message]
2023-07-20 11:14 ` [PATCH v2 1/4] target/i386: Enable XSAVES support for CET states Yang Weijiang
2023-07-20 11:14 ` [PATCH v2 2/4] target/i386: Add CET MSRs access interface Yang Weijiang
2023-07-20 11:14 ` [PATCH v2 3/4] target/i386: Add CET states to vmstate Yang Weijiang
2023-07-20 11:14 ` [PATCH v2 4/4] target/i386: Advertise CET related flags in feature words Yang Weijiang
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=20230720111445.99509-1-weijiang.yang@intel.com \
--to=weijiang.yang@intel.com \
--cc=kvm@vger.kernel.org \
--cc=mtosatti@redhat.com \
--cc=pbonzini@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=seanjc@google.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.