Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp5288765imu; Tue, 29 Jan 2019 16:38:29 -0800 (PST) X-Google-Smtp-Source: ALg8bN6Ig3FH43qBCDnoxkPqgdIHS9+QWXEfm02YN8RGn+TstZuDFScmsq3zpH6Qx0QxlcOgvMJ+ X-Received: by 2002:a17:902:2867:: with SMTP id e94mr28576247plb.264.1548808709156; Tue, 29 Jan 2019 16:38:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548808709; cv=none; d=google.com; s=arc-20160816; b=atDOc6b09zYFJvhAn5HcRniUAd4CrRABUgNF9+2qjEJKsBh+X2eq0CqvNWswaP57HB ZOAxV+uOe/80QEjK4D15AMZpoNPuX/fwgSTk2DRP7mKsNxsUZeLkSH8vc204dInd9dZj liWuNrjPFqPLZ3Ld1xUhUP6K4A0BhzEE4g7tcrdcsXny62/2Z8lxRsFhgUCYMjyKWvau gm1lsA5xbAFaOyiXPIhbAf+qCFsCK4VFiDB91HQBfSoYvOspyNM04rThxku5KyWuuBqQ uidAh0LV28vEN5J5pXwZn8wrESLwVMgdLL14dOBmwuWG9VuIH8XOlzkruzZQkJQzKfQ6 5uRA== 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 :dlp-reaction:dlp-version:dlp-product:content-language :accept-language:in-reply-to:references:message-id:date:thread-index :thread-topic:subject:cc:to:from; bh=jvq9GNyXlFD5GIXH3eOFHWhLKrQLNhiuKgreCAFL+qc=; b=CszNXQd4LSGbgbBXeseqJHUmaTAXMjzckGPaVCkY8WPtJhqwAkYQBHnyrnyqmg3SxT vvf+cIk4bFeWuohlX/7DVo0BL1j/DVWhnn/NFAOfL6bVYuiMh/eQzRW7dOK7rxQiPwjF bgoQWHiLqv5cUTuh58f1zDEzRghne7a86pJAd/PD7Mn5heVBx7sIZw1mIYOcJ+PXQeV7 fjk0EP8R20f4ntTnHyb/D4AAQF0P1X7sdCHLNVccwaxo5IhoOC4aipzXgErMxv+/Gsd7 ftNGRV0TURqfwpJJduV8i2v8BYdwRZPPsF+Jqf8ieMfBvQak2qciNh2X+/xEXS0bGW/B Utxg== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h68si3322466plb.375.2019.01.29.16.38.12; Tue, 29 Jan 2019 16:38:29 -0800 (PST) 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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728788AbfA3Ahv (ORCPT + 99 others); Tue, 29 Jan 2019 19:37:51 -0500 Received: from mga17.intel.com ([192.55.52.151]:29610 "EHLO mga17.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727228AbfA3Ahv (ORCPT ); Tue, 29 Jan 2019 19:37:51 -0500 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 29 Jan 2019 16:37:46 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,538,1539673200"; d="scan'208";a="134260534" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by orsmga001.jf.intel.com with ESMTP; 29 Jan 2019 16:37:46 -0800 Received: from fmsmsx153.amr.corp.intel.com (10.18.125.6) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.408.0; Tue, 29 Jan 2019 16:37:46 -0800 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by FMSMSX153.amr.corp.intel.com (10.18.125.6) with Microsoft SMTP Server (TLS) id 14.3.408.0; Tue, 29 Jan 2019 16:37:45 -0800 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.110]) by SHSMSX152.ccr.corp.intel.com ([169.254.6.109]) with mapi id 14.03.0415.000; Wed, 30 Jan 2019 08:37:44 +0800 From: "Kang, Luwei" To: Paolo Bonzini , "kvm@vger.kernel.org" CC: "rkrcmar@redhat.com" , "tglx@linutronix.de" , "mingo@redhat.com" , "bp@alien8.de" , "hpa@zytor.com" , "x86@kernel.org" , "linux-kernel@vger.kernel.org" Subject: RE: [PATCH] KVM: x86: Sync the pending Posted-Interrupts Thread-Topic: [PATCH] KVM: x86: Sync the pending Posted-Interrupts Thread-Index: AQHUrvgng1TGbq88YUCMNKU8aNpvOaW/01aAgAR9dGCAAbiiYP//wEKAgAE/QOA= Date: Wed, 30 Jan 2019 00:37:43 +0000 Message-ID: <82D7661F83C1A047AF7DC287873BF1E172CD574E@SHSMSX101.ccr.corp.intel.com> References: <1547793240-9157-1-git-send-email-luwei.kang@intel.com> <82D7661F83C1A047AF7DC287873BF1E172CD3820@SHSMSX101.ccr.corp.intel.com> <82D7661F83C1A047AF7DC287873BF1E172CD4BDD@SHSMSX101.ccr.corp.intel.com> <3344700c-e4df-0ef7-161a-0398d6799642@redhat.com> In-Reply-To: <3344700c-e4df-0ef7-161a-0398d6799642@redhat.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ctpclassification: CTP_NT x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMTBkMTMzZTUtM2E4My00M2UzLWFkOGItOTc4ZTIwOTEwMmY1IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoidk5GdUJhMEZDdzRIWXgrZ1pCT2ErZHdVR2dvZ3FFMlJNZ0VOU2tBcjM0TTdiTHdGUkZ4RTVGQnk5STJ4UW5SbSJ9 dlp-product: dlpe-windows dlp-version: 11.0.400.15 dlp-reaction: no-action x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org PiA+Pj4gSG93ZXZlciwgeW91IHNob3VsZCBhdCBsZWFzdCBjaGFuZ2UgdGhlIGNvbW1lbnQgaW4g dmNwdV9lbnRlcl9ndWVzdA0KPiA+Pj4gdG8gbWVudGlvbiAiYmVmb3JlIHJlYWRpbmcgUElSIiBp bnN0ZWFkIG9mICJiZWZvcmUgcmVhZGluZyBQSVIuT04iLg0KPiA+Pg0KPiA+PiBXaWxsIGRvIHRo YXQuIEkgdGhpbmsgdGhlICJjaGVja2luZyBQSVIuT04iIHNob3VsZCBiZSBQSUQuT04uIEkgd2ls bCBmaXggaXQuDQo+ID4+DQo+ID4gSGkgUGFvbG8sDQo+ID4gICAgIEkgcmVjb25zaWRlcmVkIHRo ZSBjb21tZW50IGluIHZjcHVfZW50ZXJfZ3Vlc3QoKSBhbmQgdGhpbmsgaXQgbWF5IGRvbid0IG5l ZWQgdG8gY2hhbmdlLiBUaGUgb3JpZ2luYWwgY29tbWVudCBhcyBiZWxvdzoNCj4gPiAgICAgICAg ICAqIDIpI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