Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp1450095imm; Mon, 3 Sep 2018 00:17:57 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYB60zHokWtjs3vwDEQNqo1wM4eLTULgraKVcAAQobogj9yd3Xl1VpBhQMLQoa/qMoXjjbl X-Received: by 2002:a63:560e:: with SMTP id k14-v6mr23667249pgb.189.1535959076992; Mon, 03 Sep 2018 00:17:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535959076; cv=none; d=google.com; s=arc-20160816; b=K+WHAxO02xqZOqHhIbc/T+nG+n4PFzl+MR70OFwwxH0n5zvNQ5dX4FJH/Q3FErFDY4 Nrx6/Iz1oy9bHamrSi+IEZOK4fHcP3XBHGeTZkf6Qn1n6PxkvkRrj+HGgXlPQuZFc3K6 ZjJ+hRRsjOwMrxutCaUGoxKkJYBsLEsqJMpb05FLZzU3p3vTrMBPjJNJKsNnsRBBLdNq S8LS2zHlhmmiB4rMEHkJDRvKOdKuqRj4GKwWzqkVvS5ErhV2x1IfaY2NVbiV02FdL+5q S5c0IhLkgL2mjgWyR1z1kG/kxmXqg/yd6BY4VUgabtymQSEO9NnpJxXkxHrTMfXzRxgQ zbUA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=5bnL5fK0+Yh3mQ1Fs7HAc+ghW0fw3Ja1XA+Z/SZW1bU=; b=FSMbkUfoJxzZ7jGcmuddfyEGe3O38E8yIeqj1NhkxsxEOBXHIuJDB7dYIDApaJ3HXR MMe4ENkUmULQj54KPZgr9I8hEi99ZdnfWDOg136oMuHRSm3kvQdsC1f7cydfvpYbikvV t57jjsjvOOR5Uywb2Dw06DSdrmn2u3yAr1uwW2N14d9t5oBy0mZxG/JH8pSiyUVOLPyd f/AtBgQVzTS+r6GnK/dS0GrAle8RgWZHE2cKS7gJVto+NHR0icNh9HfD3fLXZtjFTLOI F96AWWmvsY3whvllRlTbXlxzvfGZgOXJ4V7bUVi+1h5uly/F3LThRsoU5Y/hhNMw3ObX vYfA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o6-v6si17020878plk.31.2018.09.03.00.17.41; Mon, 03 Sep 2018 00:17:56 -0700 (PDT) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726062AbeICLf1 (ORCPT + 99 others); Mon, 3 Sep 2018 07:35:27 -0400 Received: from Galois.linutronix.de ([146.0.238.70]:54456 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725794AbeICLf1 (ORCPT ); Mon, 3 Sep 2018 07:35:27 -0400 Received: from bigeasy by Galois.linutronix.de with local (Exim 4.80) (envelope-from ) id 1fwj6B-00034x-Mj; Mon, 03 Sep 2018 09:16:35 +0200 Date: Mon, 3 Sep 2018 09:16:32 +0200 From: Sebastian Andrzej Siewior To: Sasha Levin Cc: "stable@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Hans Verkuil , Mauro Carvalho Chehab Subject: Re: [PATCH AUTOSEL 4.18 023/131] media: usbtv: use irqsave() in USB's complete callback Message-ID: <20180903071631.phvvuwxu5ozstq6g@linutronix.de> References: <20180902064601.183036-1-alexander.levin@microsoft.com> <20180902064601.183036-23-alexander.levin@microsoft.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20180902064601.183036-23-alexander.levin@microsoft.com> User-Agent: NeoMutt/20180716 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2018-09-02 13:03:27 [+0000], Sasha Levin wrote: > From: Sebastian Andrzej Siewior > > [ Upstream commit 320905baa1dbddd3991c287432176d536e1d5b79 ] > > The USB completion callback does not disable interrupts while acquiring > the lock. We want to remove the local_irq_disable() invocation from > __usb_hcd_giveback_urb() and therefore it is required for the callback > handler to disable the interrupts while acquiring the lock. > The callback may be invoked either in IRQ or BH context depending on the > USB host controller. > Use the _irqsave() variant of the locking primitives. > > Cc: Hans Verkuil > Signed-off-by: Sebastian Andrzej Siewior > Signed-off-by: Mauro Carvalho Chehab > Signed-off-by: Sasha Levin This change (among the others that do the same in different drivers) does not fix a bug; it is just needed for "other reasons". While this series uncovered a few bugs, this is not one of them. There is no need to backport this stable. Sebastian