From: Eddie James <eajames@linux.ibm.com>
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 v9 0/5] soc: aspeed: Add XDMA engine driver
Date: Thu, 16 Apr 2020 15:03:34 -0500 [thread overview]
Message-ID: <1587067419-5107-1-git-send-email-eajames@linux.ibm.com> (raw)
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 v8:
- Use DMA API to allocate memory from reserved region.
- Fix the driver for the AST2500 by keeping the command queue in kernel
memory and copying the whole buffer to the reserved memory area before
starting the operation.
- Add krefs to the client structure to prevent use-after-free.
- Switch reset-names binding to "device", "root-complex"
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 | 45 +
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 | 1099 ++++++++++++++++++++
include/uapi/linux/aspeed-xdma.h | 42 +
7 files changed, 1205 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
--
1.8.3.1
next reply other threads:[~2020-04-16 20:05 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-16 20:03 Eddie James [this message]
2020-04-16 20:03 ` [PATCH v9 1/5] dt-bindings: soc: Add Aspeed XDMA Engine Eddie James
2020-04-17 16:22 ` Rob Herring
2020-04-16 20:03 ` [PATCH v9 2/5] soc: aspeed: Add XDMA Engine Driver Eddie James
2020-04-16 20:03 ` [PATCH v9 3/5] soc: aspeed: xdma: Add user interface Eddie James
2020-04-16 20:03 ` [PATCH v9 4/5] soc: aspeed: xdma: Add reset ioctl Eddie James
2020-04-16 20:03 ` [PATCH v9 5/5] ARM: dts: Aspeed: AST2600: Add XDMA PCI-E root control reset Eddie James
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1587067419-5107-1-git-send-email-eajames@linux.ibm.com \
--to=eajames@linux.ibm.com \
--cc=andrew@aj.id.au \
--cc=devicetree@vger.kernel.org \
--cc=joel@jms.id.au \
--cc=linux-aspeed@lists.ozlabs.org \
--cc=linux-kernel@vger.kernel.org \
--cc=robh+dt@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).