Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp13470091ybl; Sun, 29 Dec 2019 12:39:43 -0800 (PST) X-Google-Smtp-Source: APXvYqxjG1+5/FMVeIqhtBnnnVFHHSLyH7NVeyjY5Q2eFwldsIhc/cXl5bqdgBR+b/zktijKUih6 X-Received: by 2002:a9d:51c1:: with SMTP id d1mr66672978oth.136.1577651982992; Sun, 29 Dec 2019 12:39:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1577651982; cv=none; d=google.com; s=arc-20160816; b=ZQ0QgNerjuf2a325zUJnx8saBiJ6fH1tILJxAvFqvDPSk5tDco3Nh8U/eBJAJGytiG Z30Jd2RBZmzgV3xsNuJbX3a1hBUmvs6ReGjgbfGawf/5OMzt1IQAuMypXXWBS1en5feM cihigyK6KpzifQUtW6wSMOxoAsSiA405UQ/yyFEbBNQct5mQNF6cu67Pk0XPTcd1Kwck UcUn/g0pq8zjvWBF7s2m8qDIFWPFB9FX7djyzreSoMgz6mMCIX7j3aZ0bPACNzyunAfe 4CmpmbW01GhOpB7VNoY4vwVBijv0AB2ws45dmJ0elpZ3f3mwRMQfVljiMrKcuUE+ZYk3 0/bA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=3/qrKERYquz1bbSgDYhBUj66doxg0hl3L9efZtZjMwU=; b=cFnUpuMQiv+B8N2hOZXXB2QXBWZlhQEPHNA40osIvkOQT4lGI3EGhfEKCNHtZzupZM DTHmRu0ywTmD7hYxa9Ld2HHjpnPZLGNd0UXYw3h4tDY+UZWuN4hbbWPJVyS47S88q1+F xgS6PAnr9uIOD6CHaFT0hTdcUwWQoOIN4hduU9vmnQyTkouNhLw+zlMhspSh6BT0IB+f jkl5LkaDPxgyvhRbxNKtsqUCAb0/sOiRwLxk4l8tva8C9GyPBc6Hw9qJJCTON5TzTlvG xWYjhQKubAzZXH0aMd+fR3zG0/7M9w+FASnsXoMtArve6oUpvfHnBVwcISlfsD/m5Y4m 87qg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=eUm1ur50; 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 t12si21477795otm.224.2019.12.29.12.39.32; Sun, 29 Dec 2019 12:39:42 -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; dkim=pass header.i=@kernel.org header.s=default header.b=eUm1ur50; 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 S1730062AbfL2Rgb (ORCPT + 99 others); Sun, 29 Dec 2019 12:36:31 -0500 Received: from mail.kernel.org ([198.145.29.99]:41876 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730061AbfL2Rga (ORCPT ); Sun, 29 Dec 2019 12:36:30 -0500 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 11B2F206CB; Sun, 29 Dec 2019 17:36:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1577640989; bh=5AAbYM+80HhSrBfIKrfAm+ZEXDDI0PeALOSL5wzhDnI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=eUm1ur50vtC848xiwtOZd9NXYCVopdfkRq9hK7SAn9cXoFsEmMM5qEHTc4JU8RFpS lx95GnZCPYKEyubLl/o0fBCimsePRierdsYlOixekyNr1V65ykYYrRhXwr6YnslRz2 Y3zvKaqxVLqj4RmybhT6W7sEIzrtQmNokfZAqNYU= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Faiz Abbas , Ulf Hansson Subject: [PATCH 4.19 215/219] mmc: sdhci: Update the tuning failed messages to pr_debug level Date: Sun, 29 Dec 2019 18:20:17 +0100 Message-Id: <20191229162542.999358059@linuxfoundation.org> X-Mailer: git-send-email 2.24.1 In-Reply-To: <20191229162508.458551679@linuxfoundation.org> References: <20191229162508.458551679@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Faiz Abbas commit 2c92dd20304f505b6ef43d206fff21bda8f1f0ae upstream. 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. 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. Signed-off-by: Faiz Abbas Cc: stable@vger.kernel.org # v4.4+ Link: https://lore.kernel.org/r/20191206114326.15856-1-faiz_abbas@ti.com Signed-off-by: Ulf Hansson Signed-off-by: Greg Kroah-Hartman --- drivers/mmc/host/sdhci.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- a/drivers/mmc/host/sdhci.c +++ b/drivers/mmc/host/sdhci.c @@ -2244,8 +2244,8 @@ static void __sdhci_execute_tuning(struc sdhci_send_tuning(host, opcode); 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)); sdhci_abort_tuning(host, opcode); return; }