Re: [PATCH 0/2] dmaengine: qcom: bam_dma: Fixes for unbind

From: Mostafa Saleh

Date: Wed Nov 04 2026 - 18:12:20 EST


On Tue, Oct 20, 2026 at 7:19 PM Mostafa Saleh <smostafa@xxxxxxxxxx> wrote:
>
> On Lenovo Mini-x Gen 10 (X1P42100 based) I am using VFIO-platform
> to assing 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.
>
> This patches apply on linux-next.
>
> Mostafa Saleh (2):
> dmaengine: qcom: bam_dma: Take a PM ref at remove()
> dmaengine: qcom: bam_dma: Do not touch remote BAM in remove()
>

A gentle ping; both patches are reviewed and I have been using this to
test VFIO platform with kvmtool
https://lore.kernel.org/all/20261024161902.2093581-1-smostafa@xxxxxxxxxx/

Thanks,
Mostaa

> drivers/dma/qcom/bam_dma.c | 18 +++++++++++++-----
> 1 file changed, 13 insertions(+), 5 deletions(-)
>
> --
> 2.56.0.212.g129ede20d9-goog
>