Skip to content

hyperv: more stuff to uapi + cleanup

Roman Kagan kvm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest15 patches 37 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/15hyperv: consolidate TSC ref page definitionsarch/x86/include/asm/kvm_host.h arch/x86/include/uapi/asm/hyperv.h arch/x86/kvm/hyperv.c +2 more+26 -462 replies
2/15hyperv: uapi-fy synic event flags definitionsarch/x86/include/uapi/asm/hyperv.h drivers/hv/channel_mgmt.c drivers/hv/connection.c +2 more+54 -973 replies
3/15hyperv: use standard bitopsdrivers/hv/channel.c drivers/hv/connection.c+6 -114 replies
4/15hyperv: define VMBus message typearch/x86/include/uapi/asm/hyperv.h drivers/hv/connection.c+3 -10 replies
5/15hyperv: GFP_ATOMIC -> GFP_KERNELdrivers/hv/hv.c+10 -130 replies
6/15hyperv: avoid unnecessary vmallocdrivers/hv/hv.c+18 -241 reply
7/15hyperv: dedup cpuid definitionsdrivers/hv/hv.c drivers/hv/hyperv_vmbus.h+3 -220 replies
8/15hyperv: dedup crash msr related definitionsdrivers/hv/hyperv_vmbus.h drivers/hv/vmbus_drv.c+3 -140 replies
9/15hyperv: unify Hyper-V msr definitionsdrivers/hv/hv.c drivers/hv/hyperv_vmbus.h+59 -1790 replies
10/15hyperv: uapi-fy PostMessage and SignalEvent hypercall structuresarch/x86/include/uapi/asm/hyperv.h drivers/hv/channel_mgmt.c drivers/hv/connection.c +4 more+30 -551 reply
11/15hyperv: uapi-fy monitored notification structuresarch/x86/include/uapi/asm/hyperv.h drivers/hv/hyperv_vmbus.h+23 -600 replies
12/15hyperv: move VMBus connection ids to uapiarch/x86/include/uapi/asm/hyperv.h drivers/hv/hyperv_vmbus.h+9 -1023 replies
13/15hyperv: move function close to its only callsitedrivers/hv/hv.c drivers/hv/hyperv_vmbus.h+39 -440 replies
14/15hyperv_vmbus: drop unused definitionsdrivers/hv/hyperv_vmbus.h+0 -1190 replies
15/15hyperv: redefine hv_message without bitfieldsarch/x86/include/uapi/asm/hyperv.h arch/x86/kvm/hyperv.c drivers/hv/channel_mgmt.c +2 more+15 -370 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 00/15] hyperv: more stuff to uapi + cleanup

Expose more Hyper-V-related definitions in the uapi header for consumption by userspace.

While doing so, get rid of a number of duplications between the KVM and the guest driver code. Also a few other cleanups are made which are not strictly necessary for the main purpose of the series but appear reasonable to do at the same time.

The most controversial is the last patch which modifies the stuff already published in the uapi header, in the hope that no userspace applications have started relying on it; I'm ok dropping it if this is unacceptable.

Roman Kagan (15):
hyperv: consolidate TSC ref page definitions
hyperv: uapi-fy synic event flags definitions
hyperv: use standard bitops
hyperv: define VMBus message type
hyperv: GFP_ATOMIC -> GFP_KERNEL
hyperv: avoid unnecessary vmalloc
hyperv: dedup cpuid definitions
hyperv: dedup crash msr related definitions
hyperv: unify Hyper-V msr definitions
hyperv: uapi-fy PostMessage and SignalEvent hypercall structures
hyperv: uapi-fy monitored notification structures
hyperv: move VMBus connection ids to uapi
hyperv: move function close to its only callsite
hyperv_vmbus: drop unused definitions
hyperv: redefine hv_message without bitfields

 arch/x86/include/asm/kvm_host.h    |   2 +-
 arch/x86/include/uapi/asm/hyperv.h | 101 +++++++---
 drivers/hv/hyperv_vmbus.h          | 399 +------------------------------------
 include/linux/hyperv.h             |  24 +--
 arch/x86/kvm/hyperv.c              |  14 +-
 drivers/hv/channel.c               |   8 +-
 drivers/hv/channel_mgmt.c          |  30 +--
 drivers/hv/connection.c            |  65 ++----
 drivers/hv/hv.c                    | 300 +++++++++++++---------------
 drivers/hv/vmbus_drv.c             |  67 +++----
 10 files changed, 288 insertions(+), 722 deletions(-)
Signature · 1 line
2.9.3