Skip to content

dmaengine: add ACPI DMA helpers and use them in dw_dmac

Andy Shevchenko linux-acpi lkml 2 versions – In review

Get series with b4
b4 am 1365505547-10552-1-git-send-email-andriy.shevchenko@linux.intel.com

Versions newest first · linked by author and title

  1. v2 Latest5 patches 9 repliesIn review
  2. v16 patches 7 repliesSuperseded

Changes in v2 from the cover letter

- address one Vinod's comment
- replace 5/6 & 6/6 by 5/5 from Rafael
- tested on Intel Lynxpoint system

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5dma: acpi-dma: introduce ACPI DMA helpersDocumentation/acpi/enumeration.txt drivers/dma/Kconfig drivers/dma/Makefile +2 more+477 -00 replies
2/5dmaengine: call acpi_dma_request_slave_channel as welldrivers/dma/dmaengine.c+6 -00 replies
3/5dma: acpi-dma: parse CSRT to extract additional resourcesdrivers/acpi/Makefile drivers/acpi/csrt.c drivers/acpi/internal.h +3 more+173 -1650 replies
4/5dw_dmac: add ACPI supportdrivers/dma/dw_dmac.c drivers/dma/dw_dmac_regs.h+50 -190 replies
5/5ACPI / LPSS: add support of shared clockdrivers/acpi/acpi_lpss.c drivers/clk/x86/clk-lpt.c include/linux/platform_data/clk-lpss.h+38 -81 reply
5/5ACPI / LPSS: add support of shared clockdrivers/acpi/acpi_lpss.c drivers/clk/x86/clk-lpt.c include/linux/platform_data/clk-lpss.h+38 -80 replies
5/5ACPI / LPSS: register clock device for Lynxpoint DMA properlydrivers/acpi/acpi_lpss.c drivers/clk/x86/clk-lpt.c include/linux/platform_data/clk-lpss.h+38 -80 replies

Reviews trailers per patch

3 of 7 patches have a Reviewed-by or Acked-by.

PatchMika WesterbergRafael J. Wysocki
1/5R-b A-b
2/5R-b A-b
3/5A-b
4/5
5/5
5/5
5/5

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/5] dmaengine: add ACPI DMA helpers and use them in dw_dmac

There is a patch series which introduces ACPI DMA helpers in similar way like we have for DeviceTree.

In addition it applies this to the first user, namely dw_dmac driver.

Since v1:
- address one Vinod's comment
- replace 5/6 & 6/6 by 5/5 from Rafael
- tested on Intel Lynxpoint system

Andy Shevchenko (4):
dma: acpi-dma: introduce ACPI DMA helpers
dmaengine: call acpi_dma_request_slave_channel as well
dma: acpi-dma: parse CSRT to extract additional resources
dw_dmac: add ACPI support

Rafael J. Wysocki (1):
ACPI / LPSS: add support of shared clock

 Documentation/acpi/enumeration.txt     |  77 ++++++
 drivers/acpi/Makefile                  |   1 -
 drivers/acpi/acpi_lpss.c               |  26 +-
 drivers/acpi/csrt.c                    | 159 ------------
 drivers/acpi/internal.h                |   1 -
 drivers/acpi/scan.c                    |   1 -
 drivers/clk/x86/clk-lpt.c              |  15 +-
 drivers/dma/Kconfig                    |   4 +
 drivers/dma/Makefile                   |   1 +
 drivers/dma/acpi-dma.c                 | 445 +++++++++++++++++++++++++++++++++
 drivers/dma/dmaengine.c                |   6 +
 drivers/dma/dw_dmac.c                  |  68 +++--
 drivers/dma/dw_dmac_regs.h             |   1 -
 include/linux/acpi_dma.h               | 120 +++++++++
 include/linux/platform_data/clk-lpss.h |   5 +
 15 files changed, 741 insertions(+), 189 deletions(-)
 delete mode 100644 drivers/acpi/csrt.c
 create mode 100644 drivers/dma/acpi-dma.c
 create mode 100644 include/linux/acpi_dma.h
Signature · 1 line
1.8.2.rc0.22.gb3600c3