Linux MultiMedia Card development
 help / color / mirror / Atom feed
From: Shawn Lin <shawn.lin@linux.dev>
To: Sebastian Reichel <sebastian.reichel@collabora.com>,
	Shawn Lin <shawn.lin@rock-chips.com>
Cc: shawn.lin@linux.dev, Ulf Hansson <ulfh@kernel.org>,
	Jaehoon Chung <jh80.chung@samsung.com>,
	Marek Szyprowski <m.szyprowski@samsung.com>,
	linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 1/4] mmc: dw_mmc: add central watchdog and convert CTO onto it
Date: Tue, 24 Nov 2026 08:46:54 +0800	[thread overview]
Message-ID: <5b7318ff-b41e-45f6-8127-d42eab0dcb67@linux.dev> (raw)
In-Reply-To: <awRdY6Xw5scc5V7-@venus>

Hi Sebastian

在 2026/11/23 星期一 23:57, Sebastian Reichel 写道:
> Hello Shawn,
> 
> On Thu, Aug 27, 2026 at 03:58:03PM +0800, Shawn Lin wrote:
>> +	if (host->wd_events == DW_MCI_WD_DATA_EVENTS) {
>> +		dev_warn(host->dev,
>> +			 "Data timeout, state %d\n", host->state);
> 
> This new warning is now printed during boot on RK3588 and RK3576
> (the other message from here are printed at info level):
> 
> Sige 5 (RK3576):
> [   17.801623] mmc_host mmc2: Bus speed = 198000000Hz (req 200000000Hz, actual 198000000HZ div = 0)
> [   17.820103] dwmmc_rockchip 2a320000.mmc: Data timeout, state 3
> [   17.853679] dwmmc_rockchip 2a320000.mmc: Data timeout, state 3
> [   17.854003] dwmmc_rockchip 2a320000.mmc: Successfully tuned phase to 228
> 
> Rock 5B (RK3588):
> [    3.956249] mmc_host mmc1: Bus speed = 198000000Hz (req 200000000Hz, actual 198000000HZ div = 0)
> [    4.049033] dwmmc_rockchip fe2c0000.mmc: Data timeout, state 3
> [    4.086338] dwmmc_rockchip fe2c0000.mmc: Data timeout, state 3
> [    4.093284] dwmmc_rockchip fe2c0000.mmc: Successfully tuned phase to 102
> 

This's a normal case on Rockchip platform that no interrupt happens
during tuning. Because the driver is seeking valid sample phases,
however, some phases could make the controller hung. So watchdog fires
here. Keeping it as dev_warn() only adds noise to every boot.
Alternatively we could downgrade the message to dev_dbg().

> Greetings,
> 
> -- Sebastian


  reply	other threads:[~2026-11-24  0:47 UTC|newest]

Thread overview: 8+ 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 [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=5b7318ff-b41e-45f6-8127-d42eab0dcb67@linux.dev \
    --to=shawn.lin@linux.dev \
    --cc=jh80.chung@samsung.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mmc@vger.kernel.org \
    --cc=m.szyprowski@samsung.com \
    --cc=sebastian.reichel@collabora.com \
    --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