Received: by 2002:a05:7412:798b:b0:fc:a2b0:25d7 with SMTP id fb11csp346020rdb; Thu, 22 Feb 2024 05:47:37 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCV6rH68FAPpTGS/Qw5D8LdDO22ADD3+feOZMGM85qC0TmLzi4CsofMbcvTDe9K1gVIWH+KpYuQ0BzmHq4hxqRD01LamioZNoam6m6yxog== X-Google-Smtp-Source: AGHT+IG4HtYsi59XXZbDIfzX4Om9QScFHld5Q6eef1JVD5ZL6Fn3Hbzix5bUUcFTF0/sugdwZKzl X-Received: by 2002:a05:6214:19ef:b0:68f:ab60:785d with SMTP id q15-20020a05621419ef00b0068fab60785dmr5029023qvc.11.1708609657580; Thu, 22 Feb 2024 05:47:37 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708609657; cv=pass; d=google.com; s=arc-20160816; b=0T0XnUphqtoGR+85F4yig1OvpjnNL4q1+6hO47y2skC2IDm+gQKt/FGPPG3gH1+0oV 3m0SdzxC+RqbjzNzUkfz8lYxkV3v2buKP2NRMV5K7XbOAczvp0XsjsXfKbNtQsARmo+R y0W2e+IEYYDz+fGDLL4ayJJS5H8oXmVNPxsZBPA7Sf7dTspp6BJAlKnsrESKK5OBtija z23IxmsNl9sflQOeCuRlAgqkRwuNjwji7LQZoWF3MrFEjeJJxf1tlltZ9C65Jpz+gwtD b4KJMbQXfMF2Q/rd0bm3z+KnLvlhXqx3ZvyWRxrd7uq2Z8rSdjxYAX0smkUt6LFX4mFo chbg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:date:dkim-signature; bh=8BsyCVZ9TyRD89n2FfBv+K9EmeMJrKo61bWkCEgE58U=; fh=atmqJlKxA7B0C+kwfEFR4JvKO7S3kyQieGipG1E0Kv4=; b=eaookrZasqxafv1cvH6b1tmavwza8C8jFz6TQTpx5SY50eH/KwTK2b4Q7fjT1GXzwR p5+kxy88o/Y7tsOE4LQvIsuOVPX/1tGWlJN/qrG0gr/1VnaEzk4NWZLgg5SE410MyQYD bxoZ6GxVsbpWIo8GSoipklOahgi1T2A1UEJxrPoJq+6L2Y8s2P6IZjS8+ES1fTSYNG8l 35CAs3EhNYfU6odUAtyuK4yK9js84/Y28wdN3aE3w14JxmFVpBm3n3zNjAvHg+VG8AVu OShBp03qSw8BoKL2Bh4Mgwi9oeNA5etUbE/+SnIecvC2+jGa3MXJdRIR2aNo/xLEFRy5 0wTQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=iPYcxwwB; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-76628-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-76628-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id iv10-20020ad45cea000000b0068f5ba650bdsi10884115qvb.238.2024.02.22.05.47.37 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Feb 2024 05:47:37 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-76628-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=iPYcxwwB; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-76628-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-76628-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 3FF0C1C2573F for ; Thu, 22 Feb 2024 13:47:15 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B3848134CFE; Thu, 22 Feb 2024 13:47:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="iPYcxwwB" 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 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: linux-kernel@vger.kernel.org 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