From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.5 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,SPF_PASS,URIBL_BLOCKED,USER_AGENT_MUTT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0CD7CC10F14 for ; Tue, 23 Apr 2019 05:11:28 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id CE74E21738 for ; Tue, 23 Apr 2019 05:11:27 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="Hcdau/ht"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="PAZvKbIZ" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org CE74E21738 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=qzVv/1DtsLIB1zSXyTEXKiXYQmcmlDNChL7cPDheX6Y=; b=Hcdau/htJYujmQ HZYWw9RmUgMtBYWbbMVx2lPRast4E11LkwjpAFqFKjqm4BZjCi0+UOKWJwnu3qDuZCXdf/44+GQ9D RHZG34iZHsO7FD4Jw4UsuE1EtawkLH1//q6bS9SU/Er+xI/0D9K8XeeDCVd4E48zPp5plrvz2wgVm QUSpkHzHSl3O3bXFYPHkwyxKQOAHGFoOczj/qarUCIloagOUsbg+7ZpCO4+gzGravzMpYMZecCoue vUA8H9GFIAW4ZgBAxLm7p1ceMNrYfTxQepZlv5QZvZ7a+a4NcvNewIdKz+su6WuoNR08EUb/KAibd ABQ2CEoVWKByx7ykqmxw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1hIniC-0002Tk-UE; Tue, 23 Apr 2019 05:11:20 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hIni7-0002TE-He; Tue, 23 Apr 2019 05:11:19 +0000 Received: from localhost (unknown [171.76.113.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 7B26D20811; Tue, 23 Apr 2019 05:11:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1555996275; bh=jND5KBLA5hl7G9qH/rxqX/MJ4O60Ms3M5+zk7ebnDkg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=PAZvKbIZ2SpdTByeFNvRwsCXmBltB9TQhyXqeN/RPB2CrjkzFPcKNyFGH2NHTSQ2N 6pGO6ovHEXFvLsRMVsGliWNZgwKKqS+PJJJ8Cif9dSr4UnW7n0H9K838khUkQd7oVS 5HWeL3Ty26HnZyYLqmUoEOfZSa2wwEHXml07309w= Date: Tue, 23 Apr 2019 10:41:09 +0530 From: Vinod Koul To: Stefan Wahren Subject: Re: [PATCH RFC] dmaengine: bcm2835: Avoid GFP_KERNEL in device_prep_slave_sg Message-ID: <20190423051109.GE28103@vkoul-mobl> References: <1554143899-4124-1-git-send-email-stefan.wahren@i2se.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1554143899-4124-1-git-send-email-stefan.wahren@i2se.com> User-Agent: Mutt/1.11.3 (2019-02-01) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190422_221115_909641_A1366066 X-CRM114-Status: GOOD ( 10.60 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Florian Fainelli , Scott Branden , Aaro Koskinen , Ray Jui , Eric Anholt , Lukas Wunner , bcm-kernel-feedback-list@broadcom.com, linux-arm-kernel@lists.infradead.org, dmaengine@vger.kernel.org, Martin Sperl , Dan Williams , Florian Kauer , linux-rpi-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 01-04-19, 20:38, Stefan Wahren wrote: > The commit af19b7ce76ba ("mmc: bcm2835: Avoid possible races on > data requests") introduces a possible circular locking dependency, > which is triggered by swapping to the sdhost interface. > > So instead of reintroduce the race condition again, we could also > avoid this situation by using GFP_NOWAIT for the allocation of the > DMA buffer descriptors. Applied, thanks -- ~Vinod _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel