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 --