Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp3908836ybv; Mon, 10 Feb 2020 08:37:19 -0800 (PST) X-Google-Smtp-Source: APXvYqxnryqlEsi/sCvCV5SJqFqVV9jYTJudDC+yPoREMBJ4rtpBzaGCLLoVhm9rMsLXIKpKe9hg X-Received: by 2002:aca:f354:: with SMTP id r81mr1313694oih.90.1581352639527; Mon, 10 Feb 2020 08:37:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581352639; cv=none; d=google.com; s=arc-20160816; b=xtczrUi528olzciA+ieZOw2n0S0yBR2e7UwudhvjLufKcfjydX/UujnJ7ffE/vbMep l/VD2aIMwP0/K1cPkO+lLmC36Vy2PGSp4T++voqr1M7a1LHlOU8/j3CnSxL/7PCq6LIo 5dMIxAF+8FwUWe3Gr5be3GSGQaYhPvLJWBVLjt0BmRcl3Bb5DDubHZYUhOvKtcokK3CR K4z8QBYFj/OzZpjbqtv84ZglJGQRrLUFNXxzzhNAAhd2to2TSnjmzijwARlsMffyN4qC QwwrizVz+1AMomeOpSbWny0sXCplwKHc5boWfWSK+EAfV1T8+NWri5K2/ZyUDVJlIcdQ W0Xw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version; bh=EOz5u5D6OsZc51MIBPk5xxBRb3uRdtl97GGxrWupiFY=; b=pEJ0ppxv50wsUGoB41+Ntav2t6Lk8c506SScnYcQ/qSB92xIxMDjMvjFILPizoQn9U sQZHdME2nubkcAeX6ZRS/QY4n2k0iZhqiW4laoBAQNN1d8865hQ1yUzFNCpmBl4FKY+t 5r6jXfH3ZkkG1/EKBrbaLYOVhqotG1mptgOugJdXW7PZph+5us9c8hBNcx41v3itz45t lT6vZBz+ipxM7u8PWT1a2ko7lEctST6eUbq7W8h98FWeJfzj+KtZQ+fGwHQ4mhRzRF1h 7UV4mGNuKsciaty8Dg06bKJgk4scd2x6qienOQJ8v+2U1jbawyJ/QJhylt974BHgVx8V cSRA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s11si366538oic.57.2020.02.10.08.37.07; Mon, 10 Feb 2020 08:37:19 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727987AbgBJQfi (ORCPT + 99 others); Mon, 10 Feb 2020 11:35:38 -0500 Received: from mout.kundenserver.de ([212.227.126.134]:33485 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727728AbgBJQfi (ORCPT ); Mon, 10 Feb 2020 11:35:38 -0500 Received: from mail-qk1-f171.google.com ([209.85.222.171]) by mrelayeu.kundenserver.de (mreue009 [212.227.15.129]) with ESMTPSA (Nemesis) id 1MGi6k-1jEzXu1hEg-00Dqpm; Mon, 10 Feb 2020 17:35:36 +0100 Received: by mail-qk1-f171.google.com with SMTP id v2so2187528qkj.2; Mon, 10 Feb 2020 08:35:36 -0800 (PST) X-Gm-Message-State: APjAAAVVx0J8A10B02bxeCUpWUP5XdIx6hHAQsY7iviRMyonrgZoj7lI 5rLAp4d2UYUBq/ihuLzWQgNW74oTx1bIMMV92f4= X-Received: by 2002:a37:e409:: with SMTP id y9mr2224481qkf.352.1581352535220; Mon, 10 Feb 2020 08:35:35 -0800 (PST) MIME-Version: 1.0 References: <1579123790-6894-1-git-send-email-eajames@linux.ibm.com> <1579123790-6894-7-git-send-email-eajames@linux.ibm.com> In-Reply-To: <1579123790-6894-7-git-send-email-eajames@linux.ibm.com> From: Arnd Bergmann Date: Mon, 10 Feb 2020 17:35:19 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v6 06/12] soc: aspeed: Add XDMA Engine Driver To: Eddie James Cc: linux-aspeed , "linux-kernel@vger.kernel.org" , DTML , Mark Rutland , Jason Cooper , Marc Zyngier , Rob Herring , Thomas Gleixner , Joel Stanley , Andrew Jeffery Content-Type: text/plain; charset="UTF-8" X-Provags-ID: V03:K1:KgmaCXhhi62tw/qrUQ2htx/WJKvvMAHgg9nLtHPVn3jhIkucDc2 gNZq30+E2/tsO80jCn7Yn/lR6QX0oc0lX2izkSQv72eom6vFE+fFQY3vUnOIIiqwgi8J/6u wkQ6EY2V2G0QuNfIapa2AQqoj60eVS2LCRPTZNnm7nmyOD7da/TjLJ2l2dLvZzMLPmO6NL4 QsVOi2oPC0HhiiDBg+UWg== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:+WPvPvM77DQ=:WC04ClHZb9hN7ms7ilSGHT Ol5vmqQbjtPokUdWAEiRkeGq/c79ZrWJOk2dgwUqpPoh91yRnRNJmeFxo+gD2lhphpAsmFYSD 2ym6tpnSJwhOQwqY0SB+NXsuZ5ZlgUhLIjdnqis5wqdZhk5SaM20Y+tMSSo923b1FlNPEh3Bq zMQO38Un5mAsK36QJ3qgftN+o738/jQ7HsedTxVc2KWJ8Wm//CIwWTD1mkNnuttvXO7auqfVg zTcdfWGRBTLYi3U7E/evyOCSO/fdiiIh8xUlKJYcL2UU2Da52sY9F/bm8D49UcG7CtGqYBXmn 67oDqPhBqid8SOI6hrXKTXo4tsBjDZDKuS9/JU95iHsS1wGgT9jGDcN/W1KaLBXYfsQErUe5F 45zAuBPxP2elzwcpksUcpY38O9J//7CaI6fISVFHaJStdXzRuW3mCSqSyTJvmgZNtA1MKpYG8 cv6lNXMXGPhKroXIgDjp/I6A797//llb/zbdt17eu1gos9/JIyTaiJf7X02mrpf0zAxHWSgZk jEbYL1iOXiFo/qdzTO9t3g/rDvSBrn+u3dDuVBcO32iaIcAasQ9VgMNWW4Ge1kZ5VV5Z5IZJR AMHmACk7jA+StdkMUoNlYtg7/9V2e2Jw0mIxYc+6m8AJoqJyC6mALaud47sfwavcHqKq122Ri gY+LEw4Dyzw0fNzvA1n8ogrfZAjLDDsLDYELomJmq1wQjbxdYftKJvY5kHiOotuSkNjL4OMMA os7m3U1Zuw+zZPd2dOiyDOsZsKigTBSX5n7OmdyUzYKJCyTBqHTw8qtpNF/TEETa+92HdQWYW IkA7gDTldfMis/m/nvIhhfKTj6ivQLWh3EgOgznaTtBTuGkUp8= Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jan 15, 2020 at 10:31 PM Eddie James wrote: > > The XDMA engine embedded in the AST2500 and AST2600 SOCs performs PCI > DMA operations between the SOC (acting as a BMC) and a host processor > in a server. > > This commit adds a driver to control the XDMA engine and adds functions > to initialize the hardware and memory and start DMA operations. > > Signed-off-by: Eddie James Hi Eddie, I'm missing the bigger picture in the description here, how does this fit into the PCIe endpoint framework and the dmaengine subsystem? Does the AST2500 show up as a PCIe device in the host, or do you just inject DMAs into the host and hope that bypasses the IOMMU? If it shows up as an endpoint, how does the endpoint driver link into the dma driver? Arnd