Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp5925015ybi; Tue, 28 May 2019 23:24:35 -0700 (PDT) X-Google-Smtp-Source: APXvYqw03nPSFr0szhYwYzW7XPaIQFTPBmk9+dtLL1xFFfMdKecyu6K0jvoQyl1Tg8QhJnCYWPxL X-Received: by 2002:aa7:9615:: with SMTP id q21mr52576024pfg.253.1559111075767; Tue, 28 May 2019 23:24:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559111075; cv=none; d=google.com; s=arc-20160816; b=jqTkyo3P5qU/zVgw91y+yVbbR7c4wO6YQWPRnVaRZyrhbdnZNxjDAhwGFsG07uDfGA eFrwMWn/1qaezs2O4mE/AjT5FlMlqbus9j4/M+KUSPTGs6pSguZUbSL1uW0P2W3K66gw /kF6nd0X7nUOOL+L8h+7A1zrBOUkuPVmHBrj4PxVkmreqwAA8Prh2xG0TIPxIyJEVIIJ S0HRnt55kJ1VkU9c1JOJxMXfjLdnEpiKsZ3ldDCedEKd50fIvVT88MhpBMlOfpdSE+fk eOZglP7dXAsAjGTAqelDztWHiLMJumf8ri8vKyAr1LDsyHwIbVtQCTsAgBQS24L/QllJ 4Jfw== 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:dkim-signature; bh=ko7R6sT1UehlRj0bJMyAyDrGSCFCxS6Q1zpbk2bJ/wE=; b=0i4UCViwo7fff6fu9nzo5j0CdePnxw+2vpGEnInWmkKoQ+VYsmJprgnwXG5nSglnvb eQPHyDBRTr2ANsXkVT2D0YX4ohoZOQhvDDFKPMwHTGaMRLN38pQ25omsMxG9ckEGq/aE 8RyOogyh989AWBOjs4Woj9fbwJXlrtt1jSCzYs+ZrrUDieTrFuIM6AuLXciifA4j+49E bQA+jinbJ5fq5i4NHyk7QkKSNi96Al5dj6c7lVJpo95ev9FpTqzPQIxYCrEbHofQaZYY 7b7azXWljm88EiJpEfzgv0gKpRG56BbskKpeBOEEm+vm+lsNVjzfSqKrLkm9CY7ydnrg F3Gg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b="DcfuD/wN"; 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 s184si20737805pgb.589.2019.05.28.23.24.19; Tue, 28 May 2019 23:24:35 -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; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b="DcfuD/wN"; 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 S1726102AbfE2GXS (ORCPT + 99 others); Wed, 29 May 2019 02:23:18 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:60070 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725880AbfE2GXS (ORCPT ); Wed, 29 May 2019 02:23:18 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=ko7R6sT1UehlRj0bJMyAyDrGSCFCxS6Q1zpbk2bJ/wE=; b=DcfuD/wN8e5mcz/Sn+EpWmYG5 z9K66604+5wt+LouVxM2rv961k9WueEHjC5f4maVynNbDexm1szGZ8BGzBDvmk4XHoDBpJfshUKbQ UgggUKK4xeT7H6nJ3Th+dVyPBmPiUUvR14BDecfxJtsWxl3u7fYlWilSYA1Wi2MHmHmYZ7XlM0Aia CWHmqtJRJIJ9q50EBFIRpGsCNcflCM6AqCMmOHHhf+4keoBsc/X3qylbUycDnkslot57ubwLzv8vW 4M2wRqfI7bUePoJ0EjZej+i+Ws8yNyeW/yMOMGw8R4sUzv06BZTMZ+YJqiP/a7Ry6Pdae1X/lgLzJ T5MTxm/Jw==; Received: from hch by bombadil.infradead.org with local (Exim 4.90_1 #2 (Red Hat Linux)) id 1hVrzY-0001DT-G9; Wed, 29 May 2019 06:23:16 +0000 Date: Tue, 28 May 2019 23:23:16 -0700 From: Christoph Hellwig To: Hariprasad Kelam Cc: "James E.J. Bottomley" , "Martin K. Petersen" , linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] wd719x: pass GFP_ATOMIC instead of GFP_KERNEL Message-ID: <20190529062316.GA3997@infradead.org> References: <20190529013540.GA20273@hari-Inspiron-1545> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190529013540.GA20273@hari-Inspiron-1545> User-Agent: Mutt/1.9.2 (2017-12-15) X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, May 29, 2019 at 07:05:40AM +0530, Hariprasad Kelam wrote: > wd719x_chip_init is getting called in interrupt disabled > mode(spin_lock_irqsave) , so we need to GFP_ATOMIC instead > of GFP_KERNEL. > > Issue identified by coccicheck I don't think request_firmware is any more happy being called under a spinlock. The right fix is to not hold a spinlock over the board initialization.