Received: by 10.223.185.116 with SMTP id b49csp849139wrg; Tue, 20 Feb 2018 08:50:23 -0800 (PST) X-Google-Smtp-Source: AH8x225CdmQ0xKvMUl0J2bpHFxpEWF3wqRF3K5oExFqD73TPuYayAGFu85E/CnN1SXUIOveKHBC9 X-Received: by 10.101.77.144 with SMTP id p16mr214357pgq.106.1519145422884; Tue, 20 Feb 2018 08:50:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519145422; cv=none; d=google.com; s=arc-20160816; b=CcVhatdbUxJPNZDONjYz6DT/phErpf7U983yAiBeIp0tf3AdBy43xfXagNWfyYWQAG i4PPsYKs+/6aq+FYooO20wL6bl7Scce5MGhd4Gm08JNcEUgH5vxaM+dB+LqDsVllEWT1 aQ7lQWUfL+JOG4+fZFWQl3X2s6qixYJbAHCvoWDdNExd8ipWAUYyTJ2HszLp0sEonkIZ LJ5Osng0tD73ZeaIPv/K8CkWlf9AHKlqsKEytBG2lDbLaatmWOmT6SJiahDYXEM3iEWT 4WITXuH58e6HvVit/TKnBWaGrwqJF+KNJjE1r2aQMWhlGScu1yaA8daBpGrONnAMefzR PSgg== 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=ahtCowCOYmZQ54Qex76//PurGIJGL7h1FQeirfLefmo=; b=zXm1vP4oLuNZ+s9nPrcsrOhz2claa1Y0c3qCiaWAphHSD5P3mWZ2uZGtMJ37QiUKLB zPnmiJKXkvZYcoi7Qz+QSibQYkdEu6siyilPI9qJknZE8QFCmlKpQuD87l0rOz4bPzUo xA76dow+hKv+cGT6p9QJkU6k2wOeRmqolVE21o0CiKOjOjbDrKkO9xrV5dYvNTFLhp9r HH5DGtRO5J9iKfY5M52ZIFOQ46S9gONxCeOD3ae8A4z9nlbhc4fDt7ExjXzejFw0F2xc KXycN8mSimEAkOd5jQ7ICMzNW4cERsgwe3s7FgMW4deY24H/McYYO05Lb6K5YAHOm4/m iRrA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microsoft.com header.s=selector1 header.b=Eu/qCYgM; 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 x12si1013114pgr.279.2018.02.20.08.50.08; Tue, 20 Feb 2018 08:50:22 -0800 (PST) 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=Eu/qCYgM; 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 S1752949AbeBTQsy (ORCPT + 99 others); Tue, 20 Feb 2018 11:48:54 -0500 Received: from mail-cys01nam02on0120.outbound.protection.outlook.com ([104.47.37.120]:10624 "EHLO NAM02-CY1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752330AbeBTQsw (ORCPT ); Tue, 20 Feb 2018 11:48:52 -0500 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; bh=ahtCowCOYmZQ54Qex76//PurGIJGL7h1FQeirfLefmo=; b=Eu/qCYgM9YmKGP/MKoNlDOjrx4ZtVzm5SwLaEt8Gl+pR8iWixgzVaxw84Akpuq2apADH68krJJvegsOVnG0f4joltUXKLZk5m/WODswKsPqEpe5h/fVgqWUT982vjp+zGyL36c4Ptc2Prqb+B8LG6/++d/vOdk8y1stv4mc2R9k= Received: from DM5PR2101MB0888.namprd21.prod.outlook.com (52.132.132.157) by DM5PR2101MB0872.namprd21.prod.outlook.com (10.167.111.39) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.548.1; Tue, 20 Feb 2018 16:48:50 +0000 Received: from DM5PR2101MB0888.namprd21.prod.outlook.com ([fe80::60e3:7af:1961:8620]) by DM5PR2101MB0888.namprd21.prod.outlook.com ([fe80::60e3:7af:1961:8620%2]) with mapi id 15.20.0548.005; Tue, 20 Feb 2018 16:48:50 +0000 From: KY Srinivasan To: KarimAllah Ahmed , "linux-kernel@vger.kernel.org" , "devel@linuxdriverproject.org" , "x86@kernel.org" CC: Haiyang Zhang , Stephen Hemminger , Thomas Gleixner , Ingo Molnar , "H . Peter Anvin" Subject: RE: [PATCH] X86/UAPI: Use __u64 instead of u64 in hyperv.h Thread-Topic: [PATCH] X86/UAPI: Use __u64 instead of u64 in hyperv.h Thread-Index: AQHTqh4JMqo3qqolIEiafDtLlZ6qdaOtgPJQ Date: Tue, 20 Feb 2018 16:48:50 +0000 Message-ID: References: <1519112391-23773-1-git-send-email-karahmed@amazon.de> In-Reply-To: <1519112391-23773-1-git-send-email-karahmed@amazon.de> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [2601:600:a280:b50:dd83:fea:de1:6d4] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;DM5PR2101MB0872;7:Uj39ks6XhrAMBduf4xME37OQy44Ad54YbyvsTf/AP3rmuwAKrnYKLtB7jLhG5wHn1xq2pTnAvr8i/OzCZlKoAbLyfqndPBCYj3QEUumaYJmwW2+4ge9cu/aTE3WXUyPsnFFfOCtnOHl1X6Fc9mu64ymPwOhezt7umJsBiTdoYVJctRfOUoFWw7G3GwlVTqhEJYPl34TKUzerTRw7aKgvU5/CJFQ67lSUDCVqmhogHezCpzHJo71JyzDfxgRZcNq/ x-ms-exchange-antispam-srfa-diagnostics: SSOS;SSOR; x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 73c92107-28de-4ebb-03b7-08d57881d193 x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652020)(4534165)(4627221)(201703031133081)(201702281549075)(48565401081)(5600026)(4604075)(3008032)(2017052603307)(7193020);SRVR:DM5PR2101MB0872; x-ms-traffictypediagnostic: DM5PR2101MB0872: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(28532068793085)(89211679590171)(9452136761055); x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(8211001056)(61425038)(6040501)(2401047)(5005006)(8121501046)(3002001)(93006095)(93001095)(3231140)(944501161)(52105037)(10201501046)(6055026)(61426038)(61427038)(6041288)(20161123558120)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(20161123564045)(6072148)(201708071742011);SRVR:DM5PR2101MB0872;BCL:0;PCL:0;RULEID:;SRVR:DM5PR2101MB0872; x-forefront-prvs: 05891FB07F x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(366004)(346002)(39860400002)(396003)(39380400002)(376002)(199004)(189003)(13464003)(2900100001)(3660700001)(5660300001)(106356001)(6436002)(6346003)(186003)(102836004)(6506007)(53546011)(5250100002)(33656002)(2501003)(55016002)(229853002)(9686003)(97736004)(105586002)(81156014)(10090500001)(8676002)(81166006)(8990500004)(68736007)(53936002)(6246003)(478600001)(3280700002)(14454004)(2950100002)(8936002)(10290500003)(74316002)(7736002)(305945005)(2906002)(76176011)(7696005)(86612001)(316002)(575784001)(25786009)(99286004)(4326008)(22452003)(2201001)(86362001)(6116002)(54906003)(110136005);DIR:OUT;SFP:1102;SCL:1;SRVR:DM5PR2101MB0872;H:DM5PR2101MB0888.namprd21.prod.outlook.com;FPR:;SPF:None;PTR:InfoNoRecords;A:1;MX:1;LANG:en; received-spf: None (protection.outlook.com: microsoft.com does not designate permitted sender hosts) authentication-results: spf=none (sender IP is ) smtp.mailfrom=kys@microsoft.com; x-microsoft-antispam-message-info: T5P25/5FpRkRqB/EKwmq5jFlE8fM8W9xe+25OZZyR33o2EOilBBtVEHvaLBjl0P6rmNVw91E3iQky1+0JEo4Owz8DYVFouvgcgzqWFBbvmWH7alJgOf7nQzJ7S2gX41A67C0MvrdG1xZ2GYpuHxH/mv7wM3J/CoydtniuyHYvcg= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-Network-Message-Id: 73c92107-28de-4ebb-03b7-08d57881d193 X-MS-Exchange-CrossTenant-originalarrivaltime: 20 Feb 2018 16:48:50.3949 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR2101MB0872 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > -----Original Message----- > From: KarimAllah Ahmed > Sent: Monday, February 19, 2018 11:40 PM > To: linux-kernel@vger.kernel.org; devel@linuxdriverproject.org; > x86@kernel.org > Cc: KarimAllah Ahmed ; KY Srinivasan > ; Haiyang Zhang ; Stephen > Hemminger ; Thomas Gleixner > ; Ingo Molnar ; H . Peter Anvin > > Subject: [PATCH] X86/UAPI: Use __u64 instead of u64 in hyperv.h >=20 > ... since u64 has a hidden header dependency that was not there before > using it (i.e. it breaks our VMM build). Also, __u64 is the right way to > expose the data type through UAPI. >=20 > Fixes: 93286261 ("x86/hyperv: Reenlightenment notifications support") > Signed-off-by: KarimAllah Ahmed > Cc: K. Y. Srinivasan > Cc: Haiyang Zhang > Cc: Stephen Hemminger > Cc: Thomas Gleixner > Cc: Ingo Molnar > Cc: H. Peter Anvin > Cc: x86@kernel.org > Cc: devel@linuxdriverproject.org > Cc: linux-kernel@vger.kernel.org Acked-by: K. Y. Srinivasan > --- > arch/x86/include/uapi/asm/hyperv.h | 18 +++++++++--------- > 1 file changed, 9 insertions(+), 9 deletions(-) >=20 > diff --git a/arch/x86/include/uapi/asm/hyperv.h > b/arch/x86/include/uapi/asm/hyperv.h > index 197c2e6..0994143 100644 > --- a/arch/x86/include/uapi/asm/hyperv.h > +++ b/arch/x86/include/uapi/asm/hyperv.h > @@ -241,24 +241,24 @@ > #define HV_X64_MSR_REENLIGHTENMENT_CONTROL 0x40000106 >=20 > struct hv_reenlightenment_control { > - u64 vector:8; > - u64 reserved1:8; > - u64 enabled:1; > - u64 reserved2:15; > - u64 target_vp:32; > + __u64 vector:8; > + __u64 reserved1:8; > + __u64 enabled:1; > + __u64 reserved2:15; > + __u64 target_vp:32; > }; >=20 > #define HV_X64_MSR_TSC_EMULATION_CONTROL 0x40000107 > #define HV_X64_MSR_TSC_EMULATION_STATUS 0x40000108 >=20 > struct hv_tsc_emulation_control { > - u64 enabled:1; > - u64 reserved:63; > + __u64 enabled:1; > + __u64 reserved:63; > }; >=20 > struct hv_tsc_emulation_status { > - u64 inprogress:1; > - u64 reserved:63; > + __u64 inprogress:1; > + __u64 reserved:63; > }; >=20 > #define HV_X64_MSR_HYPERCALL_ENABLE 0x00000001 > -- > 2.7.4