diff options
author | Joerg Roedel <joerg.roedel@amd.com> | 2010-12-03 09:25:16 -0500 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2011-01-12 04:30:45 -0500 |
commit | 38e5e92fe8c02a8766459d505423b855caf9af1f (patch) | |
tree | 29a51a874acbbaa4b2938539a4753797bcfe3fdb /arch/x86/include | |
parent | f40f6a459c2fefa77fd74eec28d6233c0a7f431a (diff) |
KVM: SVM: Implement Flush-By-Asid feature
This patch adds the new flush-by-asid of upcoming AMD
processors to the KVM-AMD module.
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/x86/include')
-rw-r--r-- | arch/x86/include/asm/svm.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/include/asm/svm.h b/arch/x86/include/asm/svm.h index 235dd732c336..82ecaa32fcf7 100644 --- a/arch/x86/include/asm/svm.h +++ b/arch/x86/include/asm/svm.h | |||
@@ -88,6 +88,8 @@ struct __attribute__ ((__packed__)) vmcb_control_area { | |||
88 | 88 | ||
89 | #define TLB_CONTROL_DO_NOTHING 0 | 89 | #define TLB_CONTROL_DO_NOTHING 0 |
90 | #define TLB_CONTROL_FLUSH_ALL_ASID 1 | 90 | #define TLB_CONTROL_FLUSH_ALL_ASID 1 |
91 | #define TLB_CONTROL_FLUSH_ASID 3 | ||
92 | #define TLB_CONTROL_FLUSH_ASID_LOCAL 7 | ||
91 | 93 | ||
92 | #define V_TPR_MASK 0x0f | 94 | #define V_TPR_MASK 0x0f |
93 | 95 | ||