> -----Original Message----- > From: Andrey Smetanin [mailto:asmeta...@virtuozzo.com] > Sent: Wednesday, November 25, 2015 7:20 AM > To: k...@vger.kernel.org > Cc: Gleb Natapov <g...@kernel.org>; Paolo Bonzini > <pbonz...@redhat.com>; KY Srinivasan <k...@microsoft.com>; Haiyang > Zhang <haiya...@microsoft.com>; Vitaly Kuznetsov > <vkuzn...@redhat.com>; Roman Kagan <rka...@virtuozzo.com>; Denis V. > Lunev <d...@openvz.org>; qemu-devel@nongnu.org > Subject: [PATCH v1 1/7] drivers/hv: Move HV_SYNIC_STIMER_COUNT into > Hyper-V UAPI x86 header > > This constant is required for Hyper-V SynIC timers MSR's > support by userspace(QEMU). > > Signed-off-by: Andrey Smetanin <asmeta...@virtuozzo.com> > Reviewed-by: Roman Kagan <rka...@virtuozzo.com>
Acked-by: K. Y. Srinivasan <k...@microsoft.com> > CC: Gleb Natapov <g...@kernel.org> > CC: Paolo Bonzini <pbonz...@redhat.com> > CC: "K. Y. Srinivasan" <k...@microsoft.com> > CC: Haiyang Zhang <haiya...@microsoft.com> > CC: Vitaly Kuznetsov <vkuzn...@redhat.com> > CC: Roman Kagan <rka...@virtuozzo.com> > CC: Denis V. Lunev <d...@openvz.org> > CC: qemu-devel@nongnu.org > --- > arch/x86/include/uapi/asm/hyperv.h | 2 ++ > drivers/hv/hyperv_vmbus.h | 2 -- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/arch/x86/include/uapi/asm/hyperv.h > b/arch/x86/include/uapi/asm/hyperv.h > index 040d408..07981f0 100644 > --- a/arch/x86/include/uapi/asm/hyperv.h > +++ b/arch/x86/include/uapi/asm/hyperv.h > @@ -269,4 +269,6 @@ typedef struct _HV_REFERENCE_TSC_PAGE { > #define HV_SYNIC_SINT_AUTO_EOI (1ULL << 17) > #define HV_SYNIC_SINT_VECTOR_MASK (0xFF) > > +#define HV_SYNIC_STIMER_COUNT (4) > + > #endif > diff --git a/drivers/hv/hyperv_vmbus.h b/drivers/hv/hyperv_vmbus.h > index 3782636..46e23d1 100644 > --- a/drivers/hv/hyperv_vmbus.h > +++ b/drivers/hv/hyperv_vmbus.h > @@ -102,8 +102,6 @@ enum hv_message_type { > HVMSG_X64_LEGACY_FP_ERROR = 0x80010005 > }; > > -#define HV_SYNIC_STIMER_COUNT (4) > - > /* Define invalid partition identifier. */ > #define HV_PARTITION_ID_INVALID ((u64)0x0) > > -- > 2.4.3