linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v4 0/8] drivers/soc: Add Aspeed XDMA Engine Driver
@ 2019-07-01 19:53 Eddie James
  2019-07-01 19:53 ` [PATCH v4 1/8] dt-bindings: soc: Add Aspeed XDMA engine binding documentation Eddie James
                   ` (7 more replies)
  0 siblings, 8 replies; 10+ messages in thread
From: Eddie James @ 2019-07-01 19:53 UTC (permalink / raw)
  To: linux-aspeed
  Cc: linux-kernel, arnd, robh+dt, mark.rutland, devicetree, joel,
	eduval, Eddie James

The XDMA engine embedded in the AST2500 SOC performs PCI DMA operations
between the SOC (acting as a BMC) and a host processor in a server.

This series adds a driver to control the XDMA engine in order to easily
perform DMA operations to and from the host processor.

Changes since v3:
 - Added a few comments.
 - Change DMA reservation/allocation/mmap to iomap operations.
 - Change miscdevice to "aspeed-xdma".
 - Change default PCI device to the BMC device, not the VGA.
 - Use length-limited string functions (strncpy, strncasecmp)
 - Added more debugfs registers

Changes since v2:
 - Switch to one pci device config sysfs file
 - Add documentation for pci device config sysfs file
 - Add module parameter for pci device config
 - Switch to genalloc instead of custom allocator
 - Fix alignment of user structure
 - Cleaned up debugfs functions

I previously sent this series v1 to drivers/misc, but I'm now fairly certain
it belongs in drivers/soc, especially since the other Aspeed drivers have been
moved to soc.

Changes since v1:
 - Correct the XDMA command pitch
 - Don't use packed for the aspeed_xdma_op structure
 - Correct the SCU PCI config change

Eddie James (8):
  dt-bindings: soc: Add Aspeed XDMA engine binding documentation
  drivers/soc: Add Aspeed XDMA Engine Driver
  drivers/soc: xdma: Add user interface
  Documentation: ABI: Add aspeed-xdma sysfs documentation
  drivers/soc: xdma: Add PCI device configuration sysfs
  drivers/soc: xdma: Add debugfs entries
  ARM: dts: aspeed: Add XDMA Engine
  ARM: dts: aspeed: witherspoon: Enable XDMA Engine

 .../ABI/testing/sysfs-devices-platform-aspeed-xdma |  11 +
 .../devicetree/bindings/soc/aspeed/xdma.txt        |  23 +
 MAINTAINERS                                        |   9 +
 arch/arm/boot/dts/aspeed-bmc-opp-witherspoon.dts   |   4 +
 arch/arm/boot/dts/aspeed-g5.dtsi                   |   8 +
 drivers/soc/aspeed/Kconfig                         |   8 +
 drivers/soc/aspeed/Makefile                        |   1 +
 drivers/soc/aspeed/aspeed-xdma.c                   | 953 +++++++++++++++++++++
 include/uapi/linux/aspeed-xdma.h                   |  26 +
 9 files changed, 1043 insertions(+)
 create mode 100644 Documentation/ABI/testing/sysfs-devices-platform-aspeed-xdma
 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


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2019-07-22 22:43 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-01 19:53 [PATCH v4 0/8] drivers/soc: Add Aspeed XDMA Engine Driver Eddie James
2019-07-01 19:53 ` [PATCH v4 1/8] dt-bindings: soc: Add Aspeed XDMA engine binding documentation Eddie James
2019-07-22 22:43   ` Rob Herring
2019-07-01 19:53 ` [PATCH v4 2/8] drivers/soc: Add Aspeed XDMA Engine Driver Eddie James
2019-07-01 19:53 ` [PATCH v4 3/8] drivers/soc: xdma: Add user interface Eddie James
2019-07-01 19:53 ` [PATCH v4 4/8] Documentation: ABI: Add aspeed-xdma sysfs documentation Eddie James
2019-07-01 19:53 ` [PATCH v4 5/8] drivers/soc: xdma: Add PCI device configuration sysfs Eddie James
2019-07-01 19:53 ` [PATCH v4 6/8] drivers/soc: xdma: Add debugfs entries Eddie James
2019-07-01 19:53 ` [PATCH v4 7/8] ARM: dts: aspeed: Add XDMA Engine Eddie James
2019-07-01 19:53 ` [PATCH v4 8/8] ARM: dts: aspeed: witherspoon: Enable " Eddie James

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).