[kvm-unit-tests PATCH v1 0/8] Improve CET tests

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Fix a bug in the current CET tests (the first patch) and do some cleanups
and add more tests for CET nested support.

New CET tests reveal that consistency checks are missing for CET states
during nested VM-entry [*]

*: https://lore.kernel.org/kvm/20240219074733.122080-27-weijiang.yang@xxxxxxxxx/

Chao Gao (7):
  x86: cet: Remove unnecessary memory zeroing for shadow stack
  x86: cet: Directly check for #CP exception in run_in_user()
  x86: cet: Validate #CP error code
  x86: cet: Use report_skip()
  x86: cet: Drop unnecessary casting
  x86: cet: Validate writing unaligned values to SSP MSR causes #GP
  x86: cet: Validate CET states during VMX transitions

Yang Weijiang (1):
  x86: cet: Fix parameter issue when flush TLBs for shadow stack

 lib/x86/msr.h      |  1 +
 lib/x86/usermode.c |  4 +++
 x86/cet.c          | 43 ++++++++----------------
 x86/unittests.cfg  |  7 ++++
 x86/vmx.h          |  8 +++--
 x86/vmx_tests.c    | 81 ++++++++++++++++++++++++++++++++++++++++++++++
 6 files changed, 112 insertions(+), 32 deletions(-)


base-commit: 695740795adee59b48599e2f1a6bf19866a77779
-- 
2.47.1





[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux