Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp13477162ybl; Sun, 29 Dec 2019 12:50:58 -0800 (PST) X-Google-Smtp-Source: APXvYqy8YNtBRd1JNlyaVavizwg0/8tJB8ChcbP8SkKMUcY2+qfhfvxoMJzDv63KRncexItfV9Zt X-Received: by 2002:a9d:60c4:: with SMTP id b4mr47304381otk.166.1577652658661; Sun, 29 Dec 2019 12:50:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1577652658; cv=none; d=google.com; s=arc-20160816; b=EhgByWzBnvg9moIHe43KtqI1c2HjI87wAUsE9605HmjBzDnx1avJUTfFIlMUZlB+nc tEo5S9ZmmbAOAKr0hip5N99JkAbtw1Qm76/iKs3L/TtwHzMEiEydVtwQDDSawWku3Wi5 f/tmoCyU8KZYmYZN30cht5veqFfpwic6trOkAn0NU1MtRqgytEZVEoLhbWbqM/NQu3bV nNVUV3Snf+KU1GdS73cdreU4/rPoGtyhXTKTqMeZC4pI5DXYtE/sl2W59BWlZa4zBTMd bebtJdx8mjNAZSC2OSH2lGpU+T5WwvepsmFvfy7PZgHzEo0f3lY/rxsbEU45tjXRWdJH s2HQ== 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=rpiw4eRWP+jY6AIcGLkDa3ASND70IdTVtyestrYzreA=; b=fIhEm1JryBQSQoZvejfp7Y8ohWUxfzV8KjULhCLS+mnVvMhtih5cNkcFFlfpLmqWUT rD0Ng79sSBpqDO/7SzpNSJ74RAih0GCVqjdiR94Bj4bEekKxJY5WNpyO/KBdkKou4Dt5 e8HeR1bcogj1yvg/vkycYGEZjhqTVZ+8/3BJGgV92D33Kf9wa0dqJiqg34qFwomztJrI 1ghi5cQGzrKxkf8b2ev/qQxtVJUMzfn5lRKKIdFyRgG19i9+LoEhS9RGZf+GnKGZ7GSp ohyfIJzRg6XAJ+8WlQydtS1EoExwfYQUANObY7RJrNSzE7hbS1uQ1E6fSZQE5IpiHLzE 4Rsg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=lQVAn8i7; 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 q16si21714307otk.226.2019.12.29.12.50.47; Sun, 29 Dec 2019 12:50:58 -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=lQVAn8i7; 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 S2387493AbfL2R7n (ORCPT + 99 others); Sun, 29 Dec 2019 12:59:43 -0500 Received: from mail.kernel.org ([198.145.29.99]:49524 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387528AbfL2R61 (ORCPT ); Sun, 29 Dec 2019 12:58:27 -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 630E1208C4; Sun, 29 Dec 2019 17:58:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1577642306; bh=irBTXJO5M41OcAwgoz9Wl6r8hqKKns6HU2jay+CD41M=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=lQVAn8i7/q4Om/Txl2EtrgiUFOPBHEh0pFoCpzqRgL96xU2VfuyDoOoA77Kc8ZYUd 6rgTfEVvLwE50842kuDoxaTHynCd+Crm6Sv1ajKhr3OkjNWgkcgHo7xp1DavwhEfER ueK4pM5eaPm4oN705AIUdZRJvrizkWRtozCEXwVg= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Faiz Abbas , Ulf Hansson Subject: [PATCH 5.4 429/434] mmc: sdhci: Update the tuning failed messages to pr_debug level Date: Sun, 29 Dec 2019 18:28:02 +0100 Message-Id: <20191229172731.819065335@linuxfoundation.org> X-Mailer: git-send-email 2.24.1 In-Reply-To: <20191229172702.393141737@linuxfoundation.org> References: <20191229172702.393141737@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 @@ -2406,8 +2406,8 @@ static int __sdhci_execute_tuning(struct 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 -ETIMEDOUT; }