Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp3847931imw; Mon, 11 Jul 2022 17:43:38 -0700 (PDT) X-Google-Smtp-Source: AGRyM1v9AVUaKCqPtUtjtx70wBJgUzlUgokPN4YSs6ZQCbKTPnMXEYbw4kgm9Io+udJ3rOMjpisQ X-Received: by 2002:a50:ce1d:0:b0:43a:742f:9db3 with SMTP id y29-20020a50ce1d000000b0043a742f9db3mr28324979edi.308.1657586618465; Mon, 11 Jul 2022 17:43:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657586618; cv=none; d=google.com; s=arc-20160816; b=WHcMf8Qv+KocQFD24NA2AOS7kFW8Vh2sr5vcvm0SGqs9meZahJyo+7nHQPwLs/P9gj bwQTL0kBE2mdpAjIFCdljM6gL3kLycoREqmQQbWYBRXrvi4k3otvU4Zg3uCKorQHG/8b sIusQWFk5OVxdYzrOZidU6aNFWAmYNMwPqis+QxLAF7CF06sgmJhLnaURsz4Qd0hgW2D un19PUMBlpuBB2hr2Zx2+/bzzYPORY1vG88FHbuzTGDA+kX38udgbWFlHeyLJ3eUUyPG Ep6ecjqBOWcBNtytmeckiN+zM7t/D+e0YeSMzoKvOKwFty881Za/gPWiIr2qiLdJzi6u BQZA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:dlp-filter:cms-type:thread-index :content-language:content-transfer-encoding:mime-version:message-id :date:subject:in-reply-to:cc:to:from:dkim-signature:dkim-filter; bh=vT9r9c+bDnpjTVLAS+8IHqgPizY369yt4SmfkxarQ2E=; b=p/3xculIVqrccxMQ/BLIHEoIPqD2N4R48WYEzWD64N3VQZC9av3G1qwjYt4921Wwwz sHijhGEzUbfE7UeXhKXsTt6xljRaI2XOYNtntBgMJt2smZLO8I+BYY3bQHL9ner/+VqZ yuoVRgv1SObEyObJTWNNFJJQ1bIHgdSCQczLH3rHq3V9gfZs9SOxIuZU71Py65dzdAh7 2gP3z9lYPWtqVVz2AIX5mOrbe77V7ywGXrbjUiILsY2e0YaaqnDfclXEsv89v2UgUph6 quKygvK20r1t9kFbVScIeG5fYtW1NgcwaHJuL2v4Tfgyvxll9ZPiyZ2GiIq4YvPd/+I2 H+5g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=F+sfaGKn; 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=samsung.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id gb10-20020a170907960a00b0072b4a1b5519si10008503ejc.68.2022.07.11.17.43.13; Mon, 11 Jul 2022 17:43:38 -0700 (PDT) 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=@samsung.com header.s=mail20170921 header.b=F+sfaGKn; 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=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230133AbiGLAIV (ORCPT + 99 others); Mon, 11 Jul 2022 20:08:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43916 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229622AbiGLAIT (ORCPT ); Mon, 11 Jul 2022 20:08:19 -0400 Received: from mailout1.samsung.com (mailout1.samsung.com [203.254.224.24]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 979A43AB0D for ; Mon, 11 Jul 2022 17:08:18 -0700 (PDT) Received: from epcas1p1.samsung.com (unknown [182.195.41.45]) by mailout1.samsung.com (KnoxPortal) with ESMTP id 20220712000816epoutp01620c31a66f32ad7a54532df1ee0431ae~A7FFBR4Rq2814628146epoutp01w for ; Tue, 12 Jul 2022 00:08:16 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.samsung.com 20220712000816epoutp01620c31a66f32ad7a54532df1ee0431ae~A7FFBR4Rq2814628146epoutp01w DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1657584496; bh=vT9r9c+bDnpjTVLAS+8IHqgPizY369yt4SmfkxarQ2E=; h=From:To:Cc:In-Reply-To:Subject:Date:References:From; b=F+sfaGKnw6hR9bB644tormLWgroHf7nvInp8FsKH0gZkRkrH4UMVgf/R9M1MFe8N2 vPUwklj6zYwkctbdDedQfQkJETtogCjzAYA9fm5Huuh4hWJ7jo4ChentBhXJlTOFpV pYoiE382AOKW/4cG+dO0RAEc70UoY6+hHK+kOq2w= Received: from epsnrtp4.localdomain (unknown [182.195.42.165]) by epcas1p2.samsung.com (KnoxPortal) with ESMTP id 20220712000815epcas1p253987f91a1f1c80bce45f53ed57e8a18~A7FES-Lwd0031700317epcas1p2X; Tue, 12 Jul 2022 00:08:15 +0000 (GMT) Received: from epsmges1p4.samsung.com (unknown [182.195.36.223]) by epsnrtp4.localdomain (Postfix) with ESMTP id 4Lhh0v3SyVz4x9Pv; Tue, 12 Jul 2022 00:08:15 +0000 (GMT) Received: from epcas1p1.samsung.com ( [182.195.41.45]) by epsmges1p4.samsung.com (Symantec Messaging Gateway) with SMTP id 25.C1.10203.F6BBCC26; Tue, 12 Jul 2022 09:08:15 +0900 (KST) Received: from epsmtrp1.samsung.com (unknown [182.195.40.13]) by epcas1p3.samsung.com (KnoxPortal) with ESMTPA id 20220712000814epcas1p3e8db8a92f1571761fbbd2d0a69b6cddc~A7FDg2RMu3221032210epcas1p3O; Tue, 12 Jul 2022 00:08:14 +0000 (GMT) Received: from epsmgms1p2.samsung.com (unknown [182.195.42.42]) by epsmtrp1.samsung.com (KnoxPortal) with ESMTP id 20220712000814epsmtrp1a668e0da2d55c5d10dee796e2067d3d5~A7FDf9Mlr1758117581epsmtrp1X; Tue, 12 Jul 2022 00:08:14 +0000 (GMT) X-AuditID: b6c32a38-597ff700000027db-ea-62ccbb6fc038 Received: from epsmtip2.samsung.com ( [182.195.34.31]) by epsmgms1p2.samsung.com (Symantec Messaging Gateway) with SMTP id 1E.91.08802.E6BBCC26; Tue, 12 Jul 2022 09:08:14 +0900 (KST) Received: from sh043lee03 (unknown [10.253.101.72]) by epsmtip2.samsung.com (KnoxPortal) with ESMTPA id 20220712000814epsmtip2414a131b22ee74aef6a12f60d504eea1~A7FDPAq031597615976epsmtip2s; Tue, 12 Jul 2022 00:08:14 +0000 (GMT) From: "Seunghui Lee" To: , , , , , , Cc: , , , , , , , , In-Reply-To: <20220705005035.14195-1-sh043.lee@samsung.com> Subject: RE: [PATCH] mmc: print clock frequency with recognization Date: Tue, 12 Jul 2022 09:08:14 +0900 Message-ID: <013f01d89583$7b320640$719612c0$@samsung.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Outlook 16.0 Content-Language: ko Thread-Index: AQGudEnl4+ePR7A4svMh0q0LRTjrCwLdAL9lrbc0OcA= X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrFJsWRmVeSWpSXmKPExsWy7bCmrm7+7jNJBr8vSFi0v1vGbjHjVBur xb5rJ9ktfv1dz27RvHg9m0XH1slMFjuen2G32PW3mcni8q45bBZH/vczWixo+cBqce7kJ1aL a2dOsFrcnjiZ0eL42nCLzZe+sTgIeMxbU+1xYSe3x51re9g89s9dw+7R/9fAo2/LKkaPz5vk Atijsm0yUhNTUosUUvOS81My89JtlbyD453jTc0MDHUNLS3MlRTyEnNTbZVcfAJ03TJzgC5X UihLzCkFCgUkFhcr6dvZFOWXlqQqZOQXl9gqpRak5BSYFegVJ+YWl+al6+WlllgZGhgYmQIV JmRnrLt0l7lgk1D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vHg9m0XH1slMFjuen2G32PW3mcni8q45bBZH/vczWixo+cBqce7kJ1aL a2dOsFrcnjiZ0eL42nCLzZe+sTgIeMxbU+1xYSe3x51re9g89s9dw+7R/9fAo2/LKkaPz5vk AtijuGxSUnMyy1KL9O0SuDL27NjKVLBZsGJi+3PWBsb1fF2MHBwSAiYSfzbodzFycQgJ7GCU mH90GWsXIydQXFJi8aOHbBA1whKHDxdD1DxjlDh5+RAbSA2bgI7Em0//WUESIgJPGCUmXt3D BOIwCzQxSbzrewpWJSTQwyjRM8kPxOYUsJb4su4f2AZhASeJW1e6mUE2sAioSrTNkAIJ8wpY Smw8upANwhaUODnzCQuIzSygLdH7sJURxl628DUzxKEKEj+fQhzNLCAiMbuzDSwuImAl8Wz2 f5YJjMKzkIyahWTULCSjZiFpX8DIsopRMrWgODc9t9iwwCgvtVyvODG3uDQvXS85P3cTIzhm tbR2MO5Z9UHvECMTB+MhRgkOZiUR3j9nTyUJ8aYkVlalFuXHF5XmpBYfYpTmYFES573QdTJe SCA9sSQ1OzW1ILUIJsvEwSnVwORlsZCD/7m6gMie6t/JTJ+1okr1LF2fBx8p6t3wZN2sLe3/ b811vVf2zbHisyCv4qP/Sctd2PxuFqy64NacxhCoriOY7Lj4pO9tiYAnHoGsgmGbGRIcY7av 6jS9Efsh6MRBZ06WzyqNAYIZxsWc5dvuHep74Ttts/wF3b2zW+qDZlVfvrD4fPdNFvtzYf2z 1kWoJl5INFVXfW7r9u7Dlq7NK2eG6CQ6fNTv8Xhu8XhWmptawTPPu1J5x1pOJno6C7sxCUw7 zLCOpajf9sOe7UHlW7ymH3K6yntHfsntaU9ZJ36eHJZU8jPGS2ML+8+j9j8Y423vrSuxLz9z smjV7t0vbfqFi/VyP0WHFOhfVGIpzkg01GIuKk4EAIvYLMxIAwAA X-CMS-MailID: 20220712000814epcas1p3e8db8a92f1571761fbbd2d0a69b6cddc X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-Sendblock-Type: SVC_REQ_APPROVE CMS-TYPE: 101P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20220705001814epcas1p40a4eadbf8429f01a98bdb56f00ba3310 References: <20220705005035.14195-1-sh043.lee@samsung.com> X-Spam-Status: No, score=-5.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 > -----Original Message----- > From: Seunghui Lee > Sent: Tuesday, July 5, 2022 9:51 AM > To: ulf.hansson=40linaro.org; u.kleine-koenig=40pengutronix.de; > gregkh=40linuxfoundation.org; linux=40dominikbrodowski.net; > alexandre.belloni=40bootlin.com; linux-mmc=40vger.kernel.org; linux- > kernel=40vger.kernel.org > Cc: grant.jung=40samsung.com; jt77.jang=40samsung.com; > dh0421.hwang=40samsung.com; junwoo80.lee=40samsung.com; jangsub.yi=40sams= ung.com; > cw9316.lee=40samsung.com; sh8267.baek=40samsung.com; wkon.kim=40samsung.c= om; > seunghwan.hyun=40samsung.com; Seunghui Lee > Subject: =5BPATCH=5D mmc: print clock frequency with recognization >=20 > It's easy to figure out how fast frequency it has from the log. > e.g. mmc0: new ultra high speed SDR104 SDXC card at address aaaa(clk > 202000000) >=20 > Signed-off-by: Seunghui Lee > --- > drivers/mmc/core/bus.c =7C 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) >=20 > diff --git a/drivers/mmc/core/bus.c b/drivers/mmc/core/bus.c index > 58a60afa650b..3623cc27a61c 100644 > --- a/drivers/mmc/core/bus.c > +++ b/drivers/mmc/core/bus.c > =40=40 -348,7 +348,7 =40=40 int mmc_add_card(struct mmc_card *card) > mmc_card_ddr52(card) ? =22DDR =22 : =22=22, > type); > =7D else =7B > - pr_info(=22%s: new %s%s%s%s%s%s card at address %04x=5Cn=22, > + pr_info(=22%s: new %s%s%s%s%s%s card at > address %04x(clk %u)=5Cn=22, > mmc_hostname(card->host), > mmc_card_uhs(card) ? =22ultra high speed =22 : > (mmc_card_hs(card) ? =22high speed =22 : =22=22), =40=40 -356,7 > +356,8 =40=40 int mmc_add_card(struct mmc_card *card) > (mmc_card_hs200(card) ? =22HS200 =22 : =22=22), > mmc_card_hs400es(card) ? =22Enhanced strobe =22 : =22=22, > mmc_card_ddr52(card) ? =22DDR =22 : =22=22, > - uhs_bus_speed_mode, type, card->rca); > + uhs_bus_speed_mode, type, card->rca, > + card->host->ios.clock); > =7D >=20 > =23ifdef CONFIG_DEBUG_FS > -- > 2.29.0 Please give me any opinion or suggestion about this commit. Normally, the SD card's bus speed depends on both host controller and inter= nal PLL. There are lots of host controller vendor in the market as well. So, we can guess the exact clock speed from this commit.