Received: by 2002:a05:6a10:c604:0:0:0:0 with SMTP id y4csp672224pxt; Thu, 12 Aug 2021 07:13:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxr30cq/rQiqd+5kKfkgfn+nkf+ikx9CGuOz4g0gmzoOtyTgWmXCIypGcdCYYLmcmjrj0ke X-Received: by 2002:a05:6402:31ae:: with SMTP id dj14mr5705934edb.94.1628777581536; Thu, 12 Aug 2021 07:13:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628777581; cv=none; d=google.com; s=arc-20160816; b=O+avt4KYhGT0KTh5v4NesKtvrxUyLlhvg4nnG9fa2M521vep4p3nI0odMXOewPYfPl s/WzSas6u8j2U6jMJd+gmTCRwyDIo4WwgB+gek9qS9YwNOkwEDfNDdwjlAB47L4VDnCk n2mg2YBrC1OJo561fqwol2zMVKPAV6Z1Ki6F6bF4Uj+VsJcrYqheTsndGQlnZGEg+d6d yTNw5uPR01UMHXD9vLiuc7eju9bFKdkl58cgrJ+KxnhzWHonSHggyY0AH7s5naN2cQIn ylsqo9gj5k8Pp5Zp5U1ojbshvuWnxleMa3YcpNpCj4rCvh8vsHCX4YCs1VXfgvLHRHJu I96w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :content-id:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:cc:to:from:thread-topic:subject :dkim-signature; bh=ORzTm8jq97PwIjMpp8YDkacjBMA3fJWfWZ7VPexNmNc=; b=yNSnk368NMmLxpm/MzncuAHX7n0q7hMWhZQLFzmT0dxVnNdTL08yurIQGMgP2TpajX aWKqDKkKE5X+54pEHJiU21LV+XtrHY+RoBoerjJMdWf9UB3VziF5y3Dsfr4qUDbOgO0n x5ri6QJGEV7EmHbKB7vbGxZh7oCefYOH7CJCFuGMGQvM2qZYA+DivPdkw8nUs5p8fnIe KP0pChv3/o7imsNCR6u8GqMgQ/4FdnfDJdikaLau+bx/C8b9tPFwpzfANFOfrZKm6S1/ cfs5iNnO5JXjHM8e0u3uezbpjAQhhPX+5TjpHnV1L0QqLKMWuErlP5rrzgAtbjRL4ezy nagQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amazon.de header.s=amazon201209 header.b=Zlw5li0o; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amazon.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id hq31si3062384ejc.316.2021.08.12.07.12.37; Thu, 12 Aug 2021 07:13:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@amazon.de header.s=amazon201209 header.b=Zlw5li0o; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amazon.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237208AbhHLMCr (ORCPT + 99 others); Thu, 12 Aug 2021 08:02:47 -0400 Received: from smtp-fw-9102.amazon.com ([207.171.184.29]:30862 "EHLO smtp-fw-9102.amazon.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234110AbhHLMCq (ORCPT ); Thu, 12 Aug 2021 08:02:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.de; i=@amazon.de; q=dns/txt; s=amazon201209; t=1628769742; x=1660305742; h=from:to:cc:date:message-id:references:in-reply-to: content-id:mime-version:content-transfer-encoding:subject; bh=ORzTm8jq97PwIjMpp8YDkacjBMA3fJWfWZ7VPexNmNc=; b=Zlw5li0opd6ReaubCSSsIlRvlPuBh8qsp9Tv+/u8CqUwi6ELLxjzEv9k +qKT/hSdK3MxvUAFrD/akLFwXn8Z7Vpib73UVftlvl7gFfvCb6BuAY3Kw vXvM0LrtlQHXlViZc+nyys+eMhnE+5UOfFb24wBcc+lD1XKvr8Uve4yZQ o=; X-IronPort-AV: E=Sophos;i="5.84,315,1620691200"; d="scan'208";a="152066052" Subject: Re: [PATCH] xen/events: Fix race in set_evtchn_to_irq Thread-Topic: [PATCH] xen/events: Fix race in set_evtchn_to_irq Received: from pdx4-co-svc-p1-lb2-vlan3.amazon.com (HELO email-inbound-relay-2a-538b0bfb.us-west-2.amazon.com) ([10.25.36.214]) by smtp-border-fw-9102.sea19.amazon.com with ESMTP; 12 Aug 2021 12:02:15 +0000 Received: from EX13D18EUC001.ant.amazon.com (pdx1-ws-svc-p6-lb9-vlan3.pdx.amazon.com [10.236.137.198]) by email-inbound-relay-2a-538b0bfb.us-west-2.amazon.com (Postfix) with ESMTPS id DF4CCA0624; Thu, 12 Aug 2021 12:02:13 +0000 (UTC) Received: from EX13D08EUC004.ant.amazon.com (10.43.164.176) by EX13D18EUC001.ant.amazon.com (10.43.164.108) with Microsoft SMTP Server (TLS) id 15.0.1497.23; Thu, 12 Aug 2021 12:02:12 +0000 Received: from EX13D08EUC004.ant.amazon.com ([10.43.164.176]) by EX13D08EUC004.ant.amazon.com ([10.43.164.176]) with mapi id 15.00.1497.023; Thu, 12 Aug 2021 12:02:12 +0000 From: "Heyne, Maximilian" To: "boris.ostrovsky@oracle.com" CC: "jbeulich@suse.com" , "jgross@suse.com" , "sstabellini@kernel.org" , "linux-kernel@vger.kernel.org" , "tglx@linutronix.de" , "Shah, Amit" , "david.vrabel@citrix.com" , "malcolm.crossley@citrix.com" , "wei.liu@kernel.org" , "konrad.wilk@oracle.com" , "xen-devel@lists.xenproject.org" Thread-Index: AQHXjrpZaLuu4Oit+USMDY60w1pC6qtuZzWAgAFfGYA= Date: Thu, 12 Aug 2021 12:02:12 +0000 Message-ID: <361b90c3ec8dc89fa67fb7795d20400f45b53f85.camel@amazon.de> References: <20210811140806.75710-1-mheyne@amazon.de> <482af7c4-ad9e-6054-db45-ec05249a2517@oracle.com> In-Reply-To: <482af7c4-ad9e-6054-db45-ec05249a2517@oracle.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-messagesentrepresentingtype: 1 x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.43.164.211] Content-Type: text/plain; charset="utf-8" Content-ID: <8B2862D234C8694D8F78BFF297FB2AEC@amazon.com> MIME-Version: 1.0 Content-Transfer-Encoding: base64 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gV2VkLCAyMDIxLTA4LTExIGF0IDExOjA1IC0wNDAwLCBCb3JpcyBPc3Ryb3Zza3kgd3JvdGU6 DQo+IE9uIDgvMTEvMjEgMTA6MDggQU0sIE1heGltaWxpYW4gSGV5bmUgd3JvdGU6DQo+ID4gVGhp cyBwYXRjaCBzZXRzIGV2dGNobl90b19pcnEgcm93cyB2aWEgYSBjbXB4Y2hnIG9wZXJhdGlvbiBz byB0aGF0DQo+ID4gdGhleQ0KPiA+IHdpbGwgYmUgc2V0IG9ubHkgb25jZS4gQ2xlYXJpbmcgdGhl IHJvdyB3YXMgbW92ZWQgdXAgYmVmb3JlIHdyaXRpbmcNCj4gPiB0aGUNCj4gPiByb3cgdG8gZXZ0 Y2huX3RvX2lycSBpbiBvcmRlciB0byBub3QgY3JlYXRlIGEgcmFjZSBvbmNlIHRoZSByb3cgaXMN Cj4gPiB2aXNpYmxlIGZvciBvdGhlciB0aHJlYWRzLiBBY2Nlc3NlcyB0byB0aGUgcm93cyBhcmUg bm93IGd1YXJkZWQgYnkNCj4gPiBSRUFEX09OQ0UgYW5kIFdSSVRFX09OQ0UganVzdCBhcyBmb3Ig dGhlIGNvbHVtbnMgaW4gdGhlIGRhdGENCj4gPiBzdHJ1Y3R1cmUuDQo+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