Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp134183imm; Tue, 10 Jul 2018 23:02:18 -0700 (PDT) X-Google-Smtp-Source: AAOMgpf7RVjwfgs9wvIfYWPA1/XApwAb3+s47OXF+KlwQYSMsnfhMmWLOyawX5T5Mx9NPlJkK50J X-Received: by 2002:a17:902:1703:: with SMTP id i3-v6mr26824094pli.263.1531288938403; Tue, 10 Jul 2018 23:02:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531288938; cv=none; d=google.com; s=arc-20160816; b=wHnusXBwdVKIF20ZvRcXDQAy6RQYgfae5W+kXzlF6ibCec00fDN3fm1S/Jy1lAsaJD +QcbTKavw296tUjqsMXwaDo5AHccRErYLm6LD3B9Hy+tizMZMac6RMOQf3qB2I+JUahl IaHH8muYYiNdBm6RSySanJwBJgNhHv+SqCMHpf2l7h1MyYZcXNtwcm1kjUwpZzLTLCHt hAV2lykqM6oejpcNp95fKl+TPCKPmwbp16z++TBxmA8CNuu2AOy+/g75Vt/61bR768ai rP3pAKZRF3ZBdLEdKviPTn350zi+FuZB0Jo8SooFRrW69l8n4vuM9hwh+WtIbIlZpL6G HrHg== 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 :content-id: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=WJWR7AjZzywO//bDbEvlnWwVdY5mazb2ar0FOrdkAnI=; b=N2FB8C6Q2wlVRyblx7+rF8Q0aEAXsoo4/eamuFNVl8m1IH39KszQH7A4JK6AgQFS3I LJeEVX0ywnJ0o0Dv6RGeWvJ5qyqqR6PkbKNscwcMF5V4qYcRDkpkn0ba8jgZg79feQSI wCCDBWG3xSmbpYt2ZRIC2Hp74Mcg6dGGOhU4BI8ehYdkpj8DhX6fspQdOCYqmiJKGvnd 2ekAzHNGuxeC4PtpN4D+sMFP1oz9wphYLWtUWT5RcSkzXSB5+3FQtP2CmD9G3VD5rAiE D/18mlq8Wr/vuKbHKF9/KcNKNgKZlh7+0vP6p2zQlsH5O4cDYtt9559LBFwK7HQgon3Q Rxvg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microsoft.com header.s=selector1 header.b=M8Xc2cXJ; 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 t26-v6si17317109pgv.513.2018.07.10.23.02.02; Tue, 10 Jul 2018 23:02:18 -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=M8Xc2cXJ; 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 S1726488AbeGKGED (ORCPT + 99 others); Wed, 11 Jul 2018 02:04:03 -0400 Received: from mail-sg2apc01on0114.outbound.protection.outlook.com ([104.47.125.114]:23734 "EHLO APC01-SG2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726294AbeGKGED (ORCPT ); Wed, 11 Jul 2018 02:04:03 -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=WJWR7AjZzywO//bDbEvlnWwVdY5mazb2ar0FOrdkAnI=; b=M8Xc2cXJ92kOFlVEbbUCxklMFx8HQzGJpbAIwtK+EihRWx0Kq44r3wH8K7UqtHLXCHyccSgVw9nz4Zu+Eg/cPhveoLxdLHEd90HpVyj1kJe237+UGfQMZrfDIwC1mm65WW4EIXabvV+Fn+YnJaWA2wRXIhv8Yn2iXL6DharldQc= Received: from SG2P15301MB0093.APCP153.PROD.OUTLOOK.COM (10.170.136.145) by SG2P15301MB0013.APCP153.PROD.OUTLOOK.COM (10.170.135.146) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.952.17; Wed, 11 Jul 2018 06:01:17 +0000 Received: from SG2P15301MB0093.APCP153.PROD.OUTLOOK.COM ([fe80::f916:a637:8730:be25]) by SG2P15301MB0093.APCP153.PROD.OUTLOOK.COM ([fe80::f916:a637:8730:be25%4]) with mapi id 15.20.0952.017; Wed, 11 Jul 2018 06:01:17 +0000 From: Tianyu Lan To: "Michael Kelley (EOSG)" , Tianyu Lan CC: KY Srinivasan , Haiyang Zhang , Stephen Hemminger , "tglx@linutronix.de" , "mingo@redhat.com" , "hpa@zytor.com" , "x86@kernel.org" , "pbonzini@redhat.com" , "rkrcmar@redhat.com" , "devel@linuxdriverproject.org" , "linux-kernel@vger.kernel.org" , "kvm@vger.kernel.org" , "vkuznets@redhat.com" Subject: Re: [PATCH V2 1/5] X86/Hyper-V: Add flush HvFlushGuestPhysicalAddressSpace hypercall support Thread-Topic: [PATCH V2 1/5] X86/Hyper-V: Add flush HvFlushGuestPhysicalAddressSpace hypercall support Thread-Index: AQHUF2OTueZcpG5JbkW4yjhT+Jne3aSI+10AgACO8wA= Date: Wed, 11 Jul 2018 06:01:16 +0000 Message-ID: References: <20180709090218.15342-1-Tianyu.Lan@microsoft.com> <20180709090218.15342-2-Tianyu.Lan@microsoft.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=Tianyu.Lan@microsoft.com; x-originating-ip: [52.168.54.252] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;SG2P15301MB0013;7:kAusRvDgpiX3l3dwiLRpE5j2ySC8f05dhu+t5KQcm3wf+lUnyhvIv00vPUzvSTm0rsVwdJNu2HN8KD30+xwGBcO/iarkICrDYpLbwcSSxq+2VMSh1LQbseeFZ8BD5U0xLjECo7pWRUY23y6H24VGY+66lT70E9QAaM1+iwOdKhhgYNvJ+BlgLYeptuogI2GWJycionHOYtmfWh84GRpyHuB6c5TjXfWMbC6EQitIp9erFVLAFkhPznmOSvKJhxak x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 8cd4e3c6-6cb2-451e-bb86-08d5e6f3b798 x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652040)(8989117)(48565401081)(5600053)(711020)(2017052603328)(7193020);SRVR:SG2P15301MB0013; x-ms-traffictypediagnostic: SG2P15301MB0013: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(28532068793085)(89211679590171); x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(3002001)(3231311)(944501410)(52105095)(93006095)(93001095)(10201501046)(6055026)(149027)(150027)(6041310)(20161123562045)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(20161123560045)(6072148)(201708071742011)(7699016);SRVR:SG2P15301MB0013;BCL:0;PCL:0;RULEID:;SRVR:SG2P15301MB0013; x-forefront-prvs: 0730093765 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(6029001)(376002)(366004)(396003)(39860400002)(346002)(136003)(199004)(189003)(5250100002)(31696002)(5660300001)(1511001)(106356001)(25786009)(54906003)(110136005)(97736004)(316002)(53936002)(22452003)(68736007)(86612001)(446003)(6246003)(86362001)(14454004)(72206003)(10290500003)(36756003)(4326008)(7416002)(478600001)(31686004)(105586002)(81156014)(6436002)(14444005)(8676002)(81166006)(6512007)(8936002)(3846002)(6116002)(229853002)(2906002)(10090500001)(99286004)(2900100001)(76176011)(85306007)(2616005)(476003)(6486002)(11346002)(6506007)(256004)(305945005)(102836004)(53546011)(26005)(486006)(66066001)(7736002)(49343001)(213903007);DIR:OUT;SFP:1102;SCL:1;SRVR:SG2P15301MB0013;H:SG2P15301MB0093.APCP153.PROD.OUTLOOK.COM;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; received-spf: None (protection.outlook.com: microsoft.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: GyUiZ1wWMEhMCuXFU4pOuwJcmK7LGwtqU9/Drf8VHqmWYsOJkIY3mPXMZUc8NVTROeXzpYBJZBqDjYwS1C2aS/6X8X7E8BKKZA9QStAxteq+vJ85kLq+QV0wwZxqBuhDZGfPjdpOgxwhXb5a3cM8h2QVk1++c7W8LBbjRhNN1QsyiigkuJ93lKaazVd15FQ60VJr8fApM/CfSSpdyplDU0r+RFnIUNwjqT4iyQLTQQQGpOamMs+6LECupp/+Tb9YiGwfeH9XGw4Jr7JCYICPkLZ+8WWCrdMncs77+hPnUvElzleTdIEB0Ji+Oo0Oa4RLtREtKYOHDdvUkC4qBQylvTfGdzNotKrg1VWCWyqL+lc= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8cd4e3c6-6cb2-451e-bb86-08d5e6f3b798 X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Jul 2018 06:01:16.9020 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-Transport-CrossTenantHeadersStamped: SG2P15301MB0013 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGkgTWljaGFlbDoNCglUaGFua3MgZm9yIHlvdXIgcmV2aWV3Lg0KDQpPbiA3LzExLzIwMTggNToy OSBBTSwgTWljaGFlbCBLZWxsZXkgKEVPU0cpIHdyb3RlOg0KPiBGcm9tOiBUaWFueXUgTGFuIDxU aWFueXUuTGFuQG1pY3Jvc29mdC5jb20+IE1vbmRheSwgSnVseSA5LCAyMDE4IDI6MDMgQU0NCj4+ IEh5cGVyLVYgc3VwcG9ydHMgYSBwdiBoeXBlcmNhbGwgSHZGbHVzaEd1ZXN0UGh5c2ljYWxBZGRy ZXNzU3BhY2UgdG8NCj4+IGZsdXNoIG5lc3RlZCBWTSBhZGRyZXNzIHNwYWNlIG1hcHBpbmcgaW4g bDEgaHlwZXJ2aXNvciBhbmQgaXQncyB0bw0KPj4gcmVkdWNlIG92ZXJoZWFkIG9mIGZsdXNoaW5n IGVwdCB0bGIgYW1vbmcgdmNwdXMuIFRoaXMgcGF0Y2ggaXMgdG8NCj4+IGltcGxlbWVudCBpdC4N Cj4+DQo+PiBTaWduZWQtb2ZmLWJ5OiBMYW4gVGlhbnl1IDxUaWFueXUuTGFuQG1pY3Jvc29mdC5j b20+DQo+PiAtLS0NCj4+ICAgYXJjaC94ODYvaHlwZXJ2L01ha2VmaWxlICAgICAgICAgICB8ICAy ICstDQo+PiAgIGFyY2gveDg2L2h5cGVydi9uZXN0ZWQuYyAgICAgICAgICAgfCA2NCArKysrKysr KysrKysrKysrKysrKysrKysrKysrKysrKysrKysrKw0KPj4gICBhcmNoL3g4Ni9pbmNsdWRlL2Fz bS9oeXBlcnYtdGxmcy5oIHwgIDggKysrKysNCj4+ICAgYXJjaC94ODYvaW5jbHVkZS9hc20vbXNo eXBlcnYuaCAgICB8ICAyICsrDQo+PiAgIDQgZmlsZXMgY2hhbmdlZCw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