Skip to content

CPM6 Channel Separation Support

Devendra K Verma dmaengine linux-pci lkml 7 versions – Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest posting 2/22 patches 1 replyApplied
  2. v5 posting 1/22 patches 3 repliesSuperseded
  3. v42 patches 3 repliesSuperseded
Earlier versions · 4
VersionPostedPatchesRepliesStatus
v32 patches7 repliesSuperseded
v2 posting 2/23 patches19 repliesSuperseded
v2 posting 1/20 of 3 patches0 repliesSuperseded
v13 patches10 repliesSuperseded

Patches in v5 posting 2/2 Applied

#Subject and filesSizeRepliesApplied
1/2dmaengine: dw-edma: Enable Chan Separation via VSECdrivers/dma/dw-edma/dw-edma-pcie.c+14 -00 replies
2/2dmaengine: dw-edma: Add changes to support Channel Separationdrivers/dma/dw-edma/dw-edma-pcie.c drivers/dma/dw-edma/dw-hdma-v0-core.c drivers/dma/dw-edma/dw-hdma-v0-debugfs.c +3 more+26 -300 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchFrank Li
1/2R-b
2/2R-b

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

Read the v5 thread

Cover letter [PATCH RESEND v5 0/2] CPM6 Channel Separation Support

'Designware Cores PCI Express DM Controller - Reference Manual', section 3.2.34.3, VSEC for DEVICE INFORMATION supports the channel separation mechanisms. Basically, the HDMA IP allows the user to configure the separation between DMA channel registers and retrieve it via the VSEC capability mentioned above.
In order to use the VSEC functionality following changes have been made:

o Utilize the existing VSEC implementation to retrieve the channel separation and translate it to correct size.
o Modify the structs and functions to calculate correct DMA channel register base using the channel, direction and channel separation selected.

Devendra K Verma (2):
dmaengine: dw-edma: Enable Chan Separation via VSEC
dmaengine: dw-edma: Add changes to support Channel Separation

 drivers/dma/dw-edma/dw-edma-pcie.c           | 18 +++++++++++++++
 drivers/dma/dw-edma/dw-hdma-v0-core.c        | 23 ++++++++++++--------
 drivers/dma/dw-edma/dw-hdma-v0-debugfs.c     | 17 +++++----------
 drivers/dma/dw-edma/dw-hdma-v0-regs.h        | 10 ---------
 drivers/pci/controller/dwc/pcie-designware.c |  1 +
 include/linux/dma/edma.h                     |  1 +
 6 files changed, 40 insertions(+), 30 deletions(-)
Signature · 1 line
2.43.0