From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=165.173.182.11 ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass; t=1796400390; b=ZtIdic/gYsMt6z7OjRyo3uuXE4+P1Azl1heGTYmsAST6L049EvXe4v3zn8QY6QzIpgXN gLwi9EHw3ZjV0Ih0rgW9zC00aDL3VVictCYe3g/nsZwe/SJEGfjTS1EufrXQvnI4D0Rdg x4oJ03R1FesBHMLIDdnC8nCzwJIpxO+jNFtH0Fp7VAvu4H/2ZJmbHbT0SQPb4PnLRn9ey cKJISaBi0iyuMT9Sk8A7mwMptpHoPbJyQ+BRGrbFIZiWlehvjl218zcr768klewOfeUti 0D9O41HVPEJ5NyO8SmrWqPq8EsTE2yANHRzKNOyev921Io+TGyzn+VOQ+nwfaTCQ8oA== ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796400390; h=DMARC-Filter:DKIM-Signature:Received:Received:Date:From:To:Cc: Subject:Message-ID:References:MIME-Version:Content-Type: Content-Disposition:In-Reply-To:X-Zoho-Virus-Status:X-Zoho-AV-Stamp: X-ZohoMailClient; bh=s+1l6cQdTRHWG3/YI54MFKvsl1rLXzyWm8YxLPqwGO0=; b=JnQEKtaEd4dFGCsjGXgpzZSNKyS1ABXhULgVZiYx5mX2y8WmoCIw7PZPaFlHOWqmAbxR jxv1j2gwjWIk4hsXTAP/jwlxtkU1rlm1mXVglJjX3DVTOoz14Q3r2bQKyJ62nFmfJCzkt Z3tfAMNG3jiGAKB733PAnycc8YwcJe09c1kQGpbU43jCxMWcPd2Is2qSmgITUMhQ4O0D7 y4gN3viqRh+0+2wuPB8mS5AWtyRrmdGIPVJ5o0GdluwJZR384E4j2W/0J3IUImZMOBABP H5ZIRmcqD4JiNc8Ha3BQ/bO4dG1oXUDj1pDJi3R4E3sjSqzSu8DwMzGLhGZFGM8Rg+g== ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass header.from=collabora.com; spf=pass smtp.mailfrom=collabora.com; dkim=pass header.d=collabora.com header.i=@collabora.com header.a=rsa-sha256 header.s=zohomail header.b=jSJl6JKo; arc=pass header.oldest-pass=0 smtp.remote-ip=165.173.182.11 Received: from sender5-op-o11.zoho.com (sender5-op-o11.zoho.com [165.173.182.11]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 00E9A606A322 for ; Fri, 4 Dec 2026 16:06:29 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 00E9A606A322 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=collabora.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=collabora.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key, unprotected) header.d=collabora.com header.i=@collabora.com header.a=rsa-sha256 header.s=zohomail header.b=jSJl6JKo ARC-Seal: i=1; a=rsa-sha256; t=1796400370; cv=none; d=zohomail.com; s=zohoarc; b=JCfUMFeFqNnjo68kbby1y8eyajf7ta1VLBcOhYEeOk087BZ93Ba1V7ZqrTh3xC5G7EN8v16e4kTKRXfAmfP6nD3Y1FZ9SsATCgx6AZbeKjPU2oSOqV3T2KndF0PNsy+q6BdWUtU1v/CWSGd4rx+M9jDDFxjSfxLqNLmJVyZ1aOc= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1796400370; h=Content-Type:Cc:Cc:Date:Date:From:From:In-Reply-To:MIME-Version:Message-ID:Subject:Subject:To:To:Message-Id:Reply-To; bh=s+1l6cQdTRHWG3/YI54MFKvsl1rLXzyWm8YxLPqwGO0=; b=kxx9Sul0R23FN8LakGFG4tgFTnMTYJckeLtr5VSse7Ktdzl6UZ4mdQQrU4d50E9FRoBrMsSL6Ora1Mhi1XauRUG5wvCsA2xg5e9J98yx0bpi2UG73d86u2YRpR+wP6WoEqtj5rCv7WsQYqjdjBwoqLg3bfACoRYQVWfEx6stBqA= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=collabora.com; spf=pass smtp.mailfrom=sebastian.reichel@collabora.com; dmarc=pass header.from= DKIM-Signature: a=rsa-sha256; b=jSJl6JKowzIqZFdb0xdEXdkITr5N/7C0SuFYndA8Y59GJ2mc8dHNMfca+CkCaleYoml12UlFgAP5uoL2hgx7FVolJwp2tozZgr1MmfJs5sAUwl1zTz8nfcWPAWbzfD9KVsSf0i8sr6ey6iwuYkiDzwFvIT+J0+8mhg/E+R02WlE=; c=relaxed/relaxed; s=zohomail; d=collabora.com; v=1; bh=s+1l6cQdTRHWG3/YI54MFKvsl1rLXzyWm8YxLPqwGO0=; h=Content-Description:Content-ID:Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Owner:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Resent-Sender:Resent-Cc:Resent-Date:Resent-To:Reply-To:Resent-Message-ID:Resent-From:Sender:Subject:To:Date:From:Message-Id:Reply-To:Subject:To:Cc; Received: by smtp.zohomail.com with SMTPS id 1796400365772271.9254898118296; Fri, 4 Dec 2026 08:06:05 -0800 (PST) Received: by venus (Postfix, from userid 1000) id 3672018205D; Fri, 04 Dec 2026 17:06:02 +0100 (CET) Date: Fri, 4 Dec 2026 17:06:02 +0100 From: Sebastian Reichel To: Francesco Saverio Pavone Cc: Ulf Hansson , Jaehoon Chung , Shawn Lin , linux-mmc@vger.kernel.org, linux-rockchip@lists.infradead.org Subject: Re: [PATCH] mmc: dw_mmc: Demote the data timeout message to dev_dbg Message-ID: References: <20261204062230.10387-1-pavone.lawyer@gmail.com> X-Mailing-List: linux-mmc@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="y7vxhgh4vc4m3gmc" Content-Disposition: inline In-Reply-To: <20261204062230.10387-1-pavone.lawyer@gmail.com> X-Zoho-Virus-Status: 1 X-Zoho-AV-Stamp: zmail-av-0.2.28.1.5.5/296.394.11 X-ZohoMailClient: External --y7vxhgh4vc4m3gmc Content-Type: text/plain; protected-headers=v1; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Subject: Re: [PATCH] mmc: dw_mmc: Demote the data timeout message to dev_dbg MIME-Version: 1.0 Hi, On Fri, Dec 04, 2026 at 07:22:28AM +0100, Francesco Saverio Pavone wrote: > Since commit ec0db371236e ("mmc: dw_mmc: convert DTO onto the central > watchdog") the driver prints a warning when the data timeout watchdog > fires: >=20 > dwmmc_rockchip fe2c0000.mmc: Data timeout, state 3 >=20 > On a ROCK 5B+ (RK3588) this shows up once per boot, while the SD card > is being tuned. A tuning command whose data never arrives ends in this > timeout, the request fails with -ETIMEDOUT and the tuning goes on to > the next phase. In 17 boots of v7.4-rc5 the warning was there once in > each, right before "Successfully tuned phase". >=20 > State 3 is STATE_DATA_BUSY. The old dw_mci_dto_timer() handled a > timeout in that state without printing anything, and the data errors > reported by the controller itself are already dev_dbg(). Use dev_dbg() > here too. >=20 > Fixes: ec0db371236e ("mmc: dw_mmc: convert DTO onto the central watchdog") > Suggested-by: Shawn Lin > Link: https://lore.kernel.org/all/613ac7d8-4bce-4764-9234-7686351200fb@ro= ck-chips.com/ > Signed-off-by: Francesco Saverio Pavone > --- Reviewed-by: Sebastian Reichel Greetings, -- Sebastian > drivers/mmc/host/dw_mmc.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) >=20 > diff --git a/drivers/mmc/host/dw_mmc.c b/drivers/mmc/host/dw_mmc.c > index ff0b25d287a94..897936252ea08 100644 > --- a/drivers/mmc/host/dw_mmc.c > +++ b/drivers/mmc/host/dw_mmc.c > @@ -150,8 +150,7 @@ static enum hrtimer_restart dw_mci_watchdog_fn(struct= hrtimer *t) > } > =20 > if (host->wd_events =3D=3D DW_MCI_WD_DATA_EVENTS) { > - dev_warn(host->dev, > - "Data timeout, state %d\n", host->state); > + dev_dbg(host->dev, "Data timeout, state %d\n", host->state); > host->data_status =3D SDMMC_INT_DRTO; > set_bit(EVENT_DATA_ERROR, &host->pending_events); > set_bit(EVENT_DATA_COMPLETE, &host->pending_events); >=20 > base-commit: fe6ff8d5d675c01793b9f051d16055dd4aa75244 > --=20 > 2.54.0 >=20 --y7vxhgh4vc4m3gmc Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEE72YNB0Y/i3JqeVQT2O7X88g7+poFAmsS5OYACgkQ2O7X88g7 +ppNNRAAgtaaV0tat2Yvy+nZKMecbLqFG/aJw5x9GXNjykAxN5kXWrP2Gar2iDso C8QVFoO6BohAv5SOwZoxRSoO48fYmXpTDPRE/hxZnqTOiA3gZrgcNnEvdaEqk9i7 L2MnG6BID92nopgtvN2b1uzVgR6w+uhmINM1R0l11Jaef2o4rDeybMPBvZ+jUQ+s 7TYSS5mWC+jHWU711k4uR7y8KTYJjcRgVMMuxGqkY82J+s9rxQ3FBE6CuRDHmD08 k0Kkbt4wwt459MNvcyWjgtyHQM07LIxNaMMziV6VDg8GC2Y2DiD/xoXRa1MXHUtA I+6h0hpKYqQVgxDcBs8iCxtwBSIB8tGdcpHEARZbo31/FQQbSuY4l3jPSVXziek1 PP8eL/lqLbNqxSIdSWq0XMNUlB+gmbO3IzIpkQFVrfBoU2eQZc3q+0wDhXLYcRbc OHnKEPmrP3mc6rUIN+NHeKg3qdIORq/BfvjjffkCMzD9dDtaMK2SwXlLfzQnVgNt Tl4zIP1G5Pwuubt2XoELWRnkLdQT4WTVCGhpt/G2ETKOCK3aOnzI5tyaiKDyJc9z SKLUPc4TH8FgnVTTjXXWEbqFRbD6E0URgmgwglnmXRIWakpi7a96aU5avl/7BKuZ 2h/u3bvvYkXb8N7nFAo5Z5zPZOvdtctCwLxfAWBTR4MNykUUiTk= =rxhZ -----END PGP SIGNATURE----- --y7vxhgh4vc4m3gmc--