Skip to content

Commit ddce97a

Browse files
aprzywaravikivity
authored andcommitted
KVM: SVM: add new SVM feature bit names
the recent APM Vol.2 and the recent AMD CPUID specification describe new CPUID features bits for SVM. Name them here for later usage. Signed-off-by: Andre Przywara <[email protected]> Signed-off-by: Marcelo Tosatti <[email protected]>
1 parent 51d8b66 commit ddce97a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

arch/x86/kvm/svm.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,10 @@ MODULE_LICENSE("GPL");
5151
#define SVM_FEATURE_LBRV (1 << 1)
5252
#define SVM_FEATURE_SVML (1 << 2)
5353
#define SVM_FEATURE_NRIP (1 << 3)
54+
#define SVM_FEATURE_TSC_RATE (1 << 4)
55+
#define SVM_FEATURE_VMCB_CLEAN (1 << 5)
56+
#define SVM_FEATURE_FLUSH_ASID (1 << 6)
57+
#define SVM_FEATURE_DECODE_ASSIST (1 << 7)
5458
#define SVM_FEATURE_PAUSE_FILTER (1 << 10)
5559

5660
#define NESTED_EXIT_HOST 0 /* Exit handled on host level */

0 commit comments

Comments
 (0)