Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp396806imm; Tue, 5 Jun 2018 22:37:32 -0700 (PDT) X-Google-Smtp-Source: ADUXVKI4XQniaJzDfFDSER4iNFwuoy5Zf6EPzExi152BQ2Xw7Ww/wbPmUb3COha90A136wkiFA5I X-Received: by 2002:a17:902:a9c4:: with SMTP id b4-v6mr1810062plr.181.1528263452555; Tue, 05 Jun 2018 22:37:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528263452; cv=none; d=google.com; s=arc-20160816; b=f77ASLwE5+vuE/nSZZqrTV03HuwT+RTXf/icHgE2NGo05oqmuaaSCvqgKX0M/B0lNU RFUINu0HQ0g5HGRHUJ5PAAIv4DhXfmJCO7Y57a6tOwQrDIIQosWAXVdPOJuwd8iCrQNr MPyXW69JAHCdYfm8fW/5eVWh6/gzX4crhOrrFHsdCRYKdM6E2fMq+z7QOMJAUtSaHsJ2 WmgS+XrT/2q5CmkxQjltyLp/lgV5BtcEaJM1iZF1TOIPo/z8KGtikwHcs3lO3F1S0B6B gTx0D5TX851j6I0Uy/9Ix0CdhRILGqMqOcgb/bExFF3ul1oqYjyPfbL4djhY8PUaYXNd m1Yw== 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: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=ssMZiYZbKw/BzBsLyAztKQIwqIlZOgUSmwSl0Yw7G8Y=; b=E+8EFptxw967muVT83c3HlrMk408L0ZVpM1FYKKNVjQk4BiAGn/x3nNzDYpREZ9MRn LXFL95S43OdmmmZ0APumDppZ6I/EvGEsTFqDBTWF/TffqidjKaUPQdky/xhSABPlmSKF ts2TTxkaQVG7HCrTuTxYoK6uM0UP4cJcJXp6AXmOboAtJQiGmThciYQwMcj+Mk4Ery/H hsxVET9bdxki1xh/iDG5HkDfri1VhRP/+bnHwdbG2pCRbFdKpGDyi2rNVlMZW8pHOu0r FwaTbtKWp/7TrNfJFsOuwUDuMfe7QbJwbqPNI+1h7F1Dq3W7osQtZFJ4/3ySVB6yM4g+ ny+w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microsoft.com header.s=selector1 header.b=N/eggYHI; 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 w22-v6si49524728pll.599.2018.06.05.22.37.09; Tue, 05 Jun 2018 22:37:32 -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=N/eggYHI; 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 S1752255AbeFFFgp (ORCPT + 99 others); Wed, 6 Jun 2018 01:36:45 -0400 Received: from mail-pu1apc01hn0203.outbound.protection.outlook.com ([104.47.126.203]:35776 "EHLO APC01-PU1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751907AbeFFFgo (ORCPT ); Wed, 6 Jun 2018 01:36:44 -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=ssMZiYZbKw/BzBsLyAztKQIwqIlZOgUSmwSl0Yw7G8Y=; b=N/eggYHIrWaRsRURQ/XednRgDdLTntYydcjxEWRf8/UGABfKEPISOdi6HkZ85fPX2v5GvfM6zBMwmZ94NqGBPvE606305TNHtOqqnHqR0KIrS3GEBQAfCdqUm8ISZWvd1UUBPkjcNLk65pCFzEravGGYuKtqZfrqgiv15O0syT4= Received: from SG2P15301MB0062.APCP153.PROD.OUTLOOK.COM (10.170.136.18) by SG2P15301MB0015.APCP153.PROD.OUTLOOK.COM (10.170.135.148) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.841.11; Wed, 6 Jun 2018 05:36:30 +0000 Received: from SG2P15301MB0062.APCP153.PROD.OUTLOOK.COM ([fe80::1cae:4bd:cf5d:6e8d]) by SG2P15301MB0062.APCP153.PROD.OUTLOOK.COM ([fe80::1cae:4bd:cf5d:6e8d%5]) with mapi id 15.20.0863.004; Wed, 6 Jun 2018 05:36:30 +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: [RFC Patch 1/3] X86/Hyper-V: Add flush HvFlushGuestPhysicalAddressSpace hypercall support Thread-Topic: [RFC Patch 1/3] X86/Hyper-V: Add flush HvFlushGuestPhysicalAddressSpace hypercall support Thread-Index: AQHT++OW1TQj7xYFtUGQsOkMiGidAaRR5UWAgADTjAA= Date: Wed, 6 Jun 2018 05:36:29 +0000 Message-ID: <46d5e9d3-9891-07b0-7af9-95f016dc7a10@microsoft.com> References: <20180604090749.489-1-Tianyu.Lan@microsoft.com> <20180604090749.489-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;SG2P15301MB0015;7:8aTG4qE2LUL5nFmLoa46i2Ec7r89cvMhmcz2xeTkK9DCOqZVOtgHI/LTyf7BywKMBHyMUgIGu9EKqwbbWeflbR5ny9oaCHEBUJq6qS+tLtmeKYKsuTStj6uj5CuYtApH5/UIyvgv3FvXT95vLH4zYSmFfjEr00bShi2fUueAhZIgWX7vtfPVySkq3wOWLjGNDncy+f/nZ8qt5kQY7XTGnYDFF/ll6xNwFG3W00c11FnsGVZUY+yPkhrGJdWe6XHO 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)(2017052603328)(7193020);SRVR:SG2P15301MB0015; x-ms-traffictypediagnostic: SG2P15301MB0015: 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)(5005006)(8121501046)(93006095)(93001095)(3231254)(944501410)(52105095)(10201501046)(3002001)(6055026)(149027)(150027)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123564045)(20161123562045)(20161123558120)(6072148)(201708071742011)(7699016);SRVR:SG2P15301MB0015;BCL:0;PCL:0;RULEID:;SRVR:SG2P15301MB0015; x-forefront-prvs: 06952FC175 x-forefront-antispam-report: SFV:SPM;SFS:(10019020)(6029001)(366004)(346002)(396003)(39380400002)(39860400002)(376002)(189003)(13464003)(199004)(486006)(7416002)(3660700001)(446003)(3280700002)(11346002)(10290500003)(2616005)(8676002)(81166006)(66066001)(81156014)(99286004)(22452003)(2906002)(36756003)(5660300001)(316002)(3846002)(6116002)(1511001)(72206003)(478600001)(476003)(97736004)(6512007)(105586002)(25786009)(575784001)(86362001)(6436002)(31686004)(7736002)(5250100002)(86612001)(106356001)(10090500001)(54906003)(6246003)(76176011)(26005)(305945005)(229853002)(59450400001)(53546011)(102836004)(14454004)(53936002)(6506007)(85306007)(110136005)(2900100001)(4326008)(68736007)(6486002)(8936002)(31696002)(22906009)(49343001)(213903007);DIR:OUT;SFP:1501;SCL:5;SRVR:SG2P15301MB0015;H:SG2P15301MB0062.APCP153.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: iEneVDRiOIUWoa4t4J0JSxQIxwxisH3TK7zo+2KJ/HFIgJYgQD31JgRTcdc+MwDcnqEbO173Cj2m4ErbP5WQASSSSiq4OKTBH7WnlVDCrEJ4KGWWM3RzaZMkUhxgQoMPvC0Mj6Hb6J8Cqzgx39Fvkd69SMP4tO+GczsEvywbGRnxk0eAa5OSydF356I2VRr1liaPGuI5F7ZGyVs+P25Tvv5IW8DIvSmkv8Vpv6+/YmfpDWxn2bn8jy46bliV5jDg32GyJZ+g2KlQXXHB9pP1ilRyRjYQPQXY2g0nxcGgqP9hIJtsLAPzErSSabhy3Sb221mrgI4ZdGevHa3Zn5FhBXiy6xK7nWV3goV9mzsVSKJqY76n0vrqDEcpLkoI5+KjamYmNCXYF6QCNe/ZWwubM9WcrsDwsHSIT3W5Uy3rsJw= spamdiagnosticoutput: 1:22 Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: 05b252b9-7638-4a7b-6807-08d5cb6f74da X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-Network-Message-Id: 05b252b9-7638-4a7b-6807-08d5cb6f74da X-MS-Exchange-CrossTenant-originalarrivaltime: 06 Jun 2018 05:36:29.6144 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-Transport-CrossTenantHeadersStamped: SG2P15301MB0015 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGkgTWljaGFlbDoNCglUaGFua3MgZm9yIHlvdXIgcmV2aWV3Lg0KDQpPbiA2LzYvMjAxOCAxMjo1 OSBBTSwgTWljaGFlbCBLZWxsZXkgKEVPU0cpIHdyb3RlOg0KPj4gLS0tLS1PcmlnaW5hbCBNZXNz YWdlLS0tLS0NCj4+IEZyb206IGxpbnV4LWtlcm5lbC1vd25lckB2Z2VyLmtlcm5lbC5vcmcgPGxp bnV4LWtlcm5lbC1vd25lckB2Z2VyLmtlcm5lbC5vcmc+IE9uIEJlaGFsZg0KPj4gT2YgVGlhbnl1 IExhbg0KPj4gU2VudDogTW9uZGF5LCBKdW5lIDQsIDIwMTggMjowOCBBTQ0KPj4gQ2M6IFRpYW55 dSBMYW4gPFRpYW55dS5MYW5AbWljcm9zb2Z0LmNvbT47IEtZIFNyaW5pdmFzYW4gPGt5c0BtaWNy b3NvZnQuY29tPjsgSGFpeWFuZw0KPj4gWmhhbmcgPGhhaXlhbmd6QG1pY3Jvc29mdC5jb20+OyBT dGVwaGVuIEhlbW1pbmdlciA8c3RoZW1taW5AbWljcm9zb2Z0LmNvbT47DQo+PiB0Z2x4QGxpbnV0 cm9uaXguZGU7IG1pbmdvQHJlZGhhdC5jb207IGhwYUB6eXRvci5jb207IHg4NkBrZXJuZWwub3Jn Ow0KPj4gcGJvbnppbmlAcmVkaGF0LmNvbTsgcmtyY21hckByZWRoYXQuY29tOyBkZXZlbEBsaW51 eGRyaXZlcnByb2plY3Qub3JnOyBsaW51eC0NCj4+IGtlcm5lbEB2Z2VyLmtlcm5lbC5vcmc7IGt2 bUB2Z2VyLmt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