Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp4708288imm; Mon, 17 Sep 2018 20:20:13 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZjhRKGXlqH8t1/OO3OoJRNMnJd5Na9qaqlAo6Of1JPKuAlV0TbXA0s/oQG8AtPEfr7niAk X-Received: by 2002:a17:902:7683:: with SMTP id m3-v6mr27838192pll.255.1537240813799; Mon, 17 Sep 2018 20:20:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537240813; cv=none; d=google.com; s=arc-20160816; b=tjugYIF71Mtwkmn5lzsBKahrQPkMRZ8/nn0JfAN5cWda33oxu+8r/bcPUEEl64RWf2 J5m+OUw+k07QPuiPvmHaZlNS+Ix3w2+QZS/23cC7aX4Ml/Ul6yk/Z4T+U5waVZyiklH8 zfqvUfDMS4g84MH0g0FraYSR1LNcycsQsHvZP8X1nbTP+o+bApTQG7s5JNvU3gzCC5Cw naOczVOeWkBZB5Z7lhCRXTI6XAfvAddZ1iPKq4UfIAMwM/SvFxiDq7fUF0U45kB5M9dS ZKZt+jElTayeKKU7LRCyLRqCtuSyKgCG9eMTz/F6u+u6nQImCAHYV7jeaDh8Y4CMzuhW XcMg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to: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:from:dkim-signature; bh=zVpmtfU8wjS+Cu8+DmBMnI45GEn3ZQrFdtue46elr+A=; b=kgZYeJZc3GI4WlIOLr+8d+zGUNNfNNUnqOvm0nSB3lLVivaTgvAPhMnvQQgH1Ql10m To0rHIWl2K099J2Luv3J4XXv/7oF5lIzQFbKVGEQjaJomkIzoS75LrfgVKcaivvJWYZT Y7xUBzbuRc93Y8W3qPQ0xca7FUMNj1RRIfnQGWZ69l/1kHZWUFFsVGKP6yhCMM94NnzR RbzVZZxYozy6h/7HcTmPiARiclKd3HZARvUu8cOZxG6XYoaK1ZMShCbCeKiypVaDqnD+ jRmS45imBKKfZ3u5G5HmPFjzmTRM96NaH+YGkhV8OB9B6WnYNTqRRpzWta75sUo7U8kB JhzA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microsoft.com header.s=selector1 header.b=WvGo9tWw; 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 r7-v6si17506618pga.77.2018.09.17.20.19.58; Mon, 17 Sep 2018 20:20:13 -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=WvGo9tWw; 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 S1729471AbeIRItx (ORCPT + 99 others); Tue, 18 Sep 2018 04:49:53 -0400 Received: from mail-hk2apc01on0134.outbound.protection.outlook.com ([104.47.124.134]:26991 "EHLO APC01-HK2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1729423AbeIRItw (ORCPT ); Tue, 18 Sep 2018 04:49:52 -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=zVpmtfU8wjS+Cu8+DmBMnI45GEn3ZQrFdtue46elr+A=; b=WvGo9tWw5XEckOZBRE+caDexgYuBeoEtWnzO8e9ovvZsD6SVPKI/Rz4fZmN7ckc8YuHTVaRo+jVd8OTWip06uBzTMwTfTBqdJG034KlA9oHUpIf3KS5fo+ihN+5vQs3beInswf6mFZqRe9UEIaAUUtIkhHyPr5/c/m5zD3ua6/c= Received: from HK0P153MB0129.APCP153.PROD.OUTLOOK.COM (52.133.156.18) by HK0P153MB0130.APCP153.PROD.OUTLOOK.COM (52.133.156.19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1185.5; Tue, 18 Sep 2018 03:19:15 +0000 Received: from HK0P153MB0129.APCP153.PROD.OUTLOOK.COM ([fe80::8584:ad93:130a:6267]) by HK0P153MB0129.APCP153.PROD.OUTLOOK.COM ([fe80::8584:ad93:130a:6267%3]) with mapi id 15.20.1185.006; Tue, 18 Sep 2018 03:19:15 +0000 From: Tianyu Lan CC: Tianyu Lan , 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" , "Michael Kelley (EOSG)" , vkuznets , Jork Loeser Subject: [PATCH V2 10/13] x86/hyper-v: Add HvFlushGuestAddressList hypercall support Thread-Topic: [PATCH V2 10/13] x86/hyper-v: Add HvFlushGuestAddressList hypercall support Thread-Index: AQHUTv5g4r9T3NuYAU+4IddbeE1g5A== Date: Tue, 18 Sep 2018 03:19:14 +0000 Message-ID: <20180918031754.113013-11-Tianyu.Lan@microsoft.com> References: <20180918031754.113013-1-Tianyu.Lan@microsoft.com> In-Reply-To: <20180918031754.113013-1-Tianyu.Lan@microsoft.com> 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;HK0P153MB0130;6:Ie1K8vIMXYZZUqTbEpmvAvV3gfuNU2/UykAiulzInNZES0qoIEf8HY91aK7xdoLVyp6LesFwGRdJA3G9HaSc9IpnNx9TqVSIOV+cgzlvQBlkP+j1PUgXZMyHEZXY+wwVR91ls/dVoL/iOJoO9M3LS1OcbU5DGtuQV9cStZ5xLZAY6kOnMNQHFEc+zsa1C3H+pCP3qU2fpzVHksfz0zrxrcuL5UehwsQa6sfIMfj1GhsqyALClCiTLetnsQNeBFv7vm7tS0CsV28oZnd3qPG2E9ZPPLZpEJN3G7UK+gZIoP5lCyLhX6mWUjEWDXzsHyNlqjH0+qhpOUxrbzGAXTE+WYKVm9RGx4UUA8tFWXPbBVzewGEsKskri9LKXl59H5ekqUk82l3sQHtVxtBKKchxjkUM2zwep5UUZ+R+Tn2RY1yRqnW59WZegJMd0aJmIFWnzUyxVySEm4x0NQShqY46jQ==;5:aHfLSjLKYgCxgHs169Kj6WLFMGiSHPVS2pwGwJ3USBVhRWc6QfI+ENgLRcjJXz2+9kR7Qg0w7JRTd8bWndTemnd5FzCNx5UYpVC7MWqdl4UrfWmf0s72iHHDt9Dh6OhBzUlQZyLdSZo7e38YIUOVtg3B0vYxujtQ7+HUjoUZ1AU=;7:ZXuaDiU5Hcq1rGPLxHkbRLmPSSiIxbL0l8+Hifj6Z0Y9NTei3jdZyQ1X0oJ9cY9qUK9mlmCnEeXiAnry8Oma/+Y948aUDs9R6dbzVd9/+oIfKPPhwU5PhcdvRGzQciD8l/RmTRaWPitOCjYzAsqHBabb8KOdIEPSBWPPf6t8dmdUZMaxJDhSVriVd5Z1tg6aVoBUFXtx/V6o9FUVVi0WfjCI7IcgRLy5RY4Rs819iWgNZ1idegrpUWf56xTyJUwk x-ms-office365-filtering-correlation-id: d1096772-7211-4e09-d5a6-08d61d158354 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(7020095)(4652040)(8989137)(5600074)(711020)(4618075)(2017052603328)(7193020);SRVR:HK0P153MB0130; x-ms-traffictypediagnostic: HK0P153MB0130: x-ld-processed: 72f988bf-86f1-41af-91ab-2d7cd011db47,ExtAddr 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)(3231355)(944501410)(52105095)(93006095)(93001095)(3002001)(10201501046)(6055026)(149027)(150027)(6041310)(20161123564045)(20161123558120)(20161123560045)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(201708071742011)(7699050);SRVR:HK0P153MB0130;BCL:0;PCL:0;RULEID:;SRVR:HK0P153MB0130; x-forefront-prvs: 0799B1B2D7 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(6029001)(376002)(346002)(39860400002)(366004)(396003)(136003)(199004)(189003)(6486002)(36756003)(59246006)(68736007)(25786009)(2900100001)(5660300001)(22452003)(11346002)(53936002)(316002)(446003)(305945005)(5250100002)(107886003)(109986005)(86362001)(575784001)(7736002)(476003)(2616005)(7416002)(86612001)(486006)(14454004)(256004)(6512007)(72206003)(8936002)(4326008)(6506007)(478600001)(97736004)(26005)(3846002)(102836004)(8676002)(6116002)(10090500001)(81156014)(6436002)(14444005)(81166006)(106356001)(76176011)(2906002)(105586002)(1076002)(1671002)(54906003)(66066001)(99286004)(10290500003);DIR:OUT;SFP:1102;SCL:1;SRVR:HK0P153MB0130;H:HK0P153MB0129.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: 6Z1G9gSq21BvG6Q97qVqONvg8xWfnxoWr1+PdO1BF1vElBCJ9/DmwMekouhWazIePOLz1YB/UDtJNCKnFu5GdVqht/vGtMDDveL3rVxJMcy/P4Rft1vX57bFpbegaGw3KaU6d7eLYHjg+XpJFZ6vOHMMrXjDQQFXTtf46iTa9Y07S5exw/wpn8c3BtgD5/weXfcNpViJFQdlbxuy0cSFkTbuUJ7K6VYx0PFE2QPmF2EP7hjf/XTbao/KLfKl5vLX4dhJTk2z8RnCdZJl1kYN6+AorkaAR+X3u30UNKMsKylWIt4rDxDI0F7HkG/4bC5BQhp+v/rFQzgzv5oZY9uua2QYovObmqDQ01k7U2Uewkc= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-ID: <62F86B30E9210443B05D6C5475683C9C@APCP153.PROD.OUTLOOK.COM> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-Network-Message-Id: d1096772-7211-4e09-d5a6-08d61d158354 X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Sep 2018 03:19:14.9944 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-Transport-CrossTenantHeadersStamped: HK0P153MB0130 To: unlisted-recipients:; (no To-header on input) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SHlwZXItViBwcm92aWRlcyBIdkZsdXNoR3Vlc3RBZGRyZXNzTGlzdCgpIGh5cGVyY2FsbCB0byBm bHVzaCBFUFQgdGxiDQp3aXRoIHNwZWNpZmllZCByYW5nZXMuIFRoaXMgcGF0Y2ggaXMgdG8gYWRk IHRoZSBoeXBlcmNhbGwgc3VwcG9ydC4NCg0KU2lnbmVkLW9mZi1ieTogTGFuIFRpYW55dSA8VGlh bnl1LkxhbkBtaWNyb3NvZnQuY29tPg0KLS0tDQpDaGFuZ2Ugc2luY2Ugd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