From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D85D558ADF; Thu, 22 Feb 2024 13:47:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708609628; cv=none; b=QF6NhjKpdBVBdiBF77Fb96hMnfjguJmSWuNRobs/pI7zfqBo99j15tlIL/bmtcNYO6qpQzCFP4xfp2ZLij4b4/i9ihh5TR2JN1wIxHq8Bd2tTkBq4p4oBZUOn4/zpCWtCoAmUsJcukpjJKqdFjvrT6VbRuest7RPUC0//v9J4w8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708609628; c=relaxed/simple; bh=aAkb71uaG7bEs8LOfMCDfKO2FHHwbVImI5+22zd2L68=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=ppeOgTb1f9aypeH7j6fYJcPYxVQts67cmsF30HqphogiyENr6ROYs6jVPT0yNrSb03H6+JRfnFhOCE83+VTrZTUugLZpLVwDpddhxy+sohqhSGTKaP37NNKX9NJMHy1jrlA6COzDslWGFX6oGR88EitR75Sas9QROpctMZcZkKk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=iPYcxwwB; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="iPYcxwwB" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 07225C433C7; Thu, 22 Feb 2024 13:47:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708609627; bh=aAkb71uaG7bEs8LOfMCDfKO2FHHwbVImI5+22zd2L68=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=iPYcxwwB3QaqCQy7d9saeV4mtm5mGIXaFfX/921oXth2O8u9EUE2Me/gONDNgPLxN 3p5ZG24Plvnm2bz4OOGbfbwHpsLK10FWJjWGWhzkZata1PxFdhbWfWs5W7x7jlFiKw nNKT1lH48sH3CHDxcDPoII1SDocHAdWLIl8bZM6an5QdgedYmlEPS0pLdD6avoZcdb QkkAXGdEL6lOINxUKa9D8v+iYGpUsTFCwUZGYG8RH2ojj5qmkQuMID4wzAOloZBr5m 6eSbmZlB3PebaXPPRm7uymprC0U2RspDvqR4GUzans+HI7BpCp/5ZdE4s+J7nKLRvR T9vcv1stRH3Kg== Date: Thu, 22 Feb 2024 19:17:03 +0530 From: Vinod Koul To: Frank Li Cc: Fabio Estevam , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , NXP Linux Team , "open list:DMA GENERIC OFFLOAD ENGINE SUBSYSTEM" , "moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE" , open list , imx@lists.linux.dev Subject: Re: [PATCH 1/1] dmaengine: mxs-dma: switch from dma_coherent to dma_pool Message-ID: References: <20240219155728.606497-1-Frank.Li@nxp.com> Precedence: bulk X-Mailing-List: imx@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: On 20-02-24, 12:38, Frank Li wrote: > On Mon, Feb 19, 2024 at 01:23:22PM -0300, Fabio Estevam wrote: > > On Mon, Feb 19, 2024 at 12:57 PM Frank Li wrote: > > > > > > From: Han Xu > > > > > > Using dma_pool to manage dma descriptor memory. > > > > Please clearly describe the motivation for doing this. > > This try to fix a cma_alloc failure. But it is not correct to use dma_pool. > let's work out a better method. Good one, but this should be in log :-) > > Frank -- ~Vinod