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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id B501AC433EF for ; Thu, 16 Jun 2022 13:52:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1377275AbiFPNv6 (ORCPT ); Thu, 16 Jun 2022 09:51:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56804 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1377279AbiFPNv6 (ORCPT ); Thu, 16 Jun 2022 09:51:58 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3537144750; Thu, 16 Jun 2022 06:51:57 -0700 (PDT) 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 dfw.source.kernel.org (Postfix) with ESMTPS id 86D4D61D07; Thu, 16 Jun 2022 13:51:56 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id CD533C34114; Thu, 16 Jun 2022 13:51:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1655387515; bh=qmTNp0bmtV6GLcM4ExQWz1H+pLPTwqQiq0eP8JloM/g=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=nCgM/oNMcks6rnrkrdcctV2TUZ9Q5LrUAgQVTexkFFT14VbsQfuzibDYsyorCOx5/ VHMUNJ+5oeRnbPbOP4IQS1chhDhpRJa5enu9FDOrD0BnUbAhMjORPg8AU0bef+190A ubuw/Q1kmIJhMrNR9JmP+k3ODrQg4xG06lXS4Ms+LwD6sxft+TgWpOsoaX9vm/7oJq Qy1s1jYKnw3EvoofAAp/l3pEVKefZIuFoVGobq8/b4VF2Sl6uQF3rN3a3izCfAJdGd T3jT1G+B3CysvM0nZd+N+Er8aXV6IZVkFfZzR5lvAqqPviYjWPs++nyQKSh0yG2Vlo OxRgTsYZBq3yQ== Date: Thu, 16 Jun 2022 06:51:55 -0700 From: Vinod Koul To: Frank Li Cc: gustavo.pimentel@synopsys.com, hongxing.zhu@nxp.com, l.stach@pengutronix.de, linux-imx@nxp.com, linux-pci@vger.kernel.org, dmaengine@vger.kernel.org, fancer.lancer@gmail.com, lznuaa@gmail.com, helgaas@kernel.org, kishon@ti.com, lorenzo.pieralisi@arm.com, robh@kernel.org, kw@linux.com, bhelgaas@google.com, manivannan.sadhasivam@linaro.org, Sergey.Semin@baikalelectronics.ru Subject: Re: [PATCH v12 0/8] Enable designware PCI EP EDMA locally Message-ID: References: <20220524152159.2370739-1-Frank.Li@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220524152159.2370739-1-Frank.Li@nxp.com> Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org On 24-05-22, 10:21, Frank Li wrote: > Default Designware EDMA just probe remotely at host side. > This patch allow EDMA driver can probe at EP side. > > 1. Clean up patch > dmaengine: dw-edma: Detach the private data and chip info structures > dmaengine: dw-edma: Remove unused field irq in struct dw_edma_chip > dmaengine: dw-edma: Change rg_region to reg_base in struct > dmaengine: dw-edma: rename wr(rd)_ch_cnt to ll_wr(rd)_cnt in struct > > 2. Enhance EDMA driver to allow prode eDMA at EP side > dmaengine: dw-edma: Add support for chip specific flags > dmaengine: dw-edma: Add DW_EDMA_CHIP_32BIT_DBI for chip specific > flags (this patch removed at v11 because dma tree already have fixed > patch) > > 3. Bugs fix at EDMA driver when probe eDMA at EP side > dmaengine: dw-edma: Fix programming the source & dest addresses for > ep > dmaengine: dw-edma: Don't rely on the deprecated "direction" member > > 4. change pci-epf-test to use EDMA driver to transfer data. > PCI: endpoint: Add embedded DMA controller test > > 5. Using imx8dxl to do test, but some EP functions still have not > upstream yet. So below patch show how probe eDMA driver at EP > controller driver. > https://lore.kernel.org/linux-pci/20220309120149.GB134091@thinkpad/T/#m979eb506c73ab3cfca2e7a43635ecdaec18d8097 Applied to dmaengine-next, thanks -- ~Vinod