[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v1 1/7] drivers/hv: Move HV_SYNIC_STIMER_COUNT i
From: |
KY Srinivasan |
Subject: |
Re: [Qemu-devel] [PATCH v1 1/7] drivers/hv: Move HV_SYNIC_STIMER_COUNT into Hyper-V UAPI x86 header |
Date: |
Fri, 27 Nov 2015 17:27:54 +0000 |
> -----Original Message-----
> From: Andrey Smetanin [mailto:address@hidden
> Sent: Wednesday, November 25, 2015 7:20 AM
> To: address@hidden
> Cc: Gleb Natapov <address@hidden>; Paolo Bonzini
> <address@hidden>; KY Srinivasan <address@hidden>; Haiyang
> Zhang <address@hidden>; Vitaly Kuznetsov
> <address@hidden>; Roman Kagan <address@hidden>; Denis V.
> Lunev <address@hidden>; address@hidden
> 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 <address@hidden>
> Reviewed-by: Roman Kagan <address@hidden>
Acked-by: K. Y. Srinivasan <address@hidden>
> CC: Gleb Natapov <address@hidden>
> CC: Paolo Bonzini <address@hidden>
> CC: "K. Y. Srinivasan" <address@hidden>
> CC: Haiyang Zhang <address@hidden>
> CC: Vitaly Kuznetsov <address@hidden>
> CC: Roman Kagan <address@hidden>
> CC: Denis V. Lunev <address@hidden>
> CC: address@hidden
> ---
> 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
- [Qemu-devel] [PATCH v1 0/7] KVM: Hyper-V SynIC timers, Andrey Smetanin, 2015/11/25
- [Qemu-devel] [PATCH v1 1/7] drivers/hv: Move HV_SYNIC_STIMER_COUNT into Hyper-V UAPI x86 header, Andrey Smetanin, 2015/11/25
- Re: [Qemu-devel] [PATCH v1 1/7] drivers/hv: Move HV_SYNIC_STIMER_COUNT into Hyper-V UAPI x86 header,
KY Srinivasan <=
- [Qemu-devel] [PATCH v1 3/7] kvm/x86: Rearrange func's declarations inside Hyper-V header, Andrey Smetanin, 2015/11/25
- [Qemu-devel] [PATCH v1 4/7] kvm/x86: Added Hyper-V vcpu_to_hv_vcpu()/hv_vcpu_to_vcpu() helpers, Andrey Smetanin, 2015/11/25
- [Qemu-devel] [PATCH v1 2/7] drivers/hv: Move struct hv_message into UAPI Hyper-V x86 header, Andrey Smetanin, 2015/11/25
- [Qemu-devel] [PATCH v1 5/7] kvm/x86: Hyper-V internal helper to read MSR HV_X64_MSR_TIME_REF_COUNT, Andrey Smetanin, 2015/11/25
- [Qemu-devel] [PATCH v1 7/7] kvm/x86: Hyper-V SynIC timers, Andrey Smetanin, 2015/11/25