[PATCH 00/12] ioatdma refactoring to only support v3

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The following series clean up the ioatdma driver and refactors it to support
only ioatdma v3.x devices. This removes a lot of the complexities that
existed to support v1 and v2 based devices as well as v3. Some data structures
are flattened or removed to minimize the abstractions. Now it has an
ioatdma_device that embedes a dma_device, an ioatdma_chan that embeds a
dma_chan and points to an ioatdma_device. All the names are sanitized to
ioat_dma or ioat_chan to make the code more readable. All references to
ioat1 and ioat2 and most of ioat3 are removed. The driver is split into
init.c for init routines, prep.c for dma descriptor preparation routines,
sysfs.c for all sysfs related bits, and dma.c for remaining operation bits.

---

Dave Jiang (12):
      ioatdma: deprecating and removal of old ioatdma devices
      ioatdma: remove ioat1 specific code
      ioatdma: remove ioatdma v2 registration
      ioatdma: clean up local dma channel data structure
      ioatdma: fixup ioatdma_device namings
      ioatdma: remove dma_v2.*
      ioatdma: move all sysfs related code
      ioatdma: move all the init routines
      ioatdma: move dma prep functions to single location
      ioatdma: removal of dma_v3.c and relevant ioat3 references
      ioatdma: remove function ptrs in ioatdma_device
      ioatdma: fixup kernel doc errors from dma.h


 drivers/dma/ioat/Makefile |    2 
 drivers/dma/ioat/dca.c    |  374 ----------
 drivers/dma/ioat/dma.c    | 1655 ++++++++++++++++++-------------------------
 drivers/dma/ioat/dma.h    |  352 ++++++---
 drivers/dma/ioat/dma_v2.c |  916 ------------------------
 drivers/dma/ioat/dma_v2.h |  175 -----
 drivers/dma/ioat/dma_v3.c | 1717 ---------------------------------------------
 drivers/dma/ioat/hw.h     |    5 
 drivers/dma/ioat/init.c   | 1282 ++++++++++++++++++++++++++++++++++
 drivers/dma/ioat/pci.c    |  258 -------
 drivers/dma/ioat/prep.c   |  707 +++++++++++++++++++
 drivers/dma/ioat/sysfs.c  |  135 ++++
 12 files changed, 3056 insertions(+), 4522 deletions(-)
 delete mode 100644 drivers/dma/ioat/dma_v2.c
 delete mode 100644 drivers/dma/ioat/dma_v2.h
 delete mode 100644 drivers/dma/ioat/dma_v3.c
 create mode 100644 drivers/dma/ioat/init.c
 delete mode 100644 drivers/dma/ioat/pci.c
 create mode 100644 drivers/dma/ioat/prep.c
 create mode 100644 drivers/dma/ioat/sysfs.c

--
--
To unsubscribe from this list: send the line "unsubscribe dmaengine" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux PCI]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux