Enable CET support for guest
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v8 Latest6 patches 0 repliesNew
- v76 patches 2 repliesSuperseded
- v66 patches 2 repliesSuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v5 | 4 patches | 2 replies | Superseded |
Changes in v8 from the cover letter
- Extended xsave_area_size() to accommodate compacted format size calculation.
- Added CPUID(0xD,1).EBX assigment per maintain's feedback.
- Changed XSS field check and added more comments to make things clearer.
- Other ajustment per maintainer's review feedback.
- Rebased to 6.0.0.
Patches in v8 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | target/i386: Change XSAVE related feature-word namestarget/ target/ | +14 | 0 replies | |
| 2/6 | target/i386: Enable XSS feature CPUID enumerationtarget/ target/ | +66 | 0 replies | |
| 3/6 | target/i386: Enable XSAVES support for CET statestarget/ target/ | +62 | 0 replies | |
| 4/6 | target/i386: Add user-space MSR access interface for CETtarget/ target/ | +90 | 0 replies | |
| 5/6 | target/i386: Add CET state support for guest migrationtarget/ | +161 | 0 replies | |
| 6/6 | target/i386: Advise CET bits in CPU/MSR feature wordstarget/ | +4 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v8 yet.
Cover letter [PATCH v8 0/6] Enable CET support for guest
Control-flow Enforcement Technology (CET) provides protection against Return/Jump-Oriented Programming (ROP/JOP). It includes two features:
Shadow Stack(SHSTK) and Indirect Branch Tracking(IBT).
This patch series is to enable CET related CPUID report, XSAVES/XRSTORS support and MSR access etc. for guest.
Change in v8:
- Extended xsave_area_size() to accommodate compacted format size calculation.
- Added CPUID(0xD,1).EBX assigment per maintain's feedback.
- Changed XSS field check and added more comments to make things clearer.
- Other ajustment per maintainer's review feedback.
- Rebased to 6.0.0.
v7 patch:
https://lore.kernel.org/kvm/[email protected]
CET KVM patches:
https://git.kernel.org/pub/scm/virt/kvm/kvm.git/log/?h=intel
CET kernel patches:
https://lkml.kernel.org/r/[email protected]
Yang Weijiang (6):
target/i386: Change XSAVE related feature-word names target/i386: Enable XSS feature CPUID enumeration target/i386: Enable XSAVES support for CET states target/i386: Add user-space MSR access interface for CET target/i386: Add CET state support for guest migration target/i386: Advise CET bits in CPU/MSR feature words
target/i386/cpu.c | 138 +++++++++++++++++++++++++++++------- target/i386/cpu.h | 52 +++++++++++++- target/i386/kvm/kvm.c | 72 +++++++++++++++++++ target/i386/machine.c | 161 ++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 395 insertions(+), 28 deletions(-)
Signature · 1 line
2.26.2