Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754123AbcL3TiX (ORCPT ); Fri, 30 Dec 2016 14:38:23 -0500 Received: from p3plsmtps2ded04.prod.phx3.secureserver.net ([208.109.80.198]:46070 "EHLO p3plsmtps2ded04.prod.phx3.secureserver.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753403AbcL3TiW (ORCPT ); Fri, 30 Dec 2016 14:38:22 -0500 x-originating-ip: 72.167.245.219 From: kys@exchange.microsoft.com To: gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org, devel@linuxdriverproject.org, olaf@aepfle.de, apw@canonical.com, vkuznets@redhat.com, jasowang@redhat.com, leann.ogasawara@canonical.com, rkagan@virtuozzo.com, x86@kernel.org, tglx@linutronix.de, hpa@zytor.com Cc: "K. Y. Srinivasan" Subject: [PATCH 00/18] Drivers: hv: vmbus: Restructure architecture specific code Date: Fri, 30 Dec 2016 13:35:01 -0800 Message-Id: <1483133701-29738-1-git-send-email-kys@exchange.microsoft.com> X-Mailer: git-send-email 1.7.4.1 Reply-To: kys@microsoft.com X-CMAE-Envelope: MS4wfGI245PvUkDiaAKI1/lNL1QMHbTYnAC5B8kz53QtEK7+Gw4RLLbDw9HcPprmAyR8sPGk6OBZ2buOvUZMUl5YnoFbLflaYpK5G1DqRenilbqDljAnBwUe pps3mLuiji62F5zxmu1LwH0r4fh393lIkvP+83/zCATLEXHLSPngnPrKJlF1xV1dOzGlb2HI9q9VrxkcmIBoF/mOc8POhcKbn4Isr2yNZm9bIk4+BXom1iWI mwI3YjWLaN15Usq9VMPqA2XotUmMivOBiV2cxA5iADWlRt9iERiRb1azaXrKSxediIbwCo4wpLOHDtMFw1ZCsnXRJWED685skTMYloGCgGfgkqpnjJPYhlsN UatkF0g/d11nxOLwU9DITgcEo49WhhpVROyif3AKFOicXrAecDL/CIhT4BtO8ldMSlfF5fcf5FClexMKeJL7d3lCJkRCz6MBRNyOo5Z2uuHSvGPXkbV7FtaW 5rUWSCJ2xjUOhH8XJL5ctf4Ts8oXXye8Ue3Rnv8Caki1YsrC51UqF8c2LuzOJHengl6dBtlgYrFubttQiu6dH73ub76VrGeEFm+WzA== Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2528 Lines: 52 From: K. Y. Srinivasan 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 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