Received: by 10.213.65.68 with SMTP id h4csp870443imn; Wed, 14 Mar 2018 02:38:12 -0700 (PDT) X-Google-Smtp-Source: AG47ELthfk/7NUn5d9iICegpH85tSmTNLveRnKumw8kujVFUQqlxp07uGXbX3e7cM9I59zv86Epj X-Received: by 10.98.13.24 with SMTP id v24mr3610988pfi.89.1521020292840; Wed, 14 Mar 2018 02:38:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521020292; cv=none; d=google.com; s=arc-20160816; b=fnCBierWj2GXpIkblJhlH8997jhmtPMZstx5dazZ4FyCzh/iJsoBUhLkf2Pd2ke0FH kW+uyI9VXgMzVfMH98j0MTOtvHeH3cNFuJcvoMu8N38LomVH3h4gjNrdiPbDqRDUmm1T t9sWNoNb/MTrrLB4AxTlHnslShEnsXgzrecuynymRnyt64vKkTaUlK1yoNWMd6ySheLc bx66fHdeH9UT/o2HEAIKkqtXgFRLwASwl9L2B6YlIol53W42ILJMvqpoLM9tes66usjz BAvCGWUwOTblwdtmvhoH5/hLRkhO10gHCiar9nNE91eyTGBZ0fdoB9F7+2lZMoytzdIs pZzg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:message-id:in-reply-to:date:references:subject:cc:to :from:arc-authentication-results; bh=/OCMc+HVEvG0gamLA4LunpJFWDGwM+LZ1EnG8Z1VfAA=; b=TwPSz2GVnnpz2XsH6KZ2oBUCuapDwAVIqE3fOuEet61NJZ+4vYsoPvMITmmzrBIDJS 93Gbi3UdP20IkbjUPLONeMDtK1aa2ojWLfWPMl7v67I3arAupaPAeDHIJdapy25b4L5+ A5ZsO5ry4l88qjqx0QBEDgeY84RH5walIxXuIOLUxPwnijDZYaawe2j12kExTs7BuNBo ozrFV8Ns1G5xsT3wN2GqHJcNdNWRnXa9MybZLm+cpgiA6qSB18n3Wskk4mjeVfgVCUAa 5c5c5HDVYv9vNAyLawzYxrdc01zIPMc3r6ecUJfi2D3fIq1z5yWgkaSTlPtJwUws7Xzh Uvbw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v189si1585949pgb.374.2018.03.14.02.37.58; Wed, 14 Mar 2018 02:38:12 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751523AbeCNJf7 (ORCPT + 99 others); Wed, 14 Mar 2018 05:35:59 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:40678 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750751AbeCNJf5 (ORCPT ); Wed, 14 Mar 2018 05:35:57 -0400 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 2386E7C6CC; Wed, 14 Mar 2018 09:35:57 +0000 (UTC) Received: from vitty.brq.redhat.com.redhat.com (unknown [10.40.205.97]) by smtp.corp.redhat.com (Postfix) with ESMTPS id D5E0A2026DFD; Wed, 14 Mar 2018 09:35:53 +0000 (UTC) From: Vitaly Kuznetsov To: "Michael Kelley \(EOSG\)" Cc: "kvm\@vger.kernel.org" , "x86\@kernel.org" , Paolo Bonzini , Radim =?utf-8?B?S3LEjW3DocWZ?= , KY Srinivasan , Haiyang Zhang , Stephen Hemminger , Mohammed Gamal , Cathy Avery , Bandan Das , "linux-kernel\@vger.kernel.org" Subject: Re: [PATCH v3 1/7] x86/hyper-v: move hyperv.h out of uapi References: <20180309140249.2840-1-vkuznets@redhat.com> <20180309140249.2840-2-vkuznets@redhat.com> Date: Wed, 14 Mar 2018 10:35:52 +0100 In-Reply-To: (Michael Kelley's message of "Tue, 13 Mar 2018 22:46:10 +0000") Message-ID: <874lljc83r.fsf@vitty.brq.redhat.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.78 on 10.11.54.4 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.2]); Wed, 14 Mar 2018 09:35:57 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.2]); Wed, 14 Mar 2018 09:35:57 +0000 (UTC) for IP:'10.11.54.4' DOMAIN:'int-mx04.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'vkuznets@redhat.com' RCPT:'' Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org "Michael Kelley (EOSG)" writes: >> -----Original Message----- >> From: Vitaly Kuznetsov >> Sent: Friday, March 9, 2018 6:03 AM >> To: kvm@vger.kernel.org >> Cc: x86@kernel.org; Paolo Bonzini ; Radim Krčmář >> ; KY Srinivasan ; Haiyang Zhang >> ; Stephen Hemminger ; Michael >> Kelley (EOSG) ; Mohammed Gamal >> ; Cathy Avery ; Bandan Das ; >> linux-kernel@vger.kernel.org >> Subject: [PATCH v3 1/7] x86/hyper-v: move hyperv.h out of uapi >> >> hyperv.h is not part of uapi, there are no (known) users outside of kernel. >> We are making changes to this file to match current Hyper-V TLFS and we >> don't want to maintain backwards compatibility. >> >> Move the file renaming to hyperv-tlfs.h to avoid confusing it with >> mshyperv.h. In future, all definitions from TLFS should go to it and >> all kernel objects should go to mshyperv.h or include/linux/hyperv.h. >> >> Signed-off-by: Vitaly Kuznetsov >> --- > > [snip] > >> diff --git a/drivers/hv/connection.c b/drivers/hv/connection.c >> index 447371f4de56..72855182b191 100644 >> --- a/drivers/hv/connection.c >> +++ b/drivers/hv/connection.c >> @@ -31,7 +31,6 @@ >> #include >> #include >> #include >> -#include > > This #include should remain and be changed to asm/hyperv-tlfs.h. This > file uses the hypercall status values HV_STATUS_*. > >> #include My idea was that already includes so there's no need to include them both. >> >> #include "hyperv_vmbus.h" >> diff --git a/drivers/hv/hv.c b/drivers/hv/hv.c >> index fe96aab9e794..45f3694bbb76 100644 >> --- a/drivers/hv/hv.c >> +++ b/drivers/hv/hv.c >> @@ -29,7 +29,6 @@ >> #include >> #include >> #include >> -#include > > This #include should remain and be changed to asm/hyperv-tlfs.h. This > file uses HV_MESSAGE_* values. > Ditto. >> #include >> #include "hyperv_vmbus.h" >> >> diff --git a/drivers/hv/hyperv_vmbus.h b/drivers/hv/hyperv_vmbus.h >> index 22300ec7b556..500f805a6ef2 100644 >> --- a/drivers/hv/hyperv_vmbus.h >> +++ b/drivers/hv/hyperv_vmbus.h >> @@ -27,6 +27,7 @@ >> >> #include >> #include >> +#include >> #include >> #include >> #include >> diff --git a/drivers/hv/vmbus_drv.c b/drivers/hv/vmbus_drv.c >> index bc65c4d79c1f..b10fe26c4891 100644 >> --- a/drivers/hv/vmbus_drv.c >> +++ b/drivers/hv/vmbus_drv.c >> @@ -36,7 +36,6 @@ >> #include >> #include >> >> -#include > > This #include should remain and be changed to asm/hyperv-tlfs.h. This > file uses HVMSG_* values. > Ditto. >> #include >> #include >> #include Thanks for the review! -- Vitaly