mbox series

[kvm-unit-tests,v2,0/2] x86: SPEC_CTRL tests

Message ID 161188044937.28708.9182196001493811398.stgit@bmoger-ubuntu (mailing list archive)
Headers show
Series x86: SPEC_CTRL tests | expand

Message

Babu Moger Jan. 29, 2021, 12:36 a.m. UTC
Add SPEC_CTRL detection and verification tests.
---
v2:
   Added svm SPEC_CTRL verification tests.
   Changed few texts.

v1: https://lore.kernel.org/kvm/160865324865.19910.5159218511905134908.stgit@bmoger-ubuntu/

Babu Moger (2):
      x86: Add SPEC CTRL detection tests
      x86: svm: Add SPEC_CTRL feature test


 lib/x86/processor.h |    5 +++++
 x86/Makefile.x86_64 |    1 +
 x86/spec_ctrl.c     |   30 +++++++++++++++++++++++++++++
 x86/svm_tests.c     |   52 +++++++++++++++++++++++++++++++++++++++++++++++++++
 x86/unittests.cfg   |    5 +++++
 5 files changed, 93 insertions(+)
 create mode 100644 x86/spec_ctrl.c

--