Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp126614rwb; Thu, 12 Jan 2023 04:24:16 -0800 (PST) X-Google-Smtp-Source: AMrXdXte2F4V5EDpKMX+tiH36C/YxUt7IhrCSuvuJxHhww0iK4wXSD4SXUymaq8ZSGcAarfOxet7 X-Received: by 2002:a17:906:b10a:b0:84d:c58:f52d with SMTP id u10-20020a170906b10a00b0084d0c58f52dmr20833827ejy.35.1673526256608; Thu, 12 Jan 2023 04:24:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673526256; cv=none; d=google.com; s=arc-20160816; b=YUSsLnoHvYApAN1152B5bFhvn60kLJbUibhfCkXBLZgHnxTPo6n6ku+ckIvQJ+VTyD FEyucfDcI28O3pRPFcWDsgEB1W6oyPWta4RBsreSCUMkdOAg5QDBQSB0ObBTc0f714H9 mI+7Rh6A6V6S5F93/D1+XgqYRQb8E1HBnNU19pXAhOcqK8Lf2gPd4L5GjVmvLNYExMkG ipyCvStFlKj9SXCS18sAj6V+bo903yEX46iZ7d9glKtxV9ATq62Qbd6udWVemvVc/vOP YAvDsE0jcnKTiiiCnD0AOzAfkUp6G8vAtJHnLiuVIKj67Zwk85ulPcuQ52KGhiUtSJ0P 9n+g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id; bh=i+afOpmfjZ2Vc8qghM5rWc2x01AYWcgy/bAojbiLEZI=; b=Vc3nLIaMs5wpOYgdqaPzShsVo+GYW0cF1tet2HmMQKOWYiaG9gYVClJR6on97BxYRD ZgKuUqW90pLtuKIfqfue3ZhiurUwQkNFRyPVPFkYIBNrcac69ALpWUiODNIp15Y6URRx XShMrEyNSSTwhONyR1C9z3u9RWahbKwMvIT35qcLnjZNKgOEMCscVBa3g+ECzk6vMo6C d7P2qn3VGO8vE9H4FWkh1LgHfgGCt9wlGmabsfSnx5+sefPNoqAnRpRfuK3W0ksis3nt LCUTGJ+ku9k6nko1YVDzi737PBszcbug4IZDMcN/ki9DLeah11yV9lsHV9ZrxRnkC2fP PlUw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s19-20020a170906455300b007c4fb520308si12733115ejq.945.2023.01.12.04.24.04; Thu, 12 Jan 2023 04:24:16 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230464AbjALLi4 (ORCPT + 49 others); Thu, 12 Jan 2023 06:38:56 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48568 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231396AbjALLhH (ORCPT ); Thu, 12 Jan 2023 06:37:07 -0500 X-Greylist: delayed 582 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Thu, 12 Jan 2023 03:29:08 PST Received: from mx.gpxsee.org (mx.gpxsee.org [37.205.14.76]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id BE76BDFB0; Thu, 12 Jan 2023 03:29:07 -0800 (PST) Received: from [192.168.4.25] (unknown [62.77.71.229]) by mx.gpxsee.org (Postfix) with ESMTPSA id BF7ABAF18; Thu, 12 Jan 2023 12:19:24 +0100 (CET) Message-ID: Date: Thu, 12 Jan 2023 12:19:23 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.6.1 Subject: Re: [RESEND PATCH V11 XDMA 0/2] xilinx XDMA driver To: Lizhi Hou , vkoul@kernel.org, dmaengine@vger.kernel.org, linux-kernel@vger.kernel.org Cc: max.zhen@amd.com, sonal.santan@amd.com, larry.liu@amd.com, brian.xu@amd.com References: <1672850441-51944-1-git-send-email-lizhi.hou@amd.com> Content-Language: en-US From: =?UTF-8?Q?Martin_T=c5=afma?= In-Reply-To: <1672850441-51944-1-git-send-email-lizhi.hou@amd.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,NICE_REPLY_A, SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, Could someone from the dmaengine maintainers please give this patch an attention? Despite several resends it remains unnoticed for two months and besides the fact, that its authors would like to have it included it also blocks the inclusion of our mgb4 v4l2 driver that is based on XDMA. The driver works fine with our HW, the API is quiet standard and sufficient for third-party PCIe cards based on XDMA and there are IMHO no unresolved objections against the code. Thanks for any help Martin Tůma On 04. 01. 23 17:40, Lizhi Hou wrote: > Hello, > > This V11 of patch series is to provide the platform driver to support the > Xilinx XDMA subsystem. The XDMA subsystem is used in conjunction with the > PCI Express IP block to provide high performance data transfer between host > memory and the card's DMA subsystem. It also provides up to 16 user > interrupt wires to user logic that generate interrupts to the host. > > +-------+ +-------+ +-----------+ > PCIe | | | | | | > Tx/Rx | | | | AXI | | > <=======> | PCIE | <===> | XDMA | <====>| User Logic| > | | | | | | > +-------+ +-------+ +-----------+ > > The XDMA has been used for Xilinx Alveo PCIe devices. > And it is also integrated into Versal ACAP DMA and Bridge Subsystem. > https://www.xilinx.com/products/boards-and-kits/alveo.html > https://docs.xilinx.com/r/en-US/pg344-pcie-dma-versal/Introduction-to-the-DMA-and-Bridge-Subsystems > > The device driver for any FPGA based PCIe device which leverages XDMA can > call the standard dmaengine APIs to discover and use the XDMA subsystem > without duplicating the XDMA driver code in its own driver. > > Changes since v10: > - Added Tested-by Martin Tuma tumic@gpxsee.org > > Changes since v9: > - Cleanup code based on review comments. > > Changes since v8: > - Fixed test robot failure on s390. > > Changes since v7: > - Used pci device pointer for dma_pool_create(). > > Changes since v6: > - Fixed descriptor filling bug. > > Changes since v5: > - Modified user logic interrupt APIs to handle user logic IP which does not > have its own register to enable/disable interrupt. > - Clean up code based on review comments. > > Changes since v4: > - Modified user logic interrupt APIs. > > Changes since v3: > - Added one patch to support user logic interrupt. > > Changes since v2: > - Removed tasklet. > - Fixed regression bug introduced to V2. > - Test Robot warning. > > Changes since v1: > - Moved filling hardware descriptor to xdma_prep_device_sg(). > - Changed hardware descriptor enum to "struct xdma_hw_desc". > - Minor changes from code review comments. > > Lizhi Hou (2): > dmaengine: xilinx: xdma: Add xilinx xdma driver > dmaengine: xilinx: xdma: Add user logic interrupt support > > MAINTAINERS | 11 + > drivers/dma/Kconfig | 14 + > drivers/dma/xilinx/Makefile | 1 + > drivers/dma/xilinx/xdma-regs.h | 173 ++++ > drivers/dma/xilinx/xdma.c | 1004 ++++++++++++++++++++++++ > include/linux/dma/amd_xdma.h | 16 + > include/linux/platform_data/amd_xdma.h | 34 + > 7 files changed, 1253 insertions(+) > create mode 100644 drivers/dma/xilinx/xdma-regs.h > create mode 100644 drivers/dma/xilinx/xdma.c > create mode 100644 include/linux/dma/amd_xdma.h > create mode 100644 include/linux/platform_data/amd_xdma.h >