From: sashiko-bot@kernel.org
To: "James Hilliard" <james.hilliard1@gmail.com>
Cc: linux-serial@vger.kernel.org
Subject: Re: [PATCH v10 7/7] dmaengine: dw: report residue for queued transfers
Date: Thu, 19 Nov 2026 10:09:28 +0000 [thread overview]
Message-ID: <sashiko-outbox-222918@kernel.org> (raw)
In-Reply-To: <20261119-submit-dw-dma-synchronize-v1-v10-7-3a737597a0d1@gmail.com>
> A submitted transfer may still be queued behind the active transaction.
> dwc_find_desc() only checks the active descriptor, so a status query
> reports zero residue for a queued cookie even though none of its data has
> been transferred.
>
> Search the issued and submitted queues as well. vchan_find_desc() covers
> issued descriptors; submitted descriptors need a separate lookup. The
> status getter already reports total_len for a descriptor that is not the
> active transaction, giving queued transfers their full remaining length.
>
> Fixes: b68fd0976286 ("dmaengine: dw: move residue to a descriptor")
> Cc: stable@vger.kernel.org
> Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Sashiko has reviewed this patch and found no issues.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261119-submit-dw-dma-synchronize-v1-v10-0-3a737597a0d1@gmail.com?part=7
prev parent reply other threads:[~2026-11-19 10:09 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-19 10:01 [PATCH v10 0/7] dmaengine: dw: serialize completion and termination James Hilliard
2026-11-19 10:01 ` [PATCH v10 1/7] dmaengine: dw: Fix XFER bit set, but channel not idle error James Hilliard
2026-11-19 10:12 ` sashiko-bot
2026-11-19 10:01 ` [PATCH v10 2/7] dmaengine: dw: serialize error recovery with channel termination James Hilliard
2026-11-19 10:07 ` sashiko-bot
2026-11-19 10:01 ` [PATCH v10 3/7] dmaengine: dw: embed a virt-dma channel James Hilliard
2026-11-19 10:06 ` sashiko-bot
2026-11-19 10:25 ` Andy Shevchenko
2026-11-19 10:01 ` [PATCH v10 4/7] dmaengine: dw: use virt-dma for descriptor and callback ownership James Hilliard
2026-11-19 10:18 ` sashiko-bot
2026-11-19 10:01 ` [PATCH v10 5/7] dmaengine: dw: extract hardware-LLP residue calculation James Hilliard
2026-11-19 10:05 ` sashiko-bot
2026-11-19 10:01 ` [PATCH v10 6/7] dmaengine: dw: calculate residue in the status getter James Hilliard
2026-11-19 10:11 ` sashiko-bot
2026-11-19 10:01 ` [PATCH v10 7/7] dmaengine: dw: report residue for queued transfers James Hilliard
2026-11-19 10:09 ` 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-222918@kernel.org \
--to=sashiko-bot@kernel.org \
--cc=james.hilliard1@gmail.com \
--cc=linux-serial@vger.kernel.org \
--cc=sashiko-reviews@lists.linux.dev \
/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