public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* [kvm-unit-tests PATCH 0/5] Collection of tests for canonical checks on LA57 enabled CPUs
@ 2024-09-07  0:54 Maxim Levitsky
  2024-09-07  0:54 ` [kvm-unit-tests PATCH 1/5] x86: add _safe and _fep_safe variants to segment base load instructions Maxim Levitsky
                   ` (7 more replies)
  0 siblings, 8 replies; 13+ messages in thread
From: Maxim Levitsky @ 2024-09-07  0:54 UTC (permalink / raw)
  To: kvm; +Cc: Paolo Bonzini, Maxim Levitsky

This is a set of tests that checks KVM and CPU behaviour in regard to
canonical checks of various msrs, segment bases, instructions that
were found to ignore CR4.LA57 on CPUs that support 5 level paging.

Best regards,
	Maxim Levitsky

Maxim Levitsky (5):
  x86: add _safe and _fep_safe variants to segment base load
    instructions
  x86: add a few functions for gdt manipulation
  x86: move struct invpcid_desc descriptor to processor.h
  Add a test for writing canonical values to various msrs and fields
  nVMX: add a test for canonical checks of various host state vmcs12
    fields.

 lib/x86/desc.c      |  39 ++++-
 lib/x86/desc.h      |   9 +-
 lib/x86/msr.h       |  42 ++++++
 lib/x86/processor.h |  58 +++++++-
 x86/Makefile.x86_64 |   1 +
 x86/canonical_57.c  | 346 ++++++++++++++++++++++++++++++++++++++++++++
 x86/pcid.c          |   6 -
 x86/vmx_tests.c     | 183 +++++++++++++++++++++++
 8 files changed, 667 insertions(+), 17 deletions(-)
 create mode 100644 x86/canonical_57.c

-- 
2.26.3



^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2025-02-24 17:24 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-07  0:54 [kvm-unit-tests PATCH 0/5] Collection of tests for canonical checks on LA57 enabled CPUs Maxim Levitsky
2024-09-07  0:54 ` [kvm-unit-tests PATCH 1/5] x86: add _safe and _fep_safe variants to segment base load instructions Maxim Levitsky
2024-09-07  0:54 ` [kvm-unit-tests PATCH 2/5] x86: add a few functions for gdt manipulation Maxim Levitsky
2024-09-07  0:54 ` [kvm-unit-tests PATCH 3/5] x86: move struct invpcid_desc descriptor to processor.h Maxim Levitsky
2024-09-07  0:54 ` [kvm-unit-tests PATCH 4/5] Add a test for writing canonical values to various msrs and fields Maxim Levitsky
2025-02-14 22:00   ` Sean Christopherson
2024-09-07  0:54 ` [kvm-unit-tests PATCH 5/5] nVMX: add a test for canonical checks of various host state vmcs12 fields Maxim Levitsky
2025-02-14 22:08   ` Sean Christopherson
2024-11-03 21:08 ` [kvm-unit-tests PATCH 0/5] Collection of tests for canonical checks on LA57 enabled CPUs Maxim Levitsky
2024-11-22  1:31   ` Maxim Levitsky
2024-12-14  0:19     ` Maxim Levitsky
2025-02-14 21:25 ` Sean Christopherson
2025-02-24 17:23 ` Sean Christopherson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox