From: Francesco Saverio Pavone <pavone.lawyer@gmail.com>
To: Shawn Lin <shawn.lin@linux.dev>,
Sebastian Reichel <sebastian.reichel@collabora.com>
Cc: Shawn Lin <shawn.lin@rock-chips.com>,
Ulf Hansson <ulfh@kernel.org>,
Jaehoon Chung <jh80.chung@samsung.com>,
Marek Szyprowski <m.szyprowski@samsung.com>,
linux-mmc@vger.kernel.org, linux-rockchip@lists.infradead.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH 1/4] mmc: dw_mmc: add central watchdog and convert CTO onto it
Date: Sun, 29 Nov 2026 10:41:25 +0100 [thread overview]
Message-ID: <80B31457-E1F0-4FED-B0A6-AF331889D274@gmail.com> (raw)
In-Reply-To: <5b7318ff-b41e-45f6-8127-d42eab0dcb67@linux.dev>
Hi Shawn,
Same warning here on a ROCK 5B+ (RK3588, fe2c0000.mmc, SDR104 at
198 MHz), once or twice per boot, with plain v7.4-rc4 too.
The rest is from a tree with Collabora's rockchip-devel and local
patches on top; dw_mmc.c there is the mainline file.
I had a trace on one of these, in case the detail is useful. In the
one boot I traced, the CRC error comes 10 ms after the command, the
watchdog is re-armed and fires 15 ms later with MINTSTS empty, and
data-over shows up a few microseconds after the driver stops the DMA.
So it looks held back until the teardown, not lost.
As a local experiment I sent CMD19 through PIO instead of IDMAC, tuning
only. In two boots data-over arrived for all 284 tuning commands,
including the four that failed, and the watchdog never fired. PIO
changes the order of events too, so I would not read a cause into it.
I can test a patch if you send one.
LLM agents (OpenAI Codex and Hermes) wrote the trace code and ran the
boots on my board, and Claude helped write this mail. I checked the
numbers against the logs.
Francesco
next prev parent reply other threads:[~2026-11-29 9:41 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-27 7:58 [PATCH 0/4] mmc: dw_mmc: replace three fallback timers with a single watchdog Shawn Lin
2026-08-27 7:58 ` [PATCH 1/4] mmc: dw_mmc: add central watchdog and convert CTO onto it Shawn Lin
2026-11-23 15:57 ` Sebastian Reichel
2026-11-24 0:46 ` Shawn Lin
2026-11-27 23:21 ` Sebastian Reichel
2026-11-29 9:41 ` Francesco Saverio Pavone [this message]
2026-08-27 7:58 ` [PATCH 2/4] mmc: dw_mmc: convert DTO onto the central watchdog Shawn Lin
2026-08-27 7:58 ` [PATCH 3/4] mmc: dw_mmc: absorb CMD11 timeout into " Shawn Lin
2026-08-27 7:58 ` [PATCH 4/4] mmc: dw_mmc: expose the watchdog state in debugfs Shawn Lin
2026-09-10 16:05 ` [PATCH 0/4] mmc: dw_mmc: replace three fallback timers with a single watchdog Ulf Hansson
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=80B31457-E1F0-4FED-B0A6-AF331889D274@gmail.com \
--to=pavone.lawyer@gmail.com \
--cc=jh80.chung@samsung.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mmc@vger.kernel.org \
--cc=linux-rockchip@lists.infradead.org \
--cc=m.szyprowski@samsung.com \
--cc=sebastian.reichel@collabora.com \
--cc=shawn.lin@linux.dev \
--cc=shawn.lin@rock-chips.com \
--cc=ulfh@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
all inboxes | Powered by JetHome®