mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v10 0/8] dmaengine: sh: rz-dmac: Add tx_status and pause/resume support
@ 2026-03-16 13:32 Claudiu Beznea
  2026-03-16 13:32 ` [PATCH v10 1/8] dmaengine: sh: rz-dmac: Protect the driver specific lists Claudiu Beznea
                   ` (8 more replies)
  0 siblings, 9 replies; 12+ messages in thread
From: Claudiu Beznea @ 2026-03-16 13:32 UTC (permalink / raw)
  To: vkoul, Frank.Li, geert+renesas, biju.das.jz, john.madieu.xa,
	prabhakar.mahadev-lad.rj
  Cc: claudiu.beznea, dmaengine, linux-kernel, Claudiu Beznea

Hi,

Series adds tx_status and pause/resume support for the rz-dmac driver.
Along with it were added fixes and improvements identified while working
on the above mentioned enhancements.

Previous versions were addressed by Biju. The previous versions were
posted here:

v4: https://lore.kernel.org/all/20240628151728.84470-1-biju.das.jz@bp.renesas.com/
v3: https://lore.kernel.org/all/20230412152445.117439-1-biju.das.jz@bp.renesas.com/
v2: https://lore.kernel.org/all/20230405140842.201883-1-biju.das.jz@bp.renesas.com/
v1: https://lore.kernel.org/all/20230324094957.115071-1-biju.das.jz@bp.renesas.com/

Changes in v10:
- dropped patch "dmaengine: sh: rz-dmac: Add rz_dmac_invalidate_lmdesc()"
  and use the already available rz_lmdesc_setup() function as suggested
  by John internally
- rebased on top of latest next

Changes in v9:
- collected tags
- in patch 7/8 droppped contributions from the SoB list, used
  Co-developed-by tag, and added Long Luu as well; also used
  ctra as member of rz_dmac_calculate_residue_bytes_in_vd() to
  avoid re-reading it again in rz_dmac_calculate_residue_bytes_in_vd()
- adjusted the patch description for patches 7/8, 8/8

Changes in v8:
- rebased on top of https://lore.kernel.org/all/20260105114445.878262-1-cosmin-gabriel.tanislav.xa@renesas.com/
- populated engine->residue_granularity in patch 7/8
- report proper residue in case the channel is paused in patch 8/8

Changes in v7:
- adjusted the pause/resume support
- collected tags

Changes in v6:
- added patches:
-- dmaengine: sh: rz-dmac: Drop read of CHCTRL register
-- dmaengine: sh: rz-dmac: Drop goto instruction and label
- use vc lock in IRQ handler only for the error path
- fixed typos
- adjusted patch
  "dmaengine: sh: rz-dmac: Add device_{pause,resume}() callbacks"

Changes in v5:
- added patches
-- dmaengine: sh: rz-dmac: Add rz_dmac_invalidate_lmdesc()
-- dmaengine: sh: rz-dmac: Protect the driver specific lists
-- dmaengine: sh: rz-dmac: Move all CHCTRL updates under spinlock
-- dmaengine: sh: rz-dmac: Drop unnecessary local_irq_save() call
-- dmaengine: sh: rz-dmac: Add device_{pause,resume}() callbacks
-- dmaengine: sh: rz-dmac: Add rz_dmac_invalidate_lmdesc()
- for pause/resume used the DMA controller support to pause/resume
  transfers compared with previous versions
- adjusted patches:
-- dmaengine: sh: rz-dmac: Add device_tx_status() callback

Thank you,
Claudiu

Biju Das (1):
  dmaengine: sh: rz-dmac: Add device_tx_status() callback

Claudiu Beznea (6):
  dmaengine: sh: rz-dmac: Protect the driver specific lists
  dmaengine: sh: rz-dmac: Move CHCTRL updates under spinlock
  dmaengine: sh: rz-dmac: Drop read of CHCTRL register
  dmaengine: sh: rz-dmac: Drop goto instruction and label
  dmaengine: sh: rz-dmac: Drop unnecessary local_irq_save() call
  dmaengine: sh: rz-dmac: Add device_{pause,resume}() callbacks

John Madieu (1):
  dmaengine: sh: rz-dmac: Use rz_lmdesc_setup() to invalidate
    descriptors

 drivers/dma/sh/rz-dmac.c | 281 ++++++++++++++++++++++++++++++++-------
 1 file changed, 231 insertions(+), 50 deletions(-)

-- 
2.43.0


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

end of thread, other threads:[~2026-03-17 11:28 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-03-16 13:32 [PATCH v10 0/8] dmaengine: sh: rz-dmac: Add tx_status and pause/resume support Claudiu Beznea
2026-03-16 13:32 ` [PATCH v10 1/8] dmaengine: sh: rz-dmac: Protect the driver specific lists Claudiu Beznea
2026-03-16 13:32 ` [PATCH v10 2/8] dmaengine: sh: rz-dmac: Move CHCTRL updates under spinlock Claudiu Beznea
2026-03-16 13:32 ` [PATCH v10 3/8] dmaengine: sh: rz-dmac: Drop read of CHCTRL register Claudiu Beznea
2026-03-16 13:32 ` [PATCH v10 4/8] dmaengine: sh: rz-dmac: Drop goto instruction and label Claudiu Beznea
2026-03-16 13:32 ` [PATCH v10 5/8] dmaengine: sh: rz-dmac: Drop unnecessary local_irq_save() call Claudiu Beznea
2026-03-16 13:32 ` [PATCH v10 6/8] dmaengine: sh: rz-dmac: Use rz_lmdesc_setup() to invalidate descriptors Claudiu Beznea
2026-03-16 23:53   ` Frank Li
2026-03-16 13:32 ` [PATCH v10 7/8] dmaengine: sh: rz-dmac: Add device_tx_status() callback Claudiu Beznea
2026-03-16 23:58   ` Frank Li
2026-03-16 13:32 ` [PATCH v10 8/8] dmaengine: sh: rz-dmac: Add device_{pause,resume}() callbacks Claudiu Beznea
2026-03-17 11:28 ` (subset) [PATCH v10 0/8] dmaengine: sh: rz-dmac: Add tx_status and pause/resume support Vinod Koul

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®