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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id BAC9CC54E5D for ; Tue, 12 Mar 2024 18:13:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc: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=htZyr7bmEHgnAP+iSlQzMJYkduz7s7mq2PLo5J094/E=; b=xyjanxpL6F/yTV Ja7PR1MMLA+Pt+HJfohCeUZxdnCGHh46WBhq/XioxTHQw+U9fEaTj4IfXwHgzsIVCjiOoW/sghNvv sXfRffXmYS3MB6IOIs1RGraRuuHcDAmUkP8qxcaxmMbeqC8Q3HzErrVrbjrDVyI3mOdCGI9QhY4Nv B6tvvGMaVw9RpFX1dHyj9nJSTSp79vWkUXCHSFtnWmlniqYbqUdgokfAUMi9N2P6Dbijz/u6Vc006 21Ny4hkULfPRpJMtv7z5kmdWWF5n6pO7hRcgwpot6HaSViUajHUvemHwxCb1Tn0xvsVWP5I/yhgXz /1+sawGhhi7OEifDIu1Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rk6d8-00000006zwK-0BQh; Tue, 12 Mar 2024 18:13:38 +0000 Received: from mail11.truemail.it ([2001:4b7e:0:8::81]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rk6d4-00000006zvV-2HSW for linux-arm-kernel@lists.infradead.org; Tue, 12 Mar 2024 18:13:36 +0000 Received: from francesco-nb (93-49-2-63.ip317.fastwebnet.it [93.49.2.63]) by mail11.truemail.it (Postfix) with ESMTPA id F18AE1F9EC; Tue, 12 Mar 2024 19:13:29 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dolcini.it; s=default; t=1710267210; bh=biCYnQaSdIzs0N3kKvy+q3IdU7pUealwzctrdSLzqsc=; h=From:To:Subject; b=tPNTFeWN/WZKdC5cmw0WP7Kv8PM+xX6I4nz6sJ6LLFgyOi4DVQis3c3aQHCZJkuv/ gfq/j5tfQ7yCI2UBeWT5faIts+ZNcYZCCei4UJiGQOGXwZC9bTMRGQEu4VDalE5TWz q6VxghgXTab+/aVp1zP4pHJZcKy5xcFSnzxsf1/QAvPxcz5uyU0AsGYtU0WIqFT/0k 6yfp1JP7aTW7QkJRpUCxFr7GquJYDbVf9i78yGB8PpV9zrAvkeOEKRXV6oUJYO/42E i7+tMhr3/f+TD1oIQQYd27E2Togd9hv5GYyXV8xuAARWjXApgtAXc00wfwsCHnM3mc UnqH+V87oxdSw== Date: Tue, 12 Mar 2024 19:13:25 +0100 From: Francesco Dolcini To: Vignesh Raghavendra Cc: Peter Ujfalusi , Vinod Koul , dmaengine@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, j-luthra@ti.com, j-choudhary@ti.com, francesco@dolcini.it Subject: Re: [PATCH] dmaengine: ti: k3-udma: Fix teardown timeout for cyclic mode Message-ID: <20240312181325.GA4602@francesco-nb> References: <20230821104003.3001021-1-vigneshr@ti.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20230821104003.3001021-1-vigneshr@ti.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240312_111334_767248_4D62D49D X-CRM114-Status: GOOD ( 10.50 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hello Vignesh, On Mon, Aug 21, 2023 at 04:10:03PM +0530, Vignesh Raghavendra wrote: > In cyclic mode, last descriptor needs to have EOP flag set so that > teardown flushes data towards PDMA in case of MEM_TO_DMA. Else, > operation will not complete successfully leading to spurious timeout on > channel terminate. > > Without this terminating aplay cmd outputs false error msg like: > [116.402800] ti-bcdma 485c0100.dma-controller: chan1 teardown timeout! > > This doesn't seem to be problem with UDMA-P on J7xx devices (although is > a requirement as per spec) but shows up easily on BCDMA + McASP. Fix > this by setting the appropriate flag > > Fixes: 017794739702 ("dmaengine: ti: k3-udma: Initial support for K3 BCDMA") > Suggested-by: Peter Ujfalusi > Signed-off-by: Vignesh Raghavendra Any update on this? Not sure what's the current status here. How can I help? Francesco _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel