Received: by 10.223.176.46 with SMTP id f43csp285140wra; Tue, 23 Jan 2018 21:04:01 -0800 (PST) X-Google-Smtp-Source: AH8x2279pV8xU49sv9GhCxIqfEMs4GbZuVfehFSh/NGckJDCuU8jCe3ZX+PyyNZ82DZrM/zTiZPQ X-Received: by 10.98.190.11 with SMTP id l11mr12002736pff.32.1516770241824; Tue, 23 Jan 2018 21:04:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516770241; cv=none; d=google.com; s=arc-20160816; b=dDHmcPOmGBZ7If4mcMVD9MfP/Tpc0NDja9NQCSuOXQx+w16raihFskfQ4VdAMy7aie rTrp8v9ubxihNGwH/GS0kZoXgUY/1kRnxd2weXhl3OMCu7SnJ7Q/HaLqERl0vMYnxN/8 GlQ2GpeXIyvEY1osxpFDLSe4QVXNizjSeDjQ9f/njZ5mDlcsnmFoIO5A8qiR3qsUCG4Q HQNt/JHflvbD03VUHjfqt1ITWvas7Xv/TH6v8sCwbezoxmQZvN49fTp356FTy6Ch5kfc JqkY6wen5rammuZErxF5tMLm8ktA2uM8PvlN33qW1pAuADP6QjOvU/3ghSHpWXj50yEI lruQ== 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=R5/5CVQQAO5HkhNTBHOq8BqCAw/U8ODwgkSjBDBeuLs=; b=ZwjlV7wt1B6Fof/OyCHhVGauhitfP1g9RknMh9lg9/yarkJA1pLHSLgQjxkP9QZHIk O10/o+K+YXNElri6aifvohhz+97C4THltJZ3uL2dNewlhEZq5Riw2+RRF52LRF5yqdAj dPJgTQLtdEImGvUIy05eqifk2WklWSNr7IDBGYvo5i5/nsg3XlOrjzhCwbuwAbWDcK3a XPFJ3J8lrE0TbsNCjr1rVjW7WGvEr1Y1eB6RPdq7QmRc/4n4vcH+D1cK4L/w8U5IhODG GAZNUIiCnte5FWZ2uCJwHzR7eG7yJok1uSV+4zjge6GDf0u2jUj6s7aYt73bwmCZzQPS oJmg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microsoft.com header.s=selector1 header.b=GSW0U7/m; 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 f62-v6si3752672plb.297.2018.01.23.21.03.48; Tue, 23 Jan 2018 21:04:01 -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; dkim=pass header.i=@microsoft.com header.s=selector1 header.b=GSW0U7/m; 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 S1752699AbeAXEOh (ORCPT + 99 others); Tue, 23 Jan 2018 23:14:37 -0500 Received: from mail-cys01nam02on0130.outbound.protection.outlook.com ([104.47.37.130]:40075 "EHLO NAM02-CY1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752614AbeAXEOa (ORCPT ); Tue, 23 Jan 2018 23:14:30 -0500 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; bh=R5/5CVQQAO5HkhNTBHOq8BqCAw/U8ODwgkSjBDBeuLs=; b=GSW0U7/m5UzmQQMCMlExOgAVi/8/CjsiJMP2SLJXIs6swsOfwYgxOskQ6BY2q8mnjxIjs4i8syofyu8kSyHTzGCccrx6NQH6riWtvg6FdITaVc0Hvbrnf80TBAEnme27uOdJjfQSlvoKhcPtJiW/1efB6PaOaBSDNKFDCbfdq38= Received: from DM5PR2101MB1032.namprd21.prod.outlook.com (52.132.128.13) by DM5PR2101MB0920.namprd21.prod.outlook.com (52.132.132.165) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.464.3; Wed, 24 Jan 2018 04:14:28 +0000 Received: from DM5PR2101MB1032.namprd21.prod.outlook.com ([fe80::6485:b98:d15e:9da7]) by DM5PR2101MB1032.namprd21.prod.outlook.com ([fe80::6485:b98:d15e:9da7%2]) with mapi id 15.20.0464.000; Wed, 24 Jan 2018 04:14:28 +0000 From: Sasha Levin To: "linux-kernel@vger.kernel.org" , "stable@vger.kernel.org" CC: Nikita Leshenko , Konrad Rzeszutek Wilk , =?utf-8?B?UmFkaW0gS3LEjW3DocWZ?= , Sasha Levin Subject: [PATCH AUTOSEL for 4.14 013/100] KVM: x86: ioapic: Clear Remote IRR when entry is switched to edge-triggered Thread-Topic: [PATCH AUTOSEL for 4.14 013/100] KVM: x86: ioapic: Clear Remote IRR when entry is switched to edge-triggered Thread-Index: AQHTlMnTeO+Hz4xpVEGsNT//V1k/gw== Date: Wed, 24 Jan 2018 04:14:28 +0000 Message-ID: <20180124041414.32065-13-alexander.levin@microsoft.com> References: <20180124041414.32065-1-alexander.levin@microsoft.com> In-Reply-To: <20180124041414.32065-1-alexander.levin@microsoft.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [52.168.54.252] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;DM5PR2101MB0920;7:6peO3UJu2wHB2pEiQEbfRSwUU86wHbSdcrO8ttGTNOPrjnIIvHe4y40wGDWmcOZ5FA7viCOz3ZKZbbWPQmD7DSSQMXV/KZ8ewv+Y0A2MdUhaQnUSnhgdyj0dBKoLEloiXS6Ns4C7XvAXOn1c+cOn30aeInNJuuPiO9SIPRPPyMfIOfi1wTGCqmuZ1CCHeMm58KCmuvhEanT+SreUqckvEBuKsqTHdeNMqOOeTQQKxRcWJlUoYMOV4r++ak167eP+ x-ms-exchange-antispam-srfa-diagnostics: SSOS;SSOR; x-ms-office365-filtering-correlation-id: 2de20f73-ca24-4eae-cbe6-08d562e0f63a x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652020)(5600026)(4604075)(3008032)(4534165)(4627221)(201703031133081)(201702281549075)(48565401081)(2017052603307)(7193020);SRVR:DM5PR2101MB0920; x-ms-traffictypediagnostic: DM5PR2101MB0920: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(28532068793085)(89211679590171)(211936372134217)(130873036417446)(153496737603132)(194151415913766)(146099531331640); x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(61425038)(6040501)(2401047)(8121501046)(5005006)(3231046)(2400081)(944501161)(93006095)(93001095)(3002001)(10201501046)(6055026)(61426038)(61427038)(6041288)(20161123558120)(20161123564045)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(6072148)(201708071742011);SRVR:DM5PR2101MB0920;BCL:0;PCL:0;RULEID:;SRVR:DM5PR2101MB0920; x-forefront-prvs: 056297E276 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(39860400002)(366004)(376002)(396003)(39380400002)(346002)(189003)(199004)(105586002)(106356001)(86362001)(2900100001)(66066001)(305945005)(14454004)(22452003)(72206003)(3280700002)(3660700001)(10290500003)(5660300001)(36756003)(2950100002)(575784001)(7736002)(478600001)(110136005)(316002)(97736004)(81166006)(6116002)(3846002)(26005)(1076002)(6346003)(54906003)(25786009)(81156014)(6436002)(10090500001)(68736007)(107886003)(99286004)(8676002)(8936002)(4326008)(5250100002)(2501003)(86612001)(6486002)(59450400001)(2906002)(6506007)(76176011)(6512007)(102836004)(53936002)(22906009)(217873001);DIR:OUT;SFP:1102;SCL:1;SRVR:DM5PR2101MB0920;H:DM5PR2101MB1032.namprd21.prod.outlook.com;FPR:;SPF:None;PTR:InfoNoRecords;MX:1;A:1;LANG:en; received-spf: None (protection.outlook.com: microsoft.com does not designate permitted sender hosts) authentication-results: spf=none (sender IP is ) smtp.mailfrom=Alexander.Levin@microsoft.com; x-microsoft-antispam-message-info: sK5pgQGibuDx/brQhNe+mZtX+tcp4q+aJNOuEI/J9Cfku+48l5ZKZhAPdUoD4+bp2PQ7QhH14D9QYNAHBdx4kA== 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: 2de20f73-ca24-4eae-cbe6-08d562e0f63a X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Jan 2018 04:14:28.4066 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR2101MB0920 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org RnJvbTogTmlraXRhIExlc2hlbmtvIDxuaWtpdGEubGVzaGNoZW5rb0BvcmFjbGUuY29tPg0KDQpb IFVwc3RyZWFtIGNvbW1pdCBhOGJmZWMyOTMwNTI1ODA4YzAxZjAzODgyNWQxZGYzOTA0NjM4NjMx IF0NCg0KU29tZSBPU2VzIChMaW51eCwgWGVuKSB1c2UgdGhpcyBiZWhhdmlvciB0byBjbGVhciB0 aGUgUmVtb3RlIElSUiBiaXQgZm9yDQpJT0FQSUNzIHdpdGhvdXQgYW4gRU9JIHJlZ2lzdGVyLiB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