Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp2104438ybb; Thu, 2 Apr 2020 13:12:37 -0700 (PDT) X-Google-Smtp-Source: APiQypI9zefHnvnq8M9zrl0b/rWljsknUt5KZUh87vGN4B44pdisPeCtRHqjxPM0qqruWmJMeuLC X-Received: by 2002:aca:5d87:: with SMTP id r129mr595576oib.144.1585858356911; Thu, 02 Apr 2020 13:12:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585858356; cv=none; d=google.com; s=arc-20160816; b=LUK8bi9GraVYzeypi1Tx061DglaZXpp+bOvzK8gTnwKQ8blYcmotriHqrtjCEDVdQZ uUq/y400+VSwbzMoDyQ0vwJEH/UFldLjsrVNpyK9ahf8WXqR1N00Hn9LwIkXuAMhZH1c PSTJiE7z3PTJFPZViCTS3jiJJ67QUWX2b+++c56pPTiBwtpW7qNp2W4AJcdoiE12Wrie xVvbLkARhIMKWkHrZEokF+3DNs+SJJ3zu78p9y0hqNhvh7TfOQRtqTvb7GyeDveSgbCu zPsbSNUcQbTGlG9ngewi2aJvLdC0NqmXHgFJ1dRveAuNOBKGXJavcq8rp4W0c2OqBHnB tpOw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=P7QzfmqVPDk/0AavgxzfpCga0VOYbuZrMNMaZwP6HbA=; b=ne9YM37u6ERzMNBDDbXVulNs8rYOtCFeXrRCS93kOSHBTNes+YmYE/0LTh1a7qHNed fal/N2FAvPDXtRErKjQGewBsUfydezK/ZLOucv+L0shirE8vMKlyKqiDlPLGu3dW5vm6 SI2Yeh8fgKFWL4i2l7UqqgGCGlFxlDonbZMfZb1QIBvcKUfSXojN4nlYbQsd120IBAt6 o2qzRfCrITAUBCrnkDDMNdhDfcymRbHhfYBykxrC75zEv7cfQkK+wOcyenaWFimVFEDT 4qYI6lMISRQI05ch819/jkTZOKqlf/LPbAw9PoXzXklc4T7OApjP5QOAFt3SCpI9ISIt g8Tg== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i6si2724370oia.100.2020.04.02.13.12.23; Thu, 02 Apr 2020 13:12:36 -0700 (PDT) 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388801AbgDBTuJ (ORCPT + 99 others); Thu, 2 Apr 2020 15:50:09 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:5038 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1730837AbgDBTuI (ORCPT ); Thu, 2 Apr 2020 15:50:08 -0400 Received: from pps.filterd (m0098419.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 032JYSUI016331; Thu, 2 Apr 2020 15:49:58 -0400 Received: from ppma04dal.us.ibm.com (7a.29.35a9.ip4.static.sl-reverse.com [169.53.41.122]) by mx0b-001b2d01.pphosted.com with ESMTP id 304gstrbpk-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 02 Apr 2020 15:49:58 -0400 Received: from pps.filterd (ppma04dal.us.ibm.com [127.0.0.1]) by ppma04dal.us.ibm.com (8.16.0.27/8.16.0.27) with SMTP id 032JnXb6023053; Thu, 2 Apr 2020 19:49:58 GMT Received: from b01cxnp22036.gho.pok.ibm.com (b01cxnp22036.gho.pok.ibm.com [9.57.198.26]) by ppma04dal.us.ibm.com with ESMTP id 301x7766ss-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 02 Apr 2020 19:49:58 +0000 Received: from b01ledav005.gho.pok.ibm.com (b01ledav005.gho.pok.ibm.com [9.57.199.110]) by b01cxnp22036.gho.pok.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 032JnvHV16122750 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 2 Apr 2020 19:49:57 GMT Received: from b01ledav005.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 46DF4AE062; Thu, 2 Apr 2020 19:49:57 +0000 (GMT) Received: from b01ledav005.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 5545DAE05C; Thu, 2 Apr 2020 19:49:56 +0000 (GMT) Received: from ghost4.ibm.com (unknown [9.163.31.233]) by b01ledav005.gho.pok.ibm.com (Postfix) with ESMTP; Thu, 2 Apr 2020 19:49:56 +0000 (GMT) From: Eddie James To: linux-aspeed@lists.ozlabs.org Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, robh+dt@kernel.org, joel@jms.id.au, andrew@aj.id.au, eajames@linux.ibm.com Subject: [PATCH v7 0/5] soc: aspeed: Add XDMA engine driver Date: Thu, 2 Apr 2020 14:49:50 -0500 Message-Id: <20200402194955.16643-1-eajames@linux.ibm.com> X-Mailer: git-send-email 2.24.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TM-AS-GCONF: 00 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.138,18.0.676 definitions=2020-04-02_09:2020-04-02,2020-04-02 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 spamscore=0 malwarescore=0 suspectscore=1 priorityscore=1501 lowpriorityscore=0 phishscore=0 clxscore=1011 mlxlogscore=734 mlxscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2003020000 definitions=main-2004020142 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This series adds a driver to control the Aspeed XDMA engine embedded in the AST2500 and AST2600. The XDMA engine performs automatic DMA operations over PCI-E between the Aspeed SOC (acting as a BMC) and a host processor. Changes since v6: - See individual patches Eddie James (5): dt-bindings: soc: Add Aspeed XDMA engine soc: aspeed: Add XDMA Engine Driver soc: aspeed: xdma: Add user interface soc: aspeed: xdma: Add reset ioctl ARM: dts: Aspeed: AST2600: Add XDMA PCI-E root control reset .../devicetree/bindings/soc/aspeed/xdma.txt | 44 + MAINTAINERS | 8 + arch/arm/boot/dts/aspeed-g6.dtsi | 3 +- drivers/soc/aspeed/Kconfig | 8 + drivers/soc/aspeed/Makefile | 1 + drivers/soc/aspeed/aspeed-xdma.c | 1084 +++++++++++++++++ include/uapi/linux/aspeed-xdma.h | 42 + 7 files changed, 1189 insertions(+), 1 deletion(-) create mode 100644 Documentation/devicetree/bindings/soc/aspeed/xdma.txt create mode 100644 drivers/soc/aspeed/aspeed-xdma.c create mode 100644 include/uapi/linux/aspeed-xdma.h -- 2.24.0