Skip to content

dmaengine: qcom: bam_dma: Fixes for unbind

Mostafa Saleh dmaengine linux-arm-msm lkml 3 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 0 repliesNew
  2. v22 patches 1 replySuperseded
  3. v12 patches 5 repliesSuperseded

Changes in v3 from the cover letter

v2: https://lore.kernel.org/all/[email protected]/
- Rebase on 7.4-rc1
- Collect Bartosz Rb

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2dmaengine: qcom: bam_dma: Take a PM ref at remove()drivers/dma/qcom/bam_dma.c+3 -30 replies
2/2dmaengine: qcom: bam_dma: Do not touch remote BAM in remove()drivers/dma/qcom/bam_dma.c+9 -20 replies

Reviews trailers per patch

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

PatchBartosz GolaszewskiFrank Li
1/2R-b R-b
2/2R-b R-b

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

Read the v3 thread

Cover letter [PATCH v3 0/2] dmaengine: qcom: bam_dma: Fixes for unbind

On Lenovo Mini-x Gen 10 (X1P42100 based) I am using VFIO-platform [1] to assign the QCE/BAM to VMs.

During unbind:
echo 1dc4000.dma-controller > /sys/bus/platform/drivers/bam-dma-engine/unbind echo 1dfa000.crypto > /sys/bus/platform/drivers/qcrypto/unbind

I see a system reset quite often, looking more into this, that seems to be related to runtime PM, with those fixes I don't see that anymore.

[1] https://lore.kernel.org/all/[email protected]/

Changes in v3:
v2: https://lore.kernel.org/all/[email protected]/
- Rebase on 7.4-rc1
- Collect Bartosz Rb

Changes in v2:
v1: https://lore.kernel.org/all/[email protected]/
- Collect Frank Rb
- Drop call to pm_runtime_dont_use_autosuspend()

Mostafa Saleh (2):
dmaengine: qcom: bam_dma: Take a PM ref at remove()
dmaengine: qcom: bam_dma: Do not touch remote BAM in remove()

 drivers/dma/qcom/bam_dma.c | 17 ++++++++++++-----
 1 file changed, 12 insertions(+), 5 deletions(-)
Signature · 1 line
2.56.0.611.g1030f0b940-goog