From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753778AbcL3Thp (ORCPT ); Fri, 30 Dec 2016 14:37:45 -0500 Received: from p3plsmtps2ded02.prod.phx3.secureserver.net ([208.109.80.59]:60444 "EHLO p3plsmtps2ded02.prod.phx3.secureserver.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752063AbcL3Tho (ORCPT ); Fri, 30 Dec 2016 14:37:44 -0500 x-originating-ip: 72.167.245.219 From: "K. Y. Srinivasan" 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:34:22 -0800 Message-Id: <1483133662-29697-1-git-send-email-kys@microsoft.com> X-Mailer: git-send-email 1.7.4.1 Reply-To: kys@microsoft.com X-CMAE-Envelope: MS4wfGn5X8/jAAqSG2D8kVfXbZjgdr+ilNNIs8hjnQBoP5/wNibHVaDZA22pg8K0HjjFxw57k0YTQmbyGQhx95DzC715F6MFcRe5eSH+/wYn8DRqXkR6UVjD lEyBYGxhuc3MqcdA457kh0tJWQ865ipYLXKVaYJ711h4vZ++Iajms9AjUB4QgHACiGP6W8jO0023jp+s8qb4CJk7V+f5axyxaDCuN4KfWdf3VBjkza397VKD OCqtyhg6FThWtWvh0JILa8mRtlscT0Knr1SYWOkBxxqCL/cL8nu97y2CKb7pcMbMk9ZMnRh70O1qOE3x3vY3Z6HiQ9QPc3mK7hGX5vEDXizFf7kYWi6S1oaO 6YdyXdDnN1ScedD8O9fPUSLh3SkAPVL5D97vg0WCqknBq2qaD1Q9aN+bFwEKbce+LKFqzIGlmxEoDzSbB2UehHYB6SSHuTuwFPxf49xRKvoPfiLo2hVbB6vl EhIcqwygJ5IeWmAoXzp1qn0uP1Z3UWCvLFr4yo1IqFYDk4O+TjgvNbxMwhPmR1T+Nj6mXCxg0GMDE7m7PtoX49HKe6rb8MIbJSjzfw== Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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