summaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/hyperv-tlfs.h
diff options
context:
space:
mode:
authorVitaly Kuznetsov2018-11-26 16:47:30 +0100
committerPaolo Bonzini2018-12-14 17:59:57 +0100
commit6a058a1eadc3882eff6efaa757f2c71a31fe9906 (patch)
treec283e8577d14009cfe21f8d403187627f34d5b08 /arch/x86/include/asm/hyperv-tlfs.h
parentx86/hyper-v: move synic/stimer control structures definitions to hyperv-tlfs.h (diff)
downloadkernel-qcow2-linux-6a058a1eadc3882eff6efaa757f2c71a31fe9906.tar.gz
kernel-qcow2-linux-6a058a1eadc3882eff6efaa757f2c71a31fe9906.tar.xz
kernel-qcow2-linux-6a058a1eadc3882eff6efaa757f2c71a31fe9906.zip
x86/kvm/hyper-v: use stimer config definition from hyperv-tlfs.h
As a preparation to implementing Direct Mode for Hyper-V synthetic timers switch to using stimer config definition from hyperv-tlfs.h. Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/include/asm/hyperv-tlfs.h')
-rw-r--r--arch/x86/include/asm/hyperv-tlfs.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/x86/include/asm/hyperv-tlfs.h b/arch/x86/include/asm/hyperv-tlfs.h
index ce438d49a192..a2fa7ab2a6a8 100644
--- a/arch/x86/include/asm/hyperv-tlfs.h
+++ b/arch/x86/include/asm/hyperv-tlfs.h
@@ -723,12 +723,6 @@ struct hv_enlightened_vmcs {
#define HV_VMX_ENLIGHTENED_CLEAN_FIELD_ALL 0xFFFF
-#define HV_STIMER_ENABLE (1ULL << 0)
-#define HV_STIMER_PERIODIC (1ULL << 1)
-#define HV_STIMER_LAZY (1ULL << 2)
-#define HV_STIMER_AUTOENABLE (1ULL << 3)
-#define HV_STIMER_SINT(config) (__u8)(((config) >> 16) & 0x0F)
-
/* Define synthetic interrupt controller flag constants. */
#define HV_EVENT_FLAGS_COUNT (256 * 8)
#define HV_EVENT_FLAGS_LONG_COUNT (256 / sizeof(unsigned long))