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 A50D5C433F5 for ; Thu, 29 Sep 2022 17:14:50 +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=F414RWNhhZW9CnIY2fsM8x49uTOsd0R35Splp6KpJnk=; b=xB3tPeq6/wgrlQ 4v867qmjd0YtFYYwgvUUFLmnbJuQaezG82Fmhc1ENYUqH+0dtVPYvA6hSgC5oe4Rcl9Z3l34n5Da8 sJUDrk4hy+Rf8JjK6KMzE3diFte2dUlsHCTi+WlUOWr+pijiKpQSh78j23P6DHbO8tB1i1+wUpUPo 1kk3kO/l/+QZF9GfKWxqCuNdWawEBijaJRnDxwA4WJ3KoxkmVQvEE+x+fjTHPqXIVsLjSztT9aa5c EI3ke2+4SCUovP2jY9jt3J3q8LL79g8FtRGkuOQIsM1zu5g7Mv47HyRROsFbSKvlgxEWgPeqEyljo qDcota/pmkQJWeNh0dpQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1odx6W-004UDI-2U; Thu, 29 Sep 2022 17:13:44 +0000 Received: from ams.source.kernel.org ([2604:1380:4601:e00::1]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1odwi9-004Jgh-KR for linux-arm-kernel@lists.infradead.org; Thu, 29 Sep 2022 16:48:35 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 4A83BB82366; Thu, 29 Sep 2022 16:48:32 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 85D84C433D6; Thu, 29 Sep 2022 16:48:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1664470111; bh=Tp5H3jVIEwFE3SV+vvO/B3k7OVx4JaJeMGqu8WZxptU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ppW63Y7QLxGzh/L7y0NNlk+LGZ6Lr6IZR7llWrEpc/wSwjhiHZuvXNBLGaCx9t5sR HRIOlFj8LObKRN1WNL+LX+WIFtFaJK0/bcn3F7+vmyePj948zk33e4mdbt6m91o45+ xVm2btVTV8YXnaEZFAMAYbDX9XBlZbN1QGE22vnOPUJJY0ve0dRiT7t4K5iL9o5GF+ SI0V3V+RnEa0AiyxlVGGZ+L1R81HnuKT3j6YFGYrEQuahPWfXSm9VqYpZ8cGJ+qMwV qgfOH/jLmuxCfEgdI6yU4WaQjRryfXDcWOWYU3FKk7XKxGNuI94oIdE8iEmdEvkxiU /o2hstiBvB76Q== Date: Thu, 29 Sep 2022 22:18:26 +0530 From: Vinod Koul To: Swati Agarwal Cc: dmaengine@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, harini.katakam@amd.com, radhey.shyam.pandey@amd.com, michal.simek@amd.com, appana.durga.kedareswara.rao@amd.com Subject: Re: [PATCH] dmaengine: zynqmp_dma: Add device_synchronize support Message-ID: References: <20220915090516.5812-1-swati.agarwal@amd.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20220915090516.5812-1-swati.agarwal@amd.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220929_094833_852502_691205D4 X-CRM114-Status: UNSURE ( 9.86 ) X-CRM114-Notice: Please train this message. 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 On 15-09-22, 14:35, Swati Agarwal wrote: > dmaengine_synchronize implementation is required to synchronize proper > termination of current transfers so that any memory resources are not freed > while still in use. > > Implement this callback in the driver so that framework can use the same > (in dmaengine_terminate_sync/ dmaengine_synchronize). Applied, thanks -- ~Vinod _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel