From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B82CEC2D0D1 for ; Sun, 29 Dec 2019 18:13:59 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 8A2AE207E0 for ; Sun, 29 Dec 2019 18:13:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1577643239; bh=OORXKoTj2jb5eERyHJvdewqHrX+uXcuvpVT8e1gscLg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=A79WPqS/sBNaME19wbJHBBBK3W+Xgamh6y83Wa8199VcFJOMxPXKCw0s8Hp9pg3za VYgWbMh5jhjxT8qteGbRtOx1G5dmtc8GiUeACwYuzlJI3IpI3o9advo7tGZ1a+WUD7 v4tvwQ31vqc+3uN75HFx7Zt9zhYO9Oh5l1Mea0bI= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728435AbfL2R1d (ORCPT ); Sun, 29 Dec 2019 12:27:33 -0500 Received: from mail.kernel.org ([198.145.29.99]:49586 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728407AbfL2R1X (ORCPT ); Sun, 29 Dec 2019 12:27:23 -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 97AF320409; Sun, 29 Dec 2019 17:27:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1577640443; bh=OORXKoTj2jb5eERyHJvdewqHrX+uXcuvpVT8e1gscLg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=You3DEEhvXRf58/J0W5JmFfV6ZxNKYfIwM6+8+H2IQwft883fpZytUE8YZtwYdQmx Fp1f7V77sr+ZlARk+0+YzsuiEWab5jKWdT8nYyHpQFJLXfPkpuzriaGj1EJos8Fz0Y bXq7zUqMeYFqGn8dP47Nx/sENLS3B5w3aBOUfHs8= 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.14 159/161] mmc: sdhci: Update the tuning failed messages to pr_debug level Date: Sun, 29 Dec 2019 18:20:07 +0100 Message-Id: <20191229162449.951014721@linuxfoundation.org> X-Mailer: git-send-email 2.24.1 In-Reply-To: <20191229162355.500086350@linuxfoundation.org> References: <20191229162355.500086350@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 @@ -2162,8 +2162,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; }