Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp527278imm; Wed, 18 Jul 2018 06:27:10 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdaNelj3ZU96VbchstFEbsJuHeVH/+nke9vUFr9RIHQ6fLQvcO0DIC6FCGG0f056h7mxttl X-Received: by 2002:a17:902:6b09:: with SMTP id o9-v6mr5876167plk.256.1531920430810; Wed, 18 Jul 2018 06:27:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531920430; cv=none; d=google.com; s=arc-20160816; b=OcqMsTgpXTqz4l4+HcyvKye2i9kp+gguTHTNgJ1PdQuiEKRiACNeupRKwNKo6DKlit HqIOoy5d4tzh1XhfMSjah/tV8oIgulWI8V7ubxcH6nytOBQbIHtMMjwqv0gSOaLua/Lm QmtC9xEBIQSD7nIPB2T23xkgaas3poZsgfNr+ZbEHkEmwyS1vJZd29IFn4EG/rAgE8X+ JVm2PdZIbx0AtBgZZQeiqBP4gg/+IJhd7V+lID/0SjYQqNMCv34mI8hI9PqPVluC/zAD JXBbotrlLweMsURWy2s37wD5XLrCSkZpgOSm4+MQ6ts8fVPX/xle3u99AWWWFA6mI8Io MKLA== 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=Rzvv2p+Aa92+tdc76VcRbkCxW8POSw2670Vxwm+Lil0=; b=Y8YBQ5FH0cxsyTzVvVB9pFA+EHsaBvDPf94EzlI2ZdVfJXm1TZQ+z+WyuOGO6/ts6Q S+cRdYslZIzceJ6RCc9KGAV3z5Hh/tdnq0Br2jJIvA3z0wZzkD1AOUW4H1+XLmvLeY6g 82qy0vS6DRVhFOTLyYo7b4I5EH6rHiRauE5BTCeDhH24mPi0gtyQeYaLDpQc0mQgpf41 Lej8tKOSYflVaA2Z/T3vHwB9pq4w6PxCn7jrW8xg7iDwcz29CZiSvcAlC5Ve03qbEw6D IFI65I98Q8Of7E+GOdNwkqZJ7QIa/UxGkzLWmXZWBmU17YbRF96MCtIfXGguKau9+6Yu nAQA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microsoft.com header.s=selector1 header.b="X5O9R/gT"; 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 u22-v6si1161256pfh.184.2018.07.18.06.26.55; Wed, 18 Jul 2018 06:27:10 -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="X5O9R/gT"; 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 S1731244AbeGROEA (ORCPT + 99 others); Wed, 18 Jul 2018 10:04:00 -0400 Received: from mail-hk2apc01on0131.outbound.protection.outlook.com ([104.47.124.131]:41677 "EHLO APC01-HK2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726909AbeGROEA (ORCPT ); Wed, 18 Jul 2018 10:04:00 -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=Rzvv2p+Aa92+tdc76VcRbkCxW8POSw2670Vxwm+Lil0=; b=X5O9R/gT5T5SvY3OJPivhaTvR8/gHjVwGzV55eFbkm0TT7baIX8NkpY4zbZ7Hygp7uVsnYmzCxp4xGco4fBgqc7JewQ0PtV8lKtH/wzZmfVtXT6HcqFt+cCmVniO/r66QNHkYLfzV7HUvZ0mNFPV/geB68gjJO4UHn5gznOWa80= Received: from SG2P15301MB0093.APCP153.PROD.OUTLOOK.COM (10.170.136.145) by SG2P15301MB0080.APCP153.PROD.OUTLOOK.COM (10.170.136.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.995.6; Wed, 18 Jul 2018 13:25:44 +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.0995.008; Wed, 18 Jul 2018 13:25:44 +0000 From: Tianyu Lan To: Paolo Bonzini , Tianyu Lan CC: KY Srinivasan , Haiyang Zhang , Stephen Hemminger , "tglx@linutronix.de" , "mingo@redhat.com" , "hpa@zytor.com" , "x86@kernel.org" , "rkrcmar@redhat.com" , "devel@linuxdriverproject.org" , "linux-kernel@vger.kernel.org" , "kvm@vger.kernel.org" , "Michael Kelley (EOSG)" , "vkuznets@redhat.com" Subject: Re: [PATCH V2 2/5] KVM: Add tlb remote flush callback in kvm_x86_ops. Thread-Topic: [PATCH V2 2/5] KVM: Add tlb remote flush callback in kvm_x86_ops. Thread-Index: AQHUF2OX1I0JhtR1E0WteDVCqvbbq6SU72kAgAAXbAA= Date: Wed, 18 Jul 2018 13:25:44 +0000 Message-ID: References: <20180709090218.15342-1-Tianyu.Lan@microsoft.com> <20180709090218.15342-3-Tianyu.Lan@microsoft.com> <3b2a6c3c-ba73-1c34-248f-f5d40c691b58@redhat.com> In-Reply-To: <3b2a6c3c-ba73-1c34-248f-f5d40c691b58@redhat.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;SG2P15301MB0080;6:WfqoL77zJDLuxpKbJOF86kLloV4gCFAg3N3pIAJY2LYyc4Yeg1yLwKlA/vWWQvPkJTuQkpIIXiqdq1/RRhj1cObCLV6M+UaMIlQfdgALkMbEXKIccs9r66v0Xs2h8HRdDXDKZ7GQr03ZPEE1PtVDrXq09D6/SbUuw6iTeQ6NbJaSrxQ9TkSYW3JWxWPIvod2A1nDxmuhZ4FThfIlo4ybdzK3CT4oLvqaiII+Bk4iZtnf5kCSUVhaY1i9yujlxf3gJDDVLj6cVPEYdZERTHzA5nka3YYt4gkE2BjGE4404+8q/UmhaYGq2GnoE1cc97jDPC3iY8UzfXOEtyrotctaMy2S9Js0lSQ4H4HfJn5L1uvvTfNYSjq5+5allf+ex5s/924I9of4uZm1Pgw+honpBi9FaiK2KJ5xcmTATnbZUt6qtVmaCJlJoPCYMlT9XZ/r1g4QYZyW9en3VQDNINkM+g==;5:L6ajUic8Y6tS9zdpf+RNTlNLc5NC0b5yb8I1uHQWRChpE9efJjz5PR0RRJuhuUbmiBTk7DMUasNfqv3ccl7KUphdzTWrPnl4m1g92mxhQXTkf3D5KgmHnD0w4Te2Lisxy79H5ESvYiX0HjIB8bDxex/XcYdKEahsqgBeLSxxZUQ=;7:405aw/LvAGx5Z117qWhx6TJ3DOnJR5AO3RiCPjI3J7nA5XOq+gK8bPrywZJSGp5y2sFdpwwgJQ/tykSJJRUSHj6f9FKpb9o71kXWf/a3wx60Fdfje8QUq/YPg4lbjP/DjAN17paXLL8ojeoxErdc1AedNYpF9Oyzc0kjDhdXjPpX9tE+nTszWVzmogRvKwAn76eBoAFpWdpvJrohtd9wG8VSpOXDKHToTPHFFFHOGoV8zXMoh/WGvcphvUqDFDH7 x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-correlation-id: 4ab4f365-f8b8-41d3-6bd5-08d5ecb1f785 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652040)(8989117)(5600053)(711020)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(48565401081)(2017052603328)(7193020);SRVR:SG2P15301MB0080; x-ms-traffictypediagnostic: SG2P15301MB0080: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(788757137089); x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(3231311)(944501410)(52105095)(3002001)(93006095)(93001095)(10201501046)(6055026)(149027)(150027)(6041310)(20161123562045)(20161123558120)(20161123560045)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011)(7699016);SRVR:SG2P15301MB0080;BCL:0;PCL:0;RULEID:;SRVR:SG2P15301MB0080; x-forefront-prvs: 0737B96801 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(136003)(346002)(376002)(39860400002)(366004)(396003)(199004)(189003)(229853002)(6512007)(1511001)(8676002)(6436002)(22452003)(305945005)(6486002)(81156014)(8936002)(7736002)(316002)(6116002)(66066001)(3846002)(54906003)(81166006)(105586002)(2906002)(7416002)(5250100002)(31686004)(106356001)(2900100001)(476003)(2616005)(110136005)(14454004)(5660300001)(97736004)(10090500001)(53936002)(11346002)(25786009)(99286004)(36756003)(68736007)(6246003)(4326008)(72206003)(446003)(486006)(10290500003)(478600001)(53546011)(102836004)(256004)(186003)(14444005)(76176011)(31696002)(86612001)(86362001)(6506007)(26005);DIR:OUT;SFP:1102;SCL:1;SRVR:SG2P15301MB0080;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: FyvM7AQVSSeQkf+GLMu8myOed5HbmhQgP0lu2YYzRvzJEqqyf1ESytTOyKfQ04hXI1xjPjs0DIKvVkydqvoHYQGxv0lci0ihP5VO8mj5Tu/7f18OCDOW6vwmIHmeZW8p84dwKOn6AKgl6JkcBawB4baA0ZsYo9gqqV6mjzKsYF8txlCoTbigB4lpvbis5r4hKF32qc9jL4inKerHdiPJn+ZfE6x+shKPXD/Tlm7DEKBn4lrTE3bZHkQWRZEuC+0RqOKqf4k5UCAFtaO+MakNFEGLxO3EWsVyqt80uqaObQ/QUeDZzOgGRpQfennXl6XUWHeHKv3mviwZJg2qiIhdTmpD8NFuMA9yZKbvRdcAjkQ= 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: 4ab4f365-f8b8-41d3-6bd5-08d5ecb1f785 X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Jul 2018 13:25:44.4762 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-Transport-CrossTenantHeadersStamped: SG2P15301MB0080 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGkgUGFvbG86DQoJVGhhbmtzIGZvciByZXZpZXcuDQoNCk9uIDcvMTgvMjAxOCA4OjAxIFBNLCBQ YW9sbyBCb256aW5pIHdyb3RlOg0KPiBPbiAwOS8wNy8yMDE4IDExOjAyLCBUaWFueXUgTGFuIHdy b3RlOg0KPj4gKwkvKg0KPj4gKwkgKiBDYWxsIGt2bV9hcmNoX2h2X3RsYl9yZW1vdGUgZmlyc3Qg YW5kIGdvIGJhY2sgb2xkIH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