Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp1412722imm; Wed, 6 Jun 2018 15:54:01 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLIWPjnjjT3n8Z+CdIAFeqJSz0rL+GkFePZjhT730SK4XTCUFCNRxWvOw1o5Vl4cV5vaV/F X-Received: by 2002:a63:740d:: with SMTP id p13-v6mr4004418pgc.327.1528325641059; Wed, 06 Jun 2018 15:54:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528325641; cv=none; d=google.com; s=arc-20160816; b=hrXCRRuTsXAQ6MrtxPFSpJkLL6ApN7NxfJkZDq/Uwk4GyDE9fWLmZeota2zKjpT8Q/ ArTXuuekR+vAnttI5XDzr6hGPX9OxNfU3HtuRaKvtx8QDZGLvm5NH9R4rOAuo9A3y4Bu sF0C1PyKhkt+h8d+NvK0EUftXGvkoCS/9S9bOdUxNAThGduQsGi6bckt06Xzz9R0DR2D cZKRKqhVZZYx/jDEGeHk/CTTsjeXKw9WXHLzmbqcWDNjtOq+UICykI5Vymt9lbRP37On lFfXgHxwgVq1hRNKS46TSdFb4GlWs0u68+JGEVM1Kh92OuRBlagVRJFnsJ/jF6es7slO oxRw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :spamdiagnosticmetadata:spamdiagnosticoutput:content-language :accept-language:in-reply-to:references:message-id:date:thread-index :thread-topic:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=BGC1o6B48QQ7cmKNwk6KqdoHE/xJiMeKpzMSXh5ZMP8=; b=0hTqm3s+TrLlb9ybOY7DLGY1cdxTrd1ueNMxtR4/lS8T664a/p5WhyU848zU951IEN 8+pBhS7AiAcMH0KiujUKzYs3XvFyYgFdyHCa+vYQOpP4reWXSYJqv7tYKE02fnU361Dp q5lHPZ+Fvte7RaOM+w26inIlnwNOTvdtlVXQ7xTVYtCXjEflavKjo+plnKV7AR5mxpJ0 gxZLT2h65BgouTsHntDWzmIcNDChpkcHSmkLSzKOzhvd0WrBHKNt6+CsSF4kVuF3FxnA EoQaJUBTvTpw3Wsm3OdpJdl9WDegxQHkxiotpwFvT8RE91CAxZJlzS2S/ium9bP7J6uI x/oQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microsoft.com header.s=selector1 header.b=Kq4PIpWA; 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=pass (p=REJECT sp=REJECT dis=NONE) header.from=microsoft.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d1-v6si20590473pln.471.2018.06.06.15.53.46; Wed, 06 Jun 2018 15:54:01 -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; dkim=pass header.i=@microsoft.com header.s=selector1 header.b=Kq4PIpWA; 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=pass (p=REJECT sp=REJECT dis=NONE) header.from=microsoft.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752845AbeFFWlY (ORCPT + 99 others); Wed, 6 Jun 2018 18:41:24 -0400 Received: from mail-sn1nam02on0120.outbound.protection.outlook.com ([104.47.36.120]:36992 "EHLO NAM02-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752403AbeFFWlX (ORCPT ); Wed, 6 Jun 2018 18:41:23 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=BGC1o6B48QQ7cmKNwk6KqdoHE/xJiMeKpzMSXh5ZMP8=; b=Kq4PIpWAbkypS0vi2ipCEc4J+i5e52Bkt180V7IKmYW9sKD5qeX+C5xOVyvFIw9FJr2MAu1+nEkI4cUCRumS7fkgBd9/vkQWkq7dLtxST2EV1WRWN3rjZxZb8ERrgYrc99NxBccgQZ1QBM5jIFyrHM4eE291jFjL5QYFHHvjxmA= Received: from BL0PR2101MB1107.namprd21.prod.outlook.com (52.132.24.30) by BL0PR2101MB1010.namprd21.prod.outlook.com (52.132.23.160) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.863.2; Wed, 6 Jun 2018 22:41:20 +0000 Received: from BL0PR2101MB1107.namprd21.prod.outlook.com ([fe80::78fd:ff13:65d6:31d3]) by BL0PR2101MB1107.namprd21.prod.outlook.com ([fe80::78fd:ff13:65d6:31d3%4]) with mapi id 15.20.0841.011; Wed, 6 Jun 2018 22:41:20 +0000 From: KY Srinivasan To: Thomas Gleixner , Tianyu Lan , Allen Marshall CC: Haiyang Zhang , Stephen Hemminger , "mingo@redhat.com" , "hpa@zytor.com" , "x86@kernel.org" , "vkuznets@redhat.com" , Alexander Grest , "devel@linuxdriverproject.org" , "linux-kernel@vger.kernel.org" Subject: RE: [PATCH] HV: Fix definition of struct hv_vp_assist_page. Thread-Topic: [PATCH] HV: Fix definition of struct hv_vp_assist_page. Thread-Index: AQHT8OW0xvko0r+GHEaIrg880bNua6RTHXwAgADPYkA= Date: Wed, 6 Jun 2018 22:41:20 +0000 Message-ID: References: <20180521092506.90121-1-Tianyu.Lan@microsoft.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [2001:4898:80e8:2:d9b3:cdea:3634:b0ba] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;BL0PR2101MB1010;7:cjTqT+mShkBEeO1OoVrrXtah2ABTQrVMfSCHYSw/eqyqU5IutUyuaCopyYdIlrw6B2QA6V/iWd6JX09P6NtQtO2eoDgRrX7gSgP7zzCrcsZPzpmnxvdj0Tri/zzIJPG85PcsOEV4ACMp7shtDKgHwAjltZDKQlMernaVHkqVPIKYura7FEpVqF1crWBwSd76c7VKMLxc2QlGC+2t4IsSM2p/AuTb+CS8JruXB0rOV9dSUm30dxfLlocbqAt86BZS x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652020)(48565401081)(5600026)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603328)(7193020);SRVR:BL0PR2101MB1010; x-ms-traffictypediagnostic: BL0PR2101MB1010: authentication-results: spf=none (sender IP is ) smtp.mailfrom=kys@microsoft.com; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(28532068793085)(89211679590171)(9452136761055); x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(10201501046)(93006095)(93001095)(3002001)(3231254)(2018427008)(944501410)(52105095)(6055026)(149027)(150027)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123562045)(20161123558120)(20161123564045)(6072148)(201708071742011)(7699016);SRVR:BL0PR2101MB1010;BCL:0;PCL:0;RULEID:;SRVR:BL0PR2101MB1010; x-forefront-prvs: 06952FC175 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(39860400002)(39380400002)(366004)(376002)(396003)(346002)(13464003)(189003)(199004)(8676002)(7696005)(97736004)(10290500003)(33656002)(6436002)(11346002)(446003)(5250100002)(186003)(6636002)(46003)(229853002)(5660300001)(486006)(105586002)(1511001)(476003)(54906003)(110136005)(99286004)(106356001)(22452003)(316002)(25786009)(14454004)(3660700001)(8936002)(2900100001)(575784001)(6116002)(86362001)(4326008)(2906002)(6246003)(86612001)(8990500004)(3280700002)(9686003)(68736007)(53546011)(7736002)(102836004)(305945005)(81156014)(81166006)(74316002)(478600001)(55016002)(10090500001)(6506007)(76176011)(53936002);DIR:OUT;SFP:1102;SCL:1;SRVR:BL0PR2101MB1010;H:BL0PR2101MB1107.namprd21.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; received-spf: None (protection.outlook.com: microsoft.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: tXiZT1g7dnqJgtsEFRXBxGLDmq//5Zhh5WXcJw+cfIyQmc33pIn4MZ9lbW8nZeS6qz6XDtaiw1o7dYA8u19fDkqivBEKsQsTNyN0WJN6goTOpQUduQrkyyloBXwxfOjprlWGBFVM3Lk7QarWnLGSXVC88+IweU6oVAy0JsOXj3mVML4dEMg1Lwojg2s5BrBQ spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: 3447a917-1e32-4cab-d614-08d5cbfe9fb5 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3447a917-1e32-4cab-d614-08d5cbfe9fb5 X-MS-Exchange-CrossTenant-originalarrivaltime: 06 Jun 2018 22:41:20.3348 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL0PR2101MB1010 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org +Allen > -----Original Message----- > From: Thomas Gleixner > Sent: Wednesday, June 6, 2018 3:18 AM > To: Tianyu Lan > Cc: KY Srinivasan ; Haiyang Zhang > ; Stephen Hemminger > ; mingo@redhat.com; hpa@zytor.com; > x86@kernel.org; vkuznets@redhat.com; Alexander Grest > ; devel@linuxdriverproject.org; linux- > kernel@vger.kernel.org > Subject: Re: [PATCH] HV: Fix definition of struct hv_vp_assist_page. >=20 > On Mon, 21 May 2018, Tianyu Lan wrote: >=20 > KY ???? I am looking at the published Hyper-V Top Level Functional Spec now; will g= et back shortly. >=20 > > The struct hv_vp_assist_page was defined incorrectly. > > The "vtl_control" should be u64[3], "nested_enlightenments_control" > > should be a u64 and there is 7 reserved bytes following > "enlighten_vmentry". > > This patch is to fix it. > > > > Signed-off-by: Lan Tianyu > > --- > > arch/x86/include/asm/hyperv-tlfs.h | 9 +++++---- > > 1 file changed, 5 insertions(+), 4 deletions(-) > > > > diff --git a/arch/x86/include/asm/hyperv-tlfs.h > b/arch/x86/include/asm/hyperv-tlfs.h > > index f7be6d03a310..fae0a5431cdd 100644 > > --- a/arch/x86/include/asm/hyperv-tlfs.h > > +++ b/arch/x86/include/asm/hyperv-tlfs.h > > @@ -496,10 +496,11 @@ struct hv_timer_message_payload { > > /* Define virtual processor assist page structure. */ > > struct hv_vp_assist_page { > > __u32 apic_assist; > > - __u32 reserved; > > - __u64 vtl_control[2]; > > - __u64 nested_enlightenments_control[2]; > > - __u32 enlighten_vmentry; > > + __u32 reserved1; > > + __u64 vtl_control[3]; > > + __u64 nested_enlightenments_control; > > + __u8 enlighten_vmentry; > > + __u8 reserved2[7]; > > __u64 current_nested_vmcs; > > }; > > > > -- > > 2.14.3 > >