[PATCH 00/18] Drivers: hv: vmbus: Restructure architecture specific code

From: K. Y. Srinivasan
Date: Fri Dec 30 2016 - 14:37:54 EST


The current Hyper-V code under drivers/hv has bunch of X86 specific code.
Restructure the code and move al architecture specific code to the
appropriate files.

As I was working on this restructuring, Roman Kagan <rkagan@xxxxxxxxxxxxx>
has submitted patches to restructure the Hyper-V header files to address
a different need - to share the definitions across all Hyper-V drivers
including QEMU based drivers. Roman and I will coordinate our work.

K. Y. Srinivasan (18):
Drivers: hv: vmbus: Move the definition of
hv_x64_msr_hypercall_contents
Drivers: hv: vmbus: Move the definition of generate_guest_id()
Drivers: hv vmbus: Move Hypercall page setup out of common code
Drivers: hv: vmbus: Move Hypercall invocation code out of common code
Drivers: hv: vmbus: Consolidate all Hyper-V specific clocksource code
Drivers: hv: vmbus: Move the extracting of Hypervisor version
information
Drivers: hv: vmbus: Move the crash notification function
Drivers: hv: vmbus: Move the check for hypercall page setup
Drivers: hv: vmbus: Move the code to signal end of message
Drivers: hv: vmbus: Restructure the clockevents code
Drivers: hv: util: Use hv_get_current_tick() to get current tick
Drivers: hv: vmbus: Get rid of an unsused variable
Drivers: hv: vmbus: Define APIs to manipulate the message page
Drivers: hv: vmbus: Define APIs to manipulate the event page
Drivers: hv: vmbus: Define APIs to manipulate the synthetic interrupt
controller
Drivers: hv: vmbus: Define an API to retrieve virtual processor index
Drivers: hv: vmbus: Define an APIs to manage interrupt state
Drivers: hv: vmbus: Cleanup hyperv_vmbus.h

arch/x86/Kbuild | 3 +
arch/x86/hyperv/Makefile | 1 +
arch/x86/hyperv/hv_init.c | 251 ++++++++++++++++++++++++++++++
arch/x86/include/asm/mshyperv.h | 147 ++++++++++++++++++
arch/x86/include/uapi/asm/hyperv.h | 8 +
arch/x86/kernel/cpu/mshyperv.c | 50 ++++---
drivers/hv/channel_mgmt.c | 1 +
drivers/hv/connection.c | 7 +-
drivers/hv/hv.c | 296 ++++--------------------------------
drivers/hv/hv_util.c | 3 +-
drivers/hv/hyperv_vmbus.h | 291 +-----------------------------------
drivers/hv/vmbus_drv.c | 25 ---
12 files changed, 472 insertions(+), 611 deletions(-)
create mode 100644 arch/x86/hyperv/Makefile
create mode 100644 arch/x86/hyperv/hv_init.c

--
1.7.4.1