Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp2481941imm; Mon, 10 Sep 2018 01:41:30 -0700 (PDT) X-Google-Smtp-Source: ANB0VdaZCTOIJF4LHnscIL4qO82/JljrWBbOIfoutqTt0ceTYYbd44tSj0xh+jBz07qUoqIuKsOb X-Received: by 2002:a17:902:4a:: with SMTP id 68-v6mr20225204pla.276.1536568890575; Mon, 10 Sep 2018 01:41:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536568890; cv=none; d=google.com; s=arc-20160816; b=b8thf6BrysPeExZVEhGC44qoBwVDz9cfOY5jEdCTUiu0hU6bYmKjryK08K97I8F920 HEwPHLRw+837H4r9mBI8/uOlZewZFIwt9Wnf3x5FX+fHvrCnSczkr0l4nM1JIVkVIVsQ BsqqM7h7DpcM32tyElQvhtzrUtqtfLB3qrgOOeS2q8viR9FdO5/Cd8jFQRJrC/SAQWQN sAe8NkuPX5vprIO9ltB58Grvkpcp1xigXYxuV1BVnzvd/5yYqVKGtyzKxPpHuz1zxJ9m FaMoVX59v119YIKAZxVNf/suYo+i6fF63QNsd3DV9K2U/g1FOz247XM8VaOVMitPaHNT /aLg== 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=zLMmICVsnRWy0G3tNQBGUQII/uQ72FHZtTukDIgeWOE=; b=eLgrmrgrQ8f+X1mDWtDnaV/VGTqjZYsumnQK2RmVCsTztW9CVDc7PlZOeLKcybRnHB yMS6fl8+OkYEi1JL73HefWfjZ3VMY26FHRRlT81JXrJN8eWCesGlr4BCE5t1r9FB9uY1 T7u/LtvfGil3ekXApViW/hFvsqgy1yazpLjkXeiFa2ujAWMyQwvAjVYGsjWvTXAAuFF8 Qpa5DOedHVJPzHFMMEXFJ5MUKuyXkxezKPyt8IuXJiXc0Og1HO85MIlTMjjuT2M8ZPIb AW1XS7FnrbmyP93iYrwyvkA+UEvCHxhfbZStbttqhi4tCVQq9gjg7z/Cb4iimb/G78Y+ V4lQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microsoft.com header.s=selector1 header.b=BsgTR2KS; 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 y6-v6si17365947pfy.140.2018.09.10.01.41.15; Mon, 10 Sep 2018 01:41:30 -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=BsgTR2KS; 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 S1728261AbeIJNce (ORCPT + 99 others); Mon, 10 Sep 2018 09:32:34 -0400 Received: from mail-pu1apc01on0102.outbound.protection.outlook.com ([104.47.126.102]:27893 "EHLO APC01-PU1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728216AbeIJNcd (ORCPT ); Mon, 10 Sep 2018 09:32:33 -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=zLMmICVsnRWy0G3tNQBGUQII/uQ72FHZtTukDIgeWOE=; b=BsgTR2KShZeV8FNfAix1N7w6v/ZIN0U6WCnWfeoGmfv6wVssapIsd+QJgzACXYYo0BbgxJ6Ax0SI4DRG3JE2Ie//bKFAytrnbLOQ4/9KVaFnIr/8k6SKtTzM7rHRNQEHIrJrt7qerW1P83uNAVnjqVjVlug1rB7ytlygZjgce4Y= Received: from HK0P153MB0129.APCP153.PROD.OUTLOOK.COM (52.133.156.18) by HK0P153MB0178.APCP153.PROD.OUTLOOK.COM (52.133.212.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1164.6; Mon, 10 Sep 2018 08:39:28 +0000 Received: from HK0P153MB0129.APCP153.PROD.OUTLOOK.COM ([fe80::194c:c2f9:171:1890]) by HK0P153MB0129.APCP153.PROD.OUTLOOK.COM ([fe80::194c:c2f9:171:1890%5]) with mapi id 15.20.1143.010; Mon, 10 Sep 2018 08:39:28 +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 10/13] x86/hyper-v: Add HvFlushGuestAddressList hypercall support Thread-Topic: [PATCH 10/13] x86/hyper-v: Add HvFlushGuestAddressList hypercall support Thread-Index: AQHUSOHJLOBE0OrXvE+2gnpjgG3+tQ== Date: Mon, 10 Sep 2018 08:39:27 +0000 Message-ID: <20180910083806.65177-11-Tianyu.Lan@microsoft.com> References: <20180910083806.65177-1-Tianyu.Lan@microsoft.com> In-Reply-To: <20180910083806.65177-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;HK0P153MB0178;6:JuYZknGGMMNVEr3KWjY9eHWkkBg34NHeq7r8njDzhVuHT6prjQrqxMui+dpisYDGV3QeQhNZic7GXlLYOviT0t2xukO25ScKqTVjGB6TSZFyd0JgZO88+2XnTFCRXIS6DvAYhw4L8by/tYSSSU7fK5BWW0f+JT5Jgt2czDP95/OIvSXvYn7jou1Bcpi4x29bAkFC8rNyF7dkflFqCS2aML4TEG6mW/hPuFtoONc3J0v/tJa7MuRx5HDeWiW/kWwia7NjjCWHEZQqzxWT56JmvAF882L0Irnh/w+lzYcqjoUlRlJ1L7kcfWeA7IldHb/owYuiQUIeNHwVRNu82n71qdjJQSghgUInCJIbLeRalJRDxTYciw4jKAazK3oCpEhNB5E9Hh7ITdydCtfytjtKt2zpbBz84YZp3cYHLkLdcYuxFOEuL7X/UGbg9C6J84oV5Skx2YGvMBS2kZlYTpddZw==;5:E/+T6ExIms6mfnn1thVbsrirT1G+L+zOjxHV4Qiks2c961Fo87Pyc/a0cnJ3682r8LjJDwipMQMGIN3JbhkfTZRf8iSObNUp4EFj3AfvN+vEUzzzIG+rDQsgTFlv39qjJIHH4hpLiRNLxhqKqH7+H0WV1qyl+Z8MeSBxpZicmfo=;7:5in7q0gn4uAkc3I79tczgFE2ju4kbLaHr3dguXG4cIpN7apDlc1L7h1OVHzdcEwhQ3u2drCplO++PFtUSyOA4ELdVaZLuEOReiiEIc3q/4XxCq1CM8yw89+G7S1OV2v9igtTfO68MMdhVINa90+cd2zknaKUMqRds/anLzXkTy4HUAz0wssXwdmKOA+M9ct5276QrLngvsPWgSZv7eBoRUExbfUxG5E+rGdbr8lYsiRJOKrqxuhpB1vnJYA7Xhe9 x-ms-office365-filtering-correlation-id: f7bc9218-430f-4f2f-02ea-08d616f8ebd1 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(7020095)(4652040)(8989137)(5600074)(711020)(4618075)(2017052603328)(7193020);SRVR:HK0P153MB0178; x-ms-traffictypediagnostic: HK0P153MB0178: 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)(8121501046)(5005006)(3002001)(93006095)(93001095)(3231311)(944501410)(52105095)(10201501046)(6055026)(149027)(150027)(6041310)(20161123562045)(20161123558120)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(201708071742011)(7699050);SRVR:HK0P153MB0178;BCL:0;PCL:0;RULEID:;SRVR:HK0P153MB0178; x-forefront-prvs: 07915F544A x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(6029001)(376002)(39850400004)(136003)(366004)(346002)(396003)(189003)(199004)(7736002)(14454004)(478600001)(105586002)(36756003)(97736004)(305945005)(4326008)(10090500001)(486006)(53936002)(99286004)(5660300001)(10290500003)(6116002)(6436002)(72206003)(446003)(76176011)(11346002)(1671002)(2906002)(7416002)(2616005)(6486002)(59246006)(476003)(66066001)(107886003)(109986005)(68736007)(8676002)(14444005)(54906003)(81156014)(81166006)(5250100002)(256004)(1076002)(6506007)(316002)(22452003)(26005)(25786009)(8936002)(6512007)(102836004)(86612001)(106356001)(3846002)(2900100001)(575784001)(86362001);DIR:OUT;SFP:1102;SCL:1;SRVR:HK0P153MB0178;H:HK0P153MB0129.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: ZuEBMXd6n9MAuRBBptJ7cGo/MdaCzR8ew6Z3kFjOVEpmN/Zo6k5mD7o2vLyTR3TnxGO9Yk5VbwO7UBStKp4zpRlqB9kEaIAMLnzgUCIOht0CPuaVmkwhaiIrP1TdWuEXZwK5tvv/YcOdNjH9KeyM6EudMXfQqY4JkwXICzqAdqFGJwE/CYAqBRUPpnNtoMQRfd+0ryfs4odXg5VbNUwSF1tvxEw5G/yxa/5u1JcjXlsTuPJT4Q3iSVDEh/vKsG3cmD2iMBbSCAAOiEFUfTgYM7R/tgudx3Ytu++RpHu7vpo15cht/hqJzWAKEVg/2tEcnB/ExHBAcyDGK173WyaPR23CES9rD8Az3KMeONQ03qU= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-ID: <2BE87073FA40564AB54A77054040B71E@APCP153.PROD.OUTLOOK.COM> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-Network-Message-Id: f7bc9218-430f-4f2f-02ea-08d616f8ebd1 X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Sep 2018 08:39:27.9495 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-Transport-CrossTenantHeadersStamped: HK0P153MB0178 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 bnl1LkxhbkBtaWNyb3NvZnQuY29tPg0KLS0tDQogYXJjaC94ODYvaHlwZXJ2L25lc3RlZC5jICAg ICAgICAgICB8IDExMCArKys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