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=-1.0 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no 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 29098C2BB55 for ; Wed, 15 Apr 2020 16:05:38 +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 F36D721707 for ; Wed, 15 Apr 2020 16:05:37 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="p92ZSQFq"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="MYhWL3GF" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org F36D721707 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=bLzsRKIbVcek+nUF4IbZeRGsXuSU7RYcvELDy0ML/r0=; b=p92ZSQFqCks0G4 s7WwO8GnRfYmD5Rq521w4A7ma7m7vxhZxY/o6ZfSYJTuBtWGHvjlgIdHG5X+EDcd2fGgdFwMXLOJy ZL3wIEqRWF90dBwRVxsGefN/T3lGJWfqW1XK+K5/BWq3clnxYWdyIHbcuBsygZCzwkn1RPdaR5Mer RRnEm7fQw6SBinHw/lqzhnaQ8cMYc01kEcrVANbOB6a+TWVGphbrVWzG0/OWIYoCkmmC3WK4oJlZU Tb8M6ScooumalQMGO4+7xOeGnLH7zLhCogjQi7EMMzTsC8m/3NKU0s/NUDwjHrDNf3kXncN9/7tLw VtKYNp1Ni7yRIoBLBnyQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jOkXg-0004F0-Da; Wed, 15 Apr 2020 16:05:36 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jOkXd-0004Ed-7h for linux-arm-kernel@lists.infradead.org; Wed, 15 Apr 2020 16:05:34 +0000 Received: from localhost (unknown [106.201.106.187]) (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 9E3822166E; Wed, 15 Apr 2020 16:05:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1586966732; bh=Eon/kODku4B5cB6+FzYwFxrHvEHuLXWbf464ab57/ss=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=MYhWL3GFqyivUyvIaZmO4yuG4loQCi3kVFJBVgBAxQpnz1QUDuhEtU52Agsvhh654 tLlm35JWq25Ca+Q+Safov5zorpriyWBTBnAJW+5ibrc3zuOgl5cy3o8IIp3rQBk3CZ d+EfcXmLliXGrWIHiU6qPmxzS1ASfjGjKPWRojT0= Date: Wed, 15 Apr 2020 21:35:21 +0530 From: Vinod Koul To: Grygorii Strashko Subject: Re: [PATCH] dmaengine: ti: k3-psil: fix deadlock on error path Message-ID: <20200415160521.GX72691@vkoul-mobl> References: <20200408185501.30776-1-grygorii.strashko@ti.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20200408185501.30776-1-grygorii.strashko@ti.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200415_090533_294845_36AD474B X-CRM114-Status: UNSURE ( 6.90 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Vignesh Raghavendra , Sekhar Nori , linux-kernel@vger.kernel.org, Peter Ujfalusi , dmaengine@vger.kernel.org, Dan Williams , linux-arm-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 08-04-20, 21:55, Grygorii Strashko wrote: > The mutex_unlock() is missed on error path of psil_get_ep_config() > which causes deadlock, so add missed mutex_unlock(). Applied, thanks -- ~Vinod _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel