From: sashiko-bot@kernel.org
To: "Jiawen Liu" <liu1298662399@gmail.com>
Cc: dmaengine@vger.kernel.org, vkoul@kernel.org, Frank.Li@kernel.org
Subject: Re: [PATCH] dmaengine: qcom: adm: Propagate reset errors from probe
Date: Sun, 29 Nov 2026 19:43:56 +0000 [thread overview]
Message-ID: <sashiko-outbox-239981@kernel.org> (raw)
In-Reply-To: <179598034305.2.8178651388048278541.pattern-ext-136.24@gmail.com>
Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Low] dmaengine: qcom: adm: inaccurate Fixes trailer in commit message
--
commit 9bca7345605b3adf090ac246e6f33dd343ab2adb
Author: Jiawen Liu <liu1298662399@gmail.com>
> dmaengine: qcom: adm: Propagate reset errors from probe
>
> With fw_devlink=off on IPQ8064, GCC can unbind while ADM is probing.
> If GCC unregisters its reset controller after ADM asserts reset, the
> reset core invalidates the held handles. Deassertion then returns
> -ENODEV. ADM ignores the error and can program its registers and
> register a DMA provider while the block is still in reset. A NAND
> client can then time out waiting for DMA completion.
>
> Check each reset assertion and deassertion and return the first error
> through the existing clock cleanup path, before programming ADM
> registers, requesting the IRQ or registering the DMA provider.
> Keep the reset order and the 2 us delay.
>
> Verification included a source trace of the reset and clock unwind
> paths, a 32-bit ARM qcom_adm.o build with QCOM_ADM, IPQ_GCC_806X and
> RESET_CONTROLLER enabled, git diff --check and checkpatch.
> Runtime and hardware reproduction were not performed.
>
> Fixes: 78ebbff6d1a0 ("reset: handle removing supplier before consumers")
> Signed-off-by: Jiawen Liu <liu1298662399@gmail.com>
[Severity: Low]
Commit 78ebbff6d1a0 ("reset: handle removing supplier before consumers") only
updated the reset core to return -ENODEV when a reset provider is removed.
The unchecked reset_control_assert() and reset_control_deassert() calls in
adm_dma_probe() were introduced when the driver was added. Should the Fixes
tag point to that commit instead?
Fixes: 5c9f8c2dbdbe ("dmaengine: qcom: Add ADM driver")
--
Sashiko AI review · https://sashiko.dev/#/patchset/179598034305.2.8178651388048278541.pattern-ext-136.24@gmail.com?part=1
prev parent reply other threads:[~2026-11-29 19:43 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-29 19:25 [PATCH] dmaengine: qcom: adm: Propagate reset errors from probe Jiawen Liu
2026-11-29 19:43 ` sashiko-bot [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=sashiko-outbox-239981@kernel.org \
--to=sashiko-bot@kernel.org \
--cc=Frank.Li@kernel.org \
--cc=dmaengine@vger.kernel.org \
--cc=liu1298662399@gmail.com \
--cc=sashiko-reviews@lists.linux.dev \
--cc=vkoul@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox