Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp15180621ybl; Tue, 31 Dec 2019 03:03:50 -0800 (PST) X-Google-Smtp-Source: APXvYqzA9CcVw3bWgAyNue2COlIyX0Zocj9rXqP6sC2q68a//nWCIS8VCNyYCZAWZu7r3JCNoiwU X-Received: by 2002:a9d:6d81:: with SMTP id x1mr83567877otp.9.1577790230617; Tue, 31 Dec 2019 03:03:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1577790230; cv=none; d=google.com; s=arc-20160816; b=GtIb/yietbCszK+kzgjwC64t4Ji1Amo9fSrZ3uJILsoPxn7caudVupE08pUbk6eGuS Yb4eRcrcCfNRMeZwGUXy4ZUhTvYZKulbPoXudkBltNCogmpr6/8kpmFeQQe84bjGCuvU 8m4RQTy7UT8ZY1xGdg+7OYnsjwHTeT8LV+nc7rDnEyrgK4wuqAp1ZTk73XKTB+9Mezgz 5Z+tdnKeW3bVb7h0LGYTYad6z1CYZOtvYzNbxJRxPWdsqfHMR175LfRxzC4HPjbXAgOK zOiVudZaJmDr0+kN0AlKfDuiCHhmh8/frpfsICkcpoqABXBXH6wXecnW/5HCQpYK39mG NPvQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=1WX55S8ZY0ffnji/HKjowl/FMZMjj0MskMb/Sl/mjdk=; b=Fm40EtO55NTjMQ6xrCIaiFsJc4f9W+/vHqbZvddP9GSle5IejZBqGkxe/7s9bFgFs8 CQu4iOBP1duPzIbTzoX+zhqy5MrWjT0CbXqV8rbJkEEenqXiAP0ts+T5BkZbUckDSutg ncUDSkwye3p/IAmr/dB45gnqvnGT0FD0RSDWFPRmcpx2Ub8mTRLvZ4EQdQlZAjHgaxnb kf/89PdP1EEConMrGRAnOJujAn8B5KVldrCf9u5n38pnU/c9KYQQQCX2JkVS6ZxKKUBj 0sQH5qQ64vOE/JBd0GYB/cM4/9CvklV+f/7cpam8uO/zuFzxQxFJQoirz0zjAEZv8+Wg AIbQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c22si31100273oth.167.2019.12.31.03.03.35; Tue, 31 Dec 2019 03:03:50 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727056AbfLaLCh (ORCPT + 99 others); Tue, 31 Dec 2019 06:02:37 -0500 Received: from jabberwock.ucw.cz ([46.255.230.98]:45666 "EHLO jabberwock.ucw.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726658AbfLaLCh (ORCPT ); Tue, 31 Dec 2019 06:02:37 -0500 Received: by jabberwock.ucw.cz (Postfix, from userid 1017) id 554DE1C2605; Tue, 31 Dec 2019 12:02:35 +0100 (CET) Date: Tue, 31 Dec 2019 12:02:34 +0100 From: Pavel Machek To: Greg Kroah-Hartman Cc: linux-kernel@vger.kernel.org, stable@vger.kernel.org, Faiz Abbas , Ulf Hansson Subject: Re: [PATCH 4.19 215/219] mmc: sdhci: Update the tuning failed messages to pr_debug level Message-ID: <20191231110234.GA14641@amd> References: <20191229162508.458551679@linuxfoundation.org> <20191229162542.999358059@linuxfoundation.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="vkogqOf2sHV7VnPd" Content-Disposition: inline In-Reply-To: <20191229162542.999358059@linuxfoundation.org> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --vkogqOf2sHV7VnPd Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun 2019-12-29 18:20:17, Greg Kroah-Hartman wrote: > From: Faiz Abbas >=20 > commit 2c92dd20304f505b6ef43d206fff21bda8f1f0ae upstream. >=20 > Tuning support in DDR50 speed mode was added in SD Specifications Part1 > Physical Layer Specification v3.01. Its not possible to distinguish > between v3.00 and v3.01 from the SCR and that is why since > commit 4324f6de6d2e ("mmc: core: enable CMD19 tuning for DDR50 mode") > tuning failures are ignored in DDR50 speed mode. >=20 > Cards compatible with v3.00 don't respond to CMD19 in DDR50 and this > error gets printed during enumeration and also if retune is triggered at > any time during operation. Update the printk level to pr_debug so that > these errors don't lead to false error reports. Well, downgrading level might be ok, but people will still see the message in dmesg. > +++ b/drivers/mmc/host/sdhci.c > @@ -2244,8 +2244,8 @@ static void __sdhci_execute_tuning(struc > sdhci_send_tuning(host, opcode); > =20 > if (!host->tuning_done) { > - pr_info("%s: Tuning timeout, falling back to fixed sampling clock\n", > - mmc_hostname(host->mmc)); > + pr_debug("%s: Tuning timeout, falling back to fixed sampling clock\n", > + mmc_hostname(host->mmc)); Maybe adding something like "(this is expected on SD cards implementing phy specification v3.00)" to the user-visible text would be even better?=20 Best regards, Pavel --=20 (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blo= g.html --vkogqOf2sHV7VnPd Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAl4LKsoACgkQMOfwapXb+vKHgACbBlWS6E/Nn/z1rfJwBpatiK/S SQIAoImGETp/MGWkJGSVdtofXsJmuf4p =h7c1 -----END PGP SIGNATURE----- --vkogqOf2sHV7VnPd--