Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp14490903pxu; Tue, 5 Jan 2021 03:04:42 -0800 (PST) X-Google-Smtp-Source: ABdhPJyGL9u0TNYC7XgkjHnosbNMkJTKi5QWqMT2bOV/K6yQuWHdl1XknK0w+F/xAhkm5f2meQr7 X-Received: by 2002:a17:906:29c2:: with SMTP id y2mr69858800eje.518.1609844682708; Tue, 05 Jan 2021 03:04:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609844682; cv=none; d=google.com; s=arc-20160816; b=FOXjdiePwp4sr5EJiUqP6W4L0eRM6rKUcSqS56nDJZYir3w2EHMlpjLWuYPZ4KCpWt ZxqzqU457wcnoScTCw0+OKge3mQZjq16DVdFQW78GsUmCKxlrF4LEPJfMt3vGz4dZtR0 RZf1V7oj4BSSDGGxMAt9CWmVCMNSBnFHEmijIsp8LzZ/RpK0csVY/r7kimYoQccTUoR0 ahq4g4VEL1OlTHBNJUKm9ZFR/vIdek2lHfjDTIblyHy9xySnHF9hsOcudu31P2Qac4Kn enIQlYbPxpMbLucq45ifVWEuimPpj5VDoa6IZqRPQ4RATWF/34J7WnkZJb2ZuTFQt3jG FB1A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from :dkim-signature; bh=prFN0av+RelE2tmiEvc2jgseRO3BsOAUQRTZxLgjkN4=; b=HfVa9KSo3uH9gFmQiwPpnhXWDiC6h3nYoh5C5b3wisbYbcqfvDLp4Eu3BaJ6m6yXeo xmwTDEf7kXw4dLTFgY4btw+i9psrHRpsZJHXk4OkCnzIm/dBH4t7oWc654+FSwovX9cp QgxmnDSJ7Hiv3NEqNrt1ar/srwoVFFKnPByXYD/nQkVlPO1drUlX5xelj3v0mUoJvK+g lP08+0eXKdahaggHyZnaFH03CH+QcvykQLW6gunRFmbV9K1xsMxY/1Yc8+FuaLQ5UxfV eC75MYLtu9GEeuplPksMr3IUCPXq9wJGqEFeOUOLwyx7n3lfnQTDhwCysGNEgGYN72j0 MQmg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amazon.com header.s=amazon201209 header.b=YkORImtd; 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.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b6si37647953edu.567.2021.01.05.03.04.19; Tue, 05 Jan 2021 03:04:42 -0800 (PST) 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.com header.s=amazon201209 header.b=YkORImtd; 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.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729139AbhAELCx (ORCPT + 99 others); Tue, 5 Jan 2021 06:02:53 -0500 Received: from smtp-fw-6002.amazon.com ([52.95.49.90]:1645 "EHLO smtp-fw-6002.amazon.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728318AbhAELCu (ORCPT ); Tue, 5 Jan 2021 06:02:50 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1609844570; x=1641380570; h=from:to:cc:subject:date:message-id:mime-version; bh=prFN0av+RelE2tmiEvc2jgseRO3BsOAUQRTZxLgjkN4=; b=YkORImtdsJQkcJtSl6HwIJcab5hzGN6kYa8q4ooBppfkwzoAPbxwWdcd n0WchsRKUYc6WgE7OjRTHoLiLRPQVwehMTqev6h4FybDFvkW+EijULfy+ UU37q4QaYSORs5//U70FAMcx9PplmHixoYte0MyYa7g+SMBgOveQTFc5A 0=; X-IronPort-AV: E=Sophos;i="5.78,476,1599523200"; d="scan'208";a="75426693" Received: from iad12-co-svc-p1-lb1-vlan2.amazon.com (HELO email-inbound-relay-2b-4ff6265a.us-west-2.amazon.com) ([10.43.8.2]) by smtp-border-fw-out-6002.iad6.amazon.com with ESMTP; 05 Jan 2021 11:02:09 +0000 Received: from EX13D31EUA001.ant.amazon.com (pdx1-ws-svc-p6-lb9-vlan3.pdx.amazon.com [10.236.137.198]) by email-inbound-relay-2b-4ff6265a.us-west-2.amazon.com (Postfix) with ESMTPS id B3586A2137; Tue, 5 Jan 2021 11:02:07 +0000 (UTC) Received: from u3f2cd687b01c55.ant.amazon.com (10.43.162.94) by EX13D31EUA001.ant.amazon.com (10.43.165.15) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 5 Jan 2021 11:02:02 +0000 From: SeongJae Park To: CC: SeongJae Park , , , , , , , Subject: [PATCH 0/5] Backport of patch series for stable 4.9 branch Date: Tue, 5 Jan 2021 12:01:37 +0100 Message-ID: <20210105110142.1810-1-sjpark@amazon.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.43.162.94] X-ClientProxiedBy: EX13D45UWA001.ant.amazon.com (10.43.160.91) To EX13D31EUA001.ant.amazon.com (10.43.165.15) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: SeongJae Park SeongJae Park (5): xen/xenbus: Allow watches discard events before queueing xen/xenbus: Add 'will_handle' callback support in xenbus_watch_path() xen/xenbus/xen_bus_type: Support will_handle watch callback xen/xenbus: Count pending messages for each watch xenbus/xenbus_backend: Disallow pending watch messages drivers/block/xen-blkback/xenbus.c | 3 +- drivers/net/xen-netback/xenbus.c | 4 ++- drivers/xen/xen-pciback/xenbus.c | 2 +- drivers/xen/xenbus/xenbus_client.c | 8 ++++- drivers/xen/xenbus/xenbus_probe.c | 1 + drivers/xen/xenbus/xenbus_probe.h | 2 ++ drivers/xen/xenbus/xenbus_probe_backend.c | 7 +++++ drivers/xen/xenbus/xenbus_xs.c | 38 +++++++++++++++-------- include/xen/xenbus.h | 15 ++++++++- 9 files changed, 62 insertions(+), 18 deletions(-) -- 2.17.1