Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp2341915rdb; Thu, 21 Sep 2023 16:13:05 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEIY5iI7zplUBUbDqxtYqF+U8p3ESXcvHv7CmvKXMQ1ueWm8nQCDGYuxkYi+x0snTe50c4S X-Received: by 2002:a05:6358:618c:b0:139:d277:354d with SMTP id w12-20020a056358618c00b00139d277354dmr8470565rww.22.1695337985154; Thu, 21 Sep 2023 16:13:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695337985; cv=none; d=google.com; s=arc-20160816; b=QEsLPzqKqejU/VEr/p2B6BD8ABLueI8GLvX2PmUuL7XBLRWVRo1XElzbj2HQ1JHS3c eQw1Yle5CX7VLD+L/pvopivPBlifmLnrBOuxlkExUebwFUSz81R/D4qmJeuzZT33H2Yt xVMod36i4+UAHKmOmPBkuJt4qCoN5E1Ye2LBfvVMZrAWUz/NJ1bSCOIe6EcOQXYrzb6O p5NoUQfe8YCdz+SYRLDrBvC2zRLJgWCGATiiI0HHp9iwNAMDVwTjtCqmdbkdl3zHJ1pg vQMFMJ2N3s85VaNpu+CsHXe9yQToR2aRq1tno9esBga4b94cxhOlwnA44DOeMXYM2vMR wUfw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=MJY3H9JUg5HCRlzrOpFfJyHgKCn0efjBc0Xf3TmUsH8=; fh=9mcdAcPFzVhGExo7bu6GuiCugY79AGrS01LlM+qrsrI=; b=WrMM44XQunk/u1zd+69jiA3MQ+ksCXgsCKAiy/xOPQJPPkEOIsjDKwuvcPtnOVq5yz HROK8ZTA4kgYS8mAdIGNNxv3URtTcefkZSUHS6EVCHeoo1bjrBGDgSdSWy1vWTlQgNVQ szZp1/QLMxC9xgvBc+2Mr0xOrqCo4pA2O0oUQI4S+1MALn+tJsH2vdhk0Uk1UfRTt2j6 49EXnuJdGOeYHrymQNu8Evz0v6LFyEDi06ZJX6+qI0l5PhSgE5bvrK9tERo8I/bM6CAv aMqHGMVnZcrYU6OuQbhCCvA1ThHLUlQKY8bZ5W/naYleck5dmTTnFYJ0FbdBtSxrNzqv stzg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=nLAAlExb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id l9-20020a654c49000000b0055c7eb53d7fsi2386350pgr.584.2023.09.21.16.13.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Sep 2023 16:13:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=nLAAlExb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id A22DB80569A1; Thu, 21 Sep 2023 14:45:59 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232695AbjIUVpu (ORCPT + 99 others); Thu, 21 Sep 2023 17:45:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48510 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230383AbjIUVpb (ORCPT ); Thu, 21 Sep 2023 17:45:31 -0400 Received: from mail-pj1-x102a.google.com (mail-pj1-x102a.google.com [IPv6:2607:f8b0:4864:20::102a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CE7B236299; Thu, 21 Sep 2023 11:55:58 -0700 (PDT) Received: by mail-pj1-x102a.google.com with SMTP id 98e67ed59e1d1-27474f0f483so162030a91.0; Thu, 21 Sep 2023 11:55:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1695322558; x=1695927358; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=MJY3H9JUg5HCRlzrOpFfJyHgKCn0efjBc0Xf3TmUsH8=; b=nLAAlExbuDQcxWGodyxC0FXHIKjSgk2QXk1naYZZ6bTPK55eb3d0xOGXydSzVF9NHJ 11pxm7OFgECx19M6Bah0P7P3Hz8o0+SfrGWxao6VUkPi41BIqjBk/wK134nj33xz2CU5 SbLUnItgMJyk1UgIitiU2L/p2Fr/dg2xOraMY2O+rwTs10Xw/HHkxXJAIxZ1d3YDHQJ/ J62DlUovpnyhUSHRwH7yvPTnPwYVYocZXhUVEDd24Q8iq/73m1ZITVc4F0lGxHR+aQXT 2icV78Mf0rq7aMSYKn4FkmYPvUYUMR2HhYFVXvBBkL0TWIXd2BeP50qo4K1IoDTIvqmM j3yQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695322558; x=1695927358; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=MJY3H9JUg5HCRlzrOpFfJyHgKCn0efjBc0Xf3TmUsH8=; b=sGYBEOAx022YUn/1ISovMULylkAiOC/COrwyJuxdJ/gDEf5fypHiOacIxiNvCceSA3 XHLFh/ft2atIOp6Rsa8YwGKY20hvWCGAAB8KK7PZCGQFXKCCXx6/eko0JUAFN3GGEJZH vEz3X+JU/iGq+Kd9U7jTfmRSo3ItIWnSS5dP5zxlXS/uQpwNSE1Yn7WJeDmhKwolF30V jZcnme32vSoILbsvUwkCB+BZpjAZvpu8zDUwBoPUucbk4NFtSvuBB/xL0niE+3hHBGW0 F1v8ZkY860PGfOralUc1Wrvyyf6erYsibIJD+TcJocEGCgc+7PGNX1fh/KjaCHBfhtyL 0BBA== X-Gm-Message-State: AOJu0YxJ4kgM/Vl7I0eECuZItXpp3xSoInnMqkMfP1CStYUmHIf6Z8xl fGxoigVOhckZ5Zy816Xz5G0MokLGpVVkYqL0rvY= X-Received: by 2002:a05:6a20:440d:b0:134:d4d3:f0a5 with SMTP id ce13-20020a056a20440d00b00134d4d3f0a5mr6159466pzb.2.1695322558187; Thu, 21 Sep 2023 11:55:58 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Fabio Estevam Date: Thu, 21 Sep 2023 15:55:46 -0300 Message-ID: Subject: Re: [PATCH] dmaengine: imx-sdma: fix deadlock in interrupt handler To: "Tim van der Staaij | Zign" Cc: Shawn Guo , Sascha Hauer , Vinod Koul , Pengutronix Kernel Team , "dmaengine@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Thu, 21 Sep 2023 14:45:59 -0700 (PDT) Hi Tim, On Thu, Sep 21, 2023 at 6:57=E2=80=AFAM Tim van der Staaij | Zign wrote: > > dev_warn internally acquires the lock that is already held when > sdma_update_channel_loop is called. Therefore it is acquired twice and > this is detected as a deadlock. Temporarily release the lock while > logging to avoid this. > > Signed-off-by: Tim van der Staaij > Link: https://lore.kernel.org/all/AM0PR08MB308979EC3A8A53AE6E2D3408802CA@= AM0PR08MB3089.eurprd08.prod.outlook.com/ checkpatch gives a warning on this patch: WARNING: From:/Signed-off-by: email name mismatch: 'From: "Tim van der Staaij | Zign" ' !=3D 'Signed-off-by: Tim van der Staaij ' Should it contain a Fixes tag so that it can be backported to older stable-kernels? Reviewed-by: Fabio Estevam