From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 216D9606A32C for ; Fri, 4 Dec 2026 16:06:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=oXEYfQSa; dkim=fail reason="signature verification failed" (2048-bit key) header.d=infradead.org header.i=@infradead.org header.a=rsa-sha256 header.s=desiato.20200630 header.b=mbjbkcqe; dkim=fail reason="signature verification failed" (1024-bit key) header.d=collabora.com header.i=@collabora.com header.a=rsa-sha256 header.s=zohomail header.b=jSJl6JKo DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: In-Reply-To:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date: Reply-To:Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date :Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Unsubscribe-Post:List-Owner; bh=5dX5ecLNGHd8vIMoSOH8ba41tnQZ2Ine1ipLniHWJJ4=; b=oXEYfQSa8btcywHUCZUugoF58y BIdHrP+7gwXYy7cmGQMi1M4JDZtqaKxwg6MjerQF8DHWCFctbG3ZoUZ7R1whKq8kP7l1xVKVLnFo7 lc3b27rYObiqIzlK7HkiZ0YrE023jI7v2G+N8WBuG1VKXi8b6wePyM0pwNDWhrijnG3p9y75FJs3p pYKlBRu33CchguUHEfYqNLaI9s5BeMXwHniiZWmNHtlrjZfgXTkJpfurYnDi8lKq3O0EZ+Vv7w/DO OzrELoSxPLTO6Tm5lMzqsy3qhMvd2XCtBkr8QO9hbmz4TqVl4TgI8UCL0xab8fJpb8yBik64Y9Bi5 MvjtsEog==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.100.1 #2 (Red Hat Linux)) id 1xZVo3-00000000sUX-01qj; Fri, 04 Dec 2026 16:06:43 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.100.1 #2 (Red Hat Linux)) id 1xZVng-00000000sSo-36fB for linux-rockchip@bombadil.infradead.org; Fri, 04 Dec 2026 16:06:21 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=s+1l6cQdTRHWG3/YI54MFKvsl1rLXzyWm8YxLPqwGO0=; b=mbjbkcqeVpi3AjUC6sTN6PYQQQ YRM8c/1hSBF7spQ1VCYEn37eLOlmmBWLm7GtB7/plSHGnuKP3x/T0Mn/EkDQHU+CsQr2ikBOVtNmM GgzSLk3HBE/z1MIfcYcZzmeQRnSJC25QQvsHg0ElboVq7gNnOIVm98x6fqhTth+zGoQpj5rB/b1qR Z+1XGIQKk8nunMPYQmzDcLlzuCY7xOVd5j+lYS2rtfFkOSeEfssXz0WH559jwYdHEI4m2d2ez5IaP GnRp4UTY+Ls7smJKND46DFKbFg6ebLvnZmNDaZKY2GOzGjy5+lJziS+oS3fkuZcUyH90aGarF8mr2 c3g3zcGg==; Received: from sender5-op-o11.zoho.com ([165.173.182.11]) by desiato.infradead.org with esmtps (Exim 4.100.1 #2 (Red Hat Linux)) id 1xZVnd-0000000EYyc-0nyI for linux-rockchip@lists.infradead.org; Fri, 04 Dec 2026 16:06:19 +0000 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-Archived-By: MIME-Version: 1.0 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.9.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20261204_160617_469307_A378E84B X-CRM114-Status: GOOD ( 20.01 ) X-Spam-Score: -0.2 (/) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============8613905130461326356==" Sender: "Linux-rockchip" X-Spam-Status: No, score=-14.3 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 --===============8613905130461326356== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="y7vxhgh4vc4m3gmc" Content-Disposition: inline --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-- --===============8613905130461326356== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Linux-rockchip mailing list Linux-rockchip@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-rockchip --===============8613905130461326356==--