Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp326804pxp; Wed, 9 Mar 2022 03:54:14 -0800 (PST) X-Google-Smtp-Source: ABdhPJyc7dVpsifsp0iyQSUF8CLD+avdrn/bCbwgMIflH1rH2Y9YQa630fL6/ePjZW6EVQFQZkzk X-Received: by 2002:a63:4b62:0:b0:37d:ef91:d613 with SMTP id k34-20020a634b62000000b0037def91d613mr18076476pgl.465.1646826854337; Wed, 09 Mar 2022 03:54:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646826854; cv=none; d=google.com; s=arc-20160816; b=PQ/w4LhrwVQ8VTiiDgTFTu3KMnFhThvjz5sWeh+6glr1yf5UFsC4q9JDg1Mfr4n3dQ noka2Nz6AytIdBpQNfOuzVcHu8JUQVR50fBrySFnvK7cR5gTw6g1RbzUJzDH1yn9hEaP hPKBMqQMu6WcNin3dMPiJm4kgjvqByuhGJHaCp8NeJ23jQZHMvEb/+Xh90piYi8UmHGE AEaSbHDbH8XkaLkEAlYDMKuLeV1f8rPQVrYWU0g3ccuGqK3cUxDMqj1H4nUQguCGqr5d BWT7yU66s60X9ZatK8er1l3l270AQxXAzC84CyU8mKZzsSfx0Xub9xgu5YglSss7UCf+ a7jg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=45JCMrHmd55wCWuEZqM91udG4fnagKOI0RBCfA531Jg=; b=n4KjPueBHFf+KAL93bAz6bhHIe1aPIPGSJZQadSdT/UXsNt0l7vJQMsGwQV3mvbAjl IxIDVa2I4SuI+flw16u63fT04q2aGoqYDb1SOD+FT9N4mFxsAzp5H9vtucKKNtL2Hjzl 9EwpNrmzgoOoqrJk7GuHbBieyWX4qkxGBhmXbsXGpbDQ6GnjL0kRZMu6rl/bNdAD3IAC 4ECCuc12MY5rdn+na2JLXFIq0N8GT0WQ+0+by+MShy/PY9+w5RNlu7PHn1Lelth++dTQ jLr6ta+/T9SI2Ly19wBNOZBFeZj8Seh+gkl+w0dHuEaOt4WzAD/OZHWUXVXiiw1IDQtc NaoQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=XoouHc4x; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b13-20020a170902e94d00b001500c602582si1690069pll.621.2022.03.09.03.53.57; Wed, 09 Mar 2022 03:54:14 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=XoouHc4x; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232278AbiCIJv4 (ORCPT + 99 others); Wed, 9 Mar 2022 04:51:56 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58190 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232277AbiCIJvy (ORCPT ); Wed, 9 Mar 2022 04:51:54 -0500 Received: from bhuna.collabora.co.uk (bhuna.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e3e3]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5936A16EA91; Wed, 9 Mar 2022 01:50:55 -0800 (PST) Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: kholk11) with ESMTPSA id F045F1F44798 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1646819453; bh=Wxi2sPEPW5Mnk1KFkrXeTYYuHUNi8Vd22+lhClnt9yg=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=XoouHc4xb1hLBRzEuSR0otwFxeo0/dtS24PFfocvqliUbmifiwlWmilMW1F5xbZtL Ke+zsplmmO7P62nx1fHPa7z5Relc93XNgn62Sq1fifTuPrjAoR2wP/nSeAobGf44Oq nUrL8OkMaBu92poQZWpL8f6rtrvCjn3n/bHJLOQMaWf7/jRttizKxTN4Ev3Jg8Ce5X knRCIpHV5uNaG+KUEwFYVNPNwaps29PFFUGfQxXMAkxQ3pG3p4USUh7zoJb1GzNyJf qpQwD31fb8+SidbyH+Lcp++Np0F3t889m+tmm+ZlefCtH5xKBXAJ7zt/in1QzaueOV FuSPkIixwVLbg== Message-ID: Date: Wed, 9 Mar 2022 10:50:50 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.1 Subject: Re: [PATCH] mmc: mtk-msdc: change a log level Content-Language: en-US To: Alexandre Bailon , chaotian.jing@mediatek.com, ulf.hansson@linaro.org, matthias.bgg@gmail.com Cc: linux-mmc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org References: <20220308094924.2868042-1-abailon@baylibre.com> From: AngeloGioacchino Del Regno In-Reply-To: <20220308094924.2868042-1-abailon@baylibre.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,SPF_HELO_PASS, SPF_PASS,T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Il 08/03/22 10:49, Alexandre Bailon ha scritto: > We write data to RPMB, we get many time the following log: > mtk-msdc 11230000.mmc: phase: [map:ffffffff] [maxlen:32] [final:10] > > dev_info is used to print that log but it seems that log is only > useful for debbuging. Use dev_dbg instead of dev_info. > > Signed-off-by: Alexandre Bailon Hello Alexandre, I definitely agree with this change, but the commit title is not clear enough; can you please change it to something like mmc: mtk-sd: Silence delay phase calculation debug log After the change, Reviewed-by: AngeloGioacchino Del Regno > --- > drivers/mmc/host/mtk-sd.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/mmc/host/mtk-sd.c b/drivers/mmc/host/mtk-sd.c > index d5a9c269d492..05c8b4de46f3 100644 > --- a/drivers/mmc/host/mtk-sd.c > +++ b/drivers/mmc/host/mtk-sd.c > @@ -1914,8 +1914,8 @@ static struct msdc_delay_phase get_best_delay(struct msdc_host *host, u32 delay) > final_phase = (start_final + len_final / 3) % PAD_DELAY_MAX; > else > final_phase = (start_final + len_final / 2) % PAD_DELAY_MAX; > - dev_info(host->dev, "phase: [map:%x] [maxlen:%d] [final:%d]\n", > - delay, len_final, final_phase); > + dev_dbg(host->dev, "phase: [map:%x] [maxlen:%d] [final:%d]\n", > + delay, len_final, final_phase); > > delay_phase.maxlen = len_final; > delay_phase.start = start_final; >