From nobody Tue Apr 30 03:24:41 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass(p=none dis=none) header.from=linuxfoundation.org ARC-Seal: i=1; a=rsa-sha256; t=1640611405; cv=none; d=zohomail.com; s=zohoarc; b=B0MSUiyI/ktREWvwbTpdXYVhSl5xCMjrNCpbUYQyyF0XAXFd7CTnUPHzUxscUaRStefzYhF3Q1oiGvuZl4MaebYfAV/P+gelCnzymA7o8rLsi68oNaBqxhN5KQkr2OkWW1bmja3Y/qpvzgxeuokcDyEPLadeche1BoztSZ6YfkA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1640611405; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To; bh=DtODEWvyQ6svUADqSTIhZiu5dM75Z2HUh5qSMn+Yf5w=; b=BgeoVmiVc2NDM9cJP8U63LW8/JEwbQF26MONoXv+nGb2TCR2wQwqzyq9u5vxmjjnhRqFj0mu55SDq0zWIo5k+Ghpu3i4Ej42W3rs3Jd/dDCSgnLMy6NGkN/7icWzu7CLcXEhPUci8zVLC+W7V42hAAF+amaRPRs3ONvHhTYCg+k= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1640611405015987.9061729767262; Mon, 27 Dec 2021 05:23:25 -0800 (PST) Received: from list by lists.xenproject.org with outflank-mailman.251985.432968 (Exim 4.92) (envelope-from ) id 1n1pxh-00025C-74; Mon, 27 Dec 2021 13:22:49 +0000 Received: by outflank-mailman (output) from mailman id 251985.432968; Mon, 27 Dec 2021 13:22:49 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1n1pxh-000255-3P; Mon, 27 Dec 2021 13:22:49 +0000 Received: by outflank-mailman (input) for mailman id 251985; Mon, 27 Dec 2021 13:22:48 +0000 Received: from se1-gles-sth1-in.inumbo.com ([159.253.27.254] helo=se1-gles-sth1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1n1pxg-00024z-0c for xen-devel@lists.xenproject.org; Mon, 27 Dec 2021 13:22:48 +0000 Received: from ams.source.kernel.org (ams.source.kernel.org [2604:1380:4601:e00::1]) by se1-gles-sth1.inumbo.com (Halon) with ESMTPS id 12aaea15-6718-11ec-9e60-abaf8a552007; Mon, 27 Dec 2021 14:22:46 +0100 (CET) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 6977AB8102E; Mon, 27 Dec 2021 13:22:42 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B0687C36AEA; Mon, 27 Dec 2021 13:22:40 +0000 (UTC) X-Outflank-Mailman: Message body and most headers restored to incoming version X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: 12aaea15-6718-11ec-9e60-abaf8a552007 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1640611361; bh=oIhYMV0TNwWQ1DJ3amUeZe8z+/TaiKP3lJFVwv/2FtI=; h=Subject:To:Cc:From:Date:In-Reply-To:From; b=gnFdWFPzWEZWTuBHCnbA45zveqXYJRm/xDyIUypleIlCcdBUwxr1VfZa5eBGksY2N yf0eeNPTVBFaQo28VRSZCkpHuFdn6xlWlhyI3Nqtjr6nPB78I0oC1GyEa3uURO6xhU gFnaR5cuU+/j+V4llvRU+0+knHof/0jhSD7VyZHE= Subject: Patch "xen/blkfront: fix bug in backported patch" has been added to the 4.4-stable tree To: gregkh@linuxfoundation.org,jgross@suse.com,xen-devel@lists.xenproject.org Cc: From: Date: Mon, 27 Dec 2021 14:22:30 +0100 In-Reply-To: <20211223105308.17077-1-jgross@suse.com> Message-ID: <164061135021254@kroah.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-stable: commit X-Patchwork-Hint: ignore X-ZohoMail-DKIM: pass (identity @linuxfoundation.org) X-ZM-MESSAGEID: 1640611527866000001 Content-Type: text/plain; charset="utf-8" This is a note to let you know that I've just added the patch titled xen/blkfront: fix bug in backported patch to the 4.4-stable tree which can be found at: http://www.kernel.org/git/?p=3Dlinux/kernel/git/stable/stable-queue.git= ;a=3Dsummary The filename of the patch is: xen-blkfront-fix-bug-in-backported-patch.patch and it can be found in the queue-4.4 subdirectory. If you, or anyone else, feels it should not be added to the stable tree, please let know about it. From jgross@suse.com Mon Dec 27 13:38:43 2021 From: Juergen Gross Date: Thu, 23 Dec 2021 11:53:08 +0100 Subject: xen/blkfront: fix bug in backported patch To: stable@vger.kernel.org Cc: xen-devel@lists.xenproject.org, Juergen Gross Message-ID: <20211223105308.17077-1-jgross@suse.com> From: Juergen Gross The backport of commit 8f5a695d99000fc ("xen/blkfront: don't take local copy of a request from the ring page") to stable 4.4 kernel introduced a bug when adding the needed blkif_ring_get_request() function, as info->ring.req_prod_pvt was incremented twice now. Fix that be deleting the now superfluous increments after calling that function. Signed-off-by: Juergen Gross Signed-off-by: Greg Kroah-Hartman --- drivers/block/xen-blkfront.c | 4 ---- 1 file changed, 4 deletions(-) --- a/drivers/block/xen-blkfront.c +++ b/drivers/block/xen-blkfront.c @@ -493,8 +493,6 @@ static int blkif_queue_discard_req(struc else ring_req->u.discard.flag =3D 0; =20 - info->ring.req_prod_pvt++; - /* Copy the request to the ring page. */ *final_ring_req =3D *ring_req; info->shadow[id].inflight =3D true; @@ -711,8 +709,6 @@ static int blkif_queue_rw_req(struct req if (setup.segments) kunmap_atomic(setup.segments); =20 - info->ring.req_prod_pvt++; - /* Copy request(s) to the ring page. */ *final_ring_req =3D *ring_req; info->shadow[id].inflight =3D true; Patches currently in stable-queue which might be from jgross@suse.com are queue-4.4/xen-blkfront-fix-bug-in-backported-patch.patch