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=-13.7 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_1 autolearn=ham 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 2B1D8C64E7B for ; Tue, 1 Dec 2020 20:43:24 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id CE624206E0 for ; Tue, 1 Dec 2020 20:43:23 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=nvidia.com header.i=@nvidia.com header.b="Zmzy4nbs" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727822AbgLAUnX (ORCPT ); Tue, 1 Dec 2020 15:43:23 -0500 Received: from hqnvemgate24.nvidia.com ([216.228.121.143]:11757 "EHLO hqnvemgate24.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725977AbgLAUnW (ORCPT ); Tue, 1 Dec 2020 15:43:22 -0500 Received: from hqmail.nvidia.com (Not Verified[216.228.121.13]) by hqnvemgate24.nvidia.com (using TLS: TLSv1.2, AES256-SHA) id ; Tue, 01 Dec 2020 12:42:41 -0800 Received: from [10.26.72.142] (172.20.13.39) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Tue, 1 Dec 2020 20:42:33 +0000 Subject: Re: [PATCH v10 17/19] ARM: tegra: Add EMC OPP properties to Tegra20 device-trees To: Dmitry Osipenko , Thierry Reding , Georgi Djakov , "Rob Herring" , Michael Turquette , Stephen Boyd , Peter De Schrijver , MyungJoo Ham , "Kyungmin Park" , Chanwoo Choi , Mikko Perttunen , Viresh Kumar , "Peter Geis" , Nicolas Chauvet , "Krzysztof Kozlowski" CC: , , , References: <20201123002723.28463-1-digetx@gmail.com> <20201123002723.28463-18-digetx@gmail.com> <60657f5e-bd30-094e-f8df-6ba69e0d6a3e@nvidia.com> <1ed05baf-3a01-3a2b-cd79-98b356c846cf@gmail.com> From: Jon Hunter Message-ID: <7725904d-e623-a389-2c41-fe0640afcf86@nvidia.com> Date: Tue, 1 Dec 2020 20:42:29 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <1ed05baf-3a01-3a2b-cd79-98b356c846cf@gmail.com> Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: quoted-printable X-Originating-IP: [172.20.13.39] X-ClientProxiedBy: HQMAIL107.nvidia.com (172.20.187.13) To HQMAIL107.nvidia.com (172.20.187.13) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nvidia.com; s=n1; t=1606855361; bh=ld6kAg1ZGh9k+yMFotmNwIWPtWIZHMAcX5cj9qgmwHM=; h=Subject:To:CC:References:From:Message-ID:Date:User-Agent: MIME-Version:In-Reply-To:Content-Type:Content-Language: Content-Transfer-Encoding:X-Originating-IP:X-ClientProxiedBy; b=Zmzy4nbs0RS7fFDgUWb4EfpZwT1/EeyUp2PWE2OS3XHzA24MgwTDAdrbXR1dWG463 4s7OGfmpZ2IA+DjoxwmATD3NdbxYI2V+gXiW1kQOuqz65aaNww17A/wOMXjKgNOzVX C6sn7spIMa0nNR4I3SZiyX5PvhzcA4scysgzQmnlaZKGTN7bHCCMpHcDo4myiR4sDv ZeBGPbT9B4KlygU9HXq7t+Xek3nsaO1VUznLI1EFs4vf3QfXXrqHJZvheUxEr0j1uX Mja2NGB1syddUj+IOrYino9xivHVkTrlmgxuDRA8WA3bRslrl2EWJ4/IvG92he+geG 2ZLiCaY1PT2MQ== Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 30/11/2020 22:57, Dmitry Osipenko wrote: > 01.12.2020 00:17, Jon Hunter =D0=BF=D0=B8=D1=88=D0=B5=D1=82: >> Hi Dmitry, >> >> On 23/11/2020 00:27, Dmitry Osipenko wrote: >>> Add EMC OPP DVFS tables and update board device-trees by removing >>> unsupported OPPs. >>> >>> Signed-off-by: Dmitry Osipenko >> This change is generating the following warning on Tegra20 Ventana >> and prevents the EMC from probing ... >> >> [ 2.485711] tegra20-emc 7000f400.memory-controller: device-tree doesn= 't have memory timings >> [ 2.499386] tegra20-emc 7000f400.memory-controller: 32bit DRAM bus >> [ 2.505810] ------------[ cut here ]------------ >> [ 2.510511] WARNING: CPU: 0 PID: 1 at /local/workdir/tegra/mlt-linux_= next/kernel/drivers/opp/of.c:875 _of_add_opp_table_v2+0x598/0x61c >> [ 2.529746] Modules linked in: >> [ 2.540140] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 5.10.0-rc5-next= -20201130 #1 >> [ 2.554606] Hardware name: NVIDIA Tegra SoC (Flattened Device Tree) >> [ 2.560892] [] (unwind_backtrace) from [] (show_s= tack+0x10/0x14) >> [ 2.568640] [] (show_stack) from [] (dump_stack+0= xc8/0xdc) >> [ 2.575866] [] (dump_stack) from [] (__warn+0x104= /0x108) >> [ 2.582912] [] (__warn) from [] (warn_slowpath_fm= t+0xb0/0xb8) >> [ 2.590397] [] (warn_slowpath_fmt) from [] (_of_a= dd_opp_table_v2+0x598/0x61c) >> [ 2.599269] [] (_of_add_opp_table_v2) from [] (de= v_pm_opp_of_add_table+0x3c/0x1a0) >> [ 2.608582] [] (dev_pm_opp_of_add_table) from [] = (tegra_emc_probe+0x478/0x940) >> [ 2.617548] [] (tegra_emc_probe) from [] (platfor= m_drv_probe+0x48/0x98) >> [ 2.625899] [] (platform_drv_probe) from [] (real= ly_probe+0x218/0x3b8) >> [ 2.634162] [] (really_probe) from [] (driver_pro= be_device+0x5c/0xb4) >> [ 2.642338] [] (driver_probe_device) from [] (dev= ice_driver_attach+0x58/0x60) >> [ 2.651208] [] (device_driver_attach) from [] (__= driver_attach+0x80/0xbc) >> [ 2.659730] [] (__driver_attach) from [] (bus_for= _each_dev+0x74/0xb4) >> [ 2.667905] [] (bus_for_each_dev) from [] (bus_ad= d_driver+0x164/0x1e8) >> [ 2.676168] [] (bus_add_driver) from [] (driver_r= egister+0x7c/0x114) >> [ 2.684259] [] (driver_register) from [] (do_one_= initcall+0x54/0x2b0) >> [ 2.692441] [] (do_one_initcall) from [] (kernel_= init_freeable+0x1a4/0x1f4) >> [ 2.701145] [] (kernel_init_freeable) from [] (ke= rnel_init+0x8/0x118) >> [ 2.709321] [] (kernel_init) from [] (ret_from_fo= rk+0x14/0x24) >> [ 2.716885] Exception stack(0xc1501fb0 to 0xc1501ff8) >> [ 2.721933] 1fa0: 00000000 000000= 00 00000000 00000000 >> [ 2.730106] 1fc0: 00000000 00000000 00000000 00000000 00000000 000000= 00 00000000 00000000 >> [ 2.738278] 1fe0: 00000000 00000000 00000000 00000000 00000013 000000= 00 >> [ 2.751940] ---[ end trace 61e3b76deca27ef3 ]--- >> >> >> Cheers >> Jon >> >=20 > Hello Jon, >=20 > That is harmless and expected to happen because the patch "memory: > tegra20: Support hardware versioning and clean up OPP table > initialization" isn't applied yet, while Thierry already applied the DT > patches from this v10. Thanks, pulling in that patch did fix it. Jon --=20 nvpublic