Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp4306801ybl; Mon, 9 Dec 2019 08:40:47 -0800 (PST) X-Google-Smtp-Source: APXvYqw9K8U6dQp97XJ0sIcHlH+dkaPj0n4/GjWzq7PrxtbR1c4EFvU5QMRzIR97c8SfAgvoNICc X-Received: by 2002:a05:6830:1e9a:: with SMTP id n26mr20714377otr.99.1575909647258; Mon, 09 Dec 2019 08:40:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575909647; cv=none; d=google.com; s=arc-20160816; b=oAPk5SQQS7+CwB5g66TkrPCU8Tn8qwLGlo0ppkvxHhDjC3wtTgrSx2oEyBBens5OHS hlU9xtCgEPa3bOuNL63fC46TeOHwXXr65JUFd/D7AOuAdg6pWsu+u9E6jCWaxRzlSa9b lyw4CyYgVdUuOxv0TqcKlbIf3/D1/MMThNR24mUxRXwz2USd+Pp9MdVmc2JFFXuNASyr DOCk8dfsSm+fPfVwsaMtRj9TGEkZAsFt43EVF7FMSfS8K7tBz8n5IMCVU7EhdgBF35cG 4d++VYbKrua6M7AEGU9mvydtCeAJjYLqhhzHalTStgTdU97Qoqg9Bzs2mdHO2H0zQ/Is vldQ== 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-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:ironport-sdr :dkim-signature; bh=seCUnC3Ccht6HhiXNa+L08XOaY3OaU3bzWyiNoyyAC0=; b=Dmplp67hBSZtwRu02WTqsKsmdsDsqDiDvo4rbZz920HXngiyJVtcz84S+biAp8n/RK wzAUcDEsEZ2Tzu9gCH9x9eMwsKgAkVm9AfuBTL3dv8ZDr2LxzCDHEzw2Dh9tmzLUKeOI 56f0TrFhp5PqvQuflKhG2CHwz8C1T4iqvCod2VetvVvgrHXEV29Y1ljkoUFcW3XDY2OH eXLp1uJcEP5KVFadhNv+CcE29etncMbueK4F0VgEXrCbMKOFDRf1KQ64fie55cq4/vDF I1KJPnOA6zpsvMRUlOuCQ6mhaJob6qb84bku0U1E1JQ6sJvQNlQ/mDAx8ov6yWmWDxKa psow== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amazon.com header.s=amazon201209 header.b=cVp0woY1; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amazon.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o67si174768oig.49.2019.12.09.08.40.35; Mon, 09 Dec 2019 08:40:47 -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=@amazon.com header.s=amazon201209 header.b=cVp0woY1; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amazon.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726522AbfLIQi7 (ORCPT + 99 others); Mon, 9 Dec 2019 11:38:59 -0500 Received: from smtp-fw-6001.amazon.com ([52.95.48.154]:22416 "EHLO smtp-fw-6001.amazon.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726197AbfLIQi7 (ORCPT ); Mon, 9 Dec 2019 11:38:59 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1575909537; x=1607445537; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=seCUnC3Ccht6HhiXNa+L08XOaY3OaU3bzWyiNoyyAC0=; b=cVp0woY10cor8ak17Vr3hudijR0e/pjIHurhdNeRghf9UglSqwRJL+vg ImtvE1Fn6hjf2gCOSVVyQqe/0FihVpPj0qAN24xN2mkM8FvbRBQ4jEaXr x8eEw6sRlgSq8Th6aB/YDgJAkFNOeJnzdqC0lXJy2ahAVogL+0W1Lb5/+ E=; IronPort-SDR: +ky132fkU9oUO03TqJLj1tGr3dOcbjEJGz/yuZhaiubAMblrrSqJ8AAO2HYO7YvkeRYF1heu4w MtAmoN6m1s5A== X-IronPort-AV: E=Sophos;i="5.69,296,1571702400"; d="scan'208";a="8283041" Received: from iad6-co-svc-p1-lb1-vlan3.amazon.com (HELO email-inbound-relay-1d-9ec21598.us-east-1.amazon.com) ([10.124.125.6]) by smtp-border-fw-out-6001.iad6.amazon.com with ESMTP; 09 Dec 2019 16:38:48 +0000 Received: from EX13MTAUEA001.ant.amazon.com (iad55-ws-svc-p15-lb9-vlan3.iad.amazon.com [10.40.159.166]) by email-inbound-relay-1d-9ec21598.us-east-1.amazon.com (Postfix) with ESMTPS id 4B369A1A3C; Mon, 9 Dec 2019 16:38:46 +0000 (UTC) Received: from EX13D32EUC002.ant.amazon.com (10.43.164.94) by EX13MTAUEA001.ant.amazon.com (10.43.61.82) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Mon, 9 Dec 2019 16:38:46 +0000 Received: from EX13D32EUC003.ant.amazon.com (10.43.164.24) by EX13D32EUC002.ant.amazon.com (10.43.164.94) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Mon, 9 Dec 2019 16:38:45 +0000 Received: from EX13D32EUC003.ant.amazon.com ([10.43.164.24]) by EX13D32EUC003.ant.amazon.com ([10.43.164.24]) with mapi id 15.00.1367.000; Mon, 9 Dec 2019 16:38:45 +0000 From: "Durrant, Paul" To: =?utf-8?B?SsO8cmdlbiBHcm/Dnw==?= , "linux-kernel@vger.kernel.org" , "xen-devel@lists.xenproject.org" CC: Boris Ostrovsky , Stefano Stabellini Subject: RE: [PATCH 3/4] xen/interface: don't discard pending work in FRONT/BACK_RING_ATTACH Thread-Topic: [PATCH 3/4] xen/interface: don't discard pending work in FRONT/BACK_RING_ATTACH Thread-Index: AQHVq3SEQ22T+F2O5E+9q5oO42T5TKex2ayAgAArEUA= Date: Mon, 9 Dec 2019 16:38:45 +0000 Message-ID: <23a1e955fcaa4e948f5290a7252256fb@EX13D32EUC003.ant.amazon.com> References: <20191205140123.3817-1-pdurrant@amazon.com> <20191205140123.3817-4-pdurrant@amazon.com> <8a42e7a2-e1aa-69ff-32a4-f43cc5df10d9@suse.com> In-Reply-To: <8a42e7a2-e1aa-69ff-32a4-f43cc5df10d9@suse.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.43.164.211] 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 PiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBKw7xyZ2VuIEdyb8OfIDxqZ3Jv c3NAc3VzZS5jb20+DQo+IFNlbnQ6IDA5IERlY2VtYmVyIDIwMTkgMTM6NTUNCj4gVG86IER1cnJh bnQsIFBhdWwgPHBkdXJyYW50QGFtYXpvbi5jb20+OyBsaW51eC1rZXJuZWxAdmdlci5rZXJuZWwu b3JnOw0KPiB4ZW4tZGV2ZWxAbGlzdHMueGVucHJvamVjdC5vcmcNCj4gQ2M6IEJvcmlzIE9zdHJv dnNreSA8Ym9yaXMub3N0cm92c2t5QG9yYWNsZS5jb20+OyBTdGVmYW5vIFN0YWJlbGxpbmkNCj4g PHNzdGFiZWxsaW5pQGtlcm5lbC5vcmc+DQo+IFN1YmplY3Q6IFJlOiBbUEFUQ0ggMy80XSB4ZW4v aW50ZXJmYWNlOiBkb24ndCBkaXNjYXJkIHBlb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