* Re: [PATCH 1/4] mmc: dw_mmc: add central watchdog and convert CTO onto it [not found] ` <5b7318ff-b41e-45f6-8127-d42eab0dcb67@linux.dev> @ 2026-11-29 9:41 ` Francesco Saverio Pavone 2026-11-30 0:43 ` Shawn Lin 0 siblings, 1 reply; 2+ messages in thread From: Francesco Saverio Pavone @ 2026-11-29 9:41 UTC (permalink / raw) To: Shawn Lin, Sebastian Reichel Cc: Shawn Lin, Ulf Hansson, Jaehoon Chung, Marek Szyprowski, linux-mmc, linux-rockchip, linux-kernel 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 _______________________________________________ Linux-rockchip mailing list Linux-rockchip@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-rockchip ^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH 1/4] mmc: dw_mmc: add central watchdog and convert CTO onto it 2026-11-29 9:41 ` [PATCH 1/4] mmc: dw_mmc: add central watchdog and convert CTO onto it Francesco Saverio Pavone @ 2026-11-30 0:43 ` Shawn Lin 0 siblings, 0 replies; 2+ messages in thread From: Shawn Lin @ 2026-11-30 0:43 UTC (permalink / raw) To: Francesco Saverio Pavone Cc: shawn.lin, Shawn Lin, Ulf Hansson, Jaehoon Chung, Marek Szyprowski, linux-mmc, linux-rockchip, linux-kernel, Sebastian Reichel Hi Francesco, 在 2026/11/29 星期日 17:41, Francesco Saverio Pavone 写道: > 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. > The CRC error case may come from the abort command which didn't disarm the watchdog. Could you help test the patch below: https://lore.kernel.org/linux-mmc/20261123191703.179283-12-lee@kernel.org/ > 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 _______________________________________________ Linux-rockchip mailing list Linux-rockchip@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-rockchip ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-11-30 0:43 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <1787817486-137277-1-git-send-email-shawn.lin@rock-chips.com>
[not found] ` <1787817486-137277-2-git-send-email-shawn.lin@rock-chips.com>
[not found] ` <awRdY6Xw5scc5V7-@venus>
[not found] ` <5b7318ff-b41e-45f6-8127-d42eab0dcb67@linux.dev>
2026-11-29 9:41 ` [PATCH 1/4] mmc: dw_mmc: add central watchdog and convert CTO onto it Francesco Saverio Pavone
2026-11-30 0:43 ` Shawn Lin
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox