[PATCH v8 0/8] dmaengine: sh: rz-dmac: Add tx_status and pause/resume support

Claudiu posted 8 patches 2 weeks, 5 days ago
drivers/dma/sh/rz-dmac.c | 289 ++++++++++++++++++++++++++++++++-------
1 file changed, 239 insertions(+), 50 deletions(-)
[PATCH v8 0/8] dmaengine: sh: rz-dmac: Add tx_status and pause/resume support
Posted by Claudiu 2 weeks, 5 days ago
From: Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com>

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 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 (2):
  dmaengine: sh: rz-dmac: Add rz_dmac_invalidate_lmdesc()
  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

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

-- 
2.43.0
Re: [PATCH v8 0/8] dmaengine: sh: rz-dmac: Add tx_status and pause/resume support
Posted by Claudiu Beznea 1 week, 3 days ago
Hi,

Gentle ping on this series.

Thank you,
Claudiu

On 1/20/26 15:33, Claudiu wrote:
> From: Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com>
> 
> 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 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 (2):
>    dmaengine: sh: rz-dmac: Add rz_dmac_invalidate_lmdesc()
>    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
> 
>   drivers/dma/sh/rz-dmac.c | 289 ++++++++++++++++++++++++++++++++-------
>   1 file changed, 239 insertions(+), 50 deletions(-)
>