Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp481668pxu; Fri, 4 Dec 2020 07:57:43 -0800 (PST) X-Google-Smtp-Source: ABdhPJyT3EOPf6o20WeGCWhBOPGpS4K0GEOuw+rcNAxH7tDMIMkQQeC3GZdMDGw4MlaHY8uHonMD X-Received: by 2002:a17:906:3102:: with SMTP id 2mr7811229ejx.135.1607097463565; Fri, 04 Dec 2020 07:57:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607097463; cv=none; d=google.com; s=arc-20160816; b=YZW9VkBgOPQKv+6TeXi+lXhfxkz30+AzMPh5sZERWMDdyzr9AuuG7K4IHHCv+3ogLf 2OKREx4BEiLKqYzo1Wfx86SayuYctx8UEdodYhoYC0RMelYBHTKmUXz3OAYhSzMQYNLQ gdFRwtLLduqaN+xYaQkYzcBYY3xoKpxBvOCu1+UCEAdJmqfwa8+eDonZk8quBYuc+pJi D1kpdH2KLD2DqmqqrGOOKjLRXFgo0nqRS8JPApI8jsDBEuDbdkMC5G5BNl5bNk3Sfgs2 +COQb0BzcLcGdqS6aOQr/E8zBLphMdlRaTCtcNww8sD5FXwu/hQiTfLbWNVBkOE2KSSj dddA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=AHQHq1xL8SJ5NWI2Z081/APQVBFOAsAFbhSvIy9O+O4=; b=xqtosgDe63+stJ11qvmClyeYe8mF8muzEiQlu7AdY0cJQjWUgv2rzU66zQ9+AHHL5l 8GBDD1+LwJiLhmwfLVcdIAFfe/1sQmy1EakPxCsz89wRT3KQ3lCKWtgD1eSdUfqoeKrj pLEOOTmCKrbYKKcUrNGrpKfkgOzstfhwdgHIOT19SuL/iywoe2cx5tmz8reQaGnjPdk2 brLzUr9OxT/fd5QmV+pSPC4ElStGEUnryINPnm1bh1Zq5gG428Te8cB2H1X824VyA6B8 wB4YjMRzjsYSwXsD4H4OH/vBKteFgt448wgZHCIlY0cSecOC4TKVVQzbcWFZLPzdTX/8 Yg1w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=bWCk4mSK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e7si3152430edu.277.2020.12.04.07.57.20; Fri, 04 Dec 2020 07:57:43 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=bWCk4mSK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730447AbgLDPzk (ORCPT + 99 others); Fri, 4 Dec 2020 10:55:40 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50766 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727125AbgLDPzk (ORCPT ); Fri, 4 Dec 2020 10:55:40 -0500 Received: from mail-ed1-x542.google.com (mail-ed1-x542.google.com [IPv6:2a00:1450:4864:20::542]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D0275C0613D1; Fri, 4 Dec 2020 07:54:59 -0800 (PST) Received: by mail-ed1-x542.google.com with SMTP id b73so6291373edf.13; Fri, 04 Dec 2020 07:54:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=AHQHq1xL8SJ5NWI2Z081/APQVBFOAsAFbhSvIy9O+O4=; b=bWCk4mSKVJwDh1g8B2dSMt8iEtSNfurQhLS7058Y6rhgMTutxo2/L7yA6tbhbQbQwf mT45Zd/pZM13Z3m+YIPCA530+4H8E8QbWu+zrgt9VUx40b7q0I0QX1u6YvVPPEUZAhfA beoKBCPizS04KXqb0MgUrTXdPv026hwBQXp+3tegYL1mb3ACg3RmVlT5TdOL740b+4qJ k1/8wMNgnQ5eMut3nZa+gF3ypYBPCrdYutzKRFUFv1k4VQ2RfIlIKIpu8ngVIdRCzpmd 2wOuModdUv7bn4uCf0qCRd3akvgM+hm1Hpm/zvFIqueaVTRck8ott//pDPf6ys6/+H18 MqxA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=AHQHq1xL8SJ5NWI2Z081/APQVBFOAsAFbhSvIy9O+O4=; b=JyKzfFGU6zNI6T5KTDdiLcC0ROYmXv0qRF99/1XdA1rwRVwiutNWeB5NDfjNenHnDT YnD/IdWAuJ+ZbjkxtM44W0jH/Y+GC6aT5ZOQRvGVRzQX6qGfqpRPfhck6e8wNRKkZR+4 VHJeTfkIXSE10V+38C8rsvkULl2OBaPLSdTZ7qSL4+npB7D3wPTsPZ9CkEt6cdw/4GVc g/JEd/lax8HKtPqstI/Nmnw100qCVOwpZlhqN1IyPgVeQn3ozKTgixe7Js1au8LsPyxF UhUIfgt/n8dVNw8TsY8r42dlLC+9DaDXcdffNuA+R3dK/otArh6jZnPCZYgEzYOGCrZ9 7qDA== X-Gm-Message-State: AOAM530NBghUVRhDTuZaj4ie8KTvmGmSsmHLTurpeLcAy+A7fjK72Zqw 4vYOkXC+pgc/9pFpBMq6RFk= X-Received: by 2002:a50:fc9a:: with SMTP id f26mr7996946edq.255.1607097298616; Fri, 04 Dec 2020 07:54:58 -0800 (PST) Received: from localhost ([62.96.65.119]) by smtp.gmail.com with ESMTPSA id x16sm3330153ejo.104.2020.12.04.07.54.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 04 Dec 2020 07:54:57 -0800 (PST) Date: Fri, 4 Dec 2020 16:54:55 +0100 From: Thierry Reding To: Dmitry Osipenko , Krzysztof Kozlowski Cc: Jon Hunter , 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 , linux-tegra@vger.kernel.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org Subject: Re: [PATCH v10 17/19] ARM: tegra: Add EMC OPP properties to Tegra20 device-trees Message-ID: 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> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="KMNCFJXxkXYagfyn" Content-Disposition: inline In-Reply-To: <1ed05baf-3a01-3a2b-cd79-98b356c846cf@gmail.com> User-Agent: Mutt/2.0.2 (d9268908) (2020-11-20) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --KMNCFJXxkXYagfyn Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Dec 01, 2020 at 01:57:44AM +0300, Dmitry Osipenko wrote: > 01.12.2020 00:17, Jon Hunter =D0=BF=D0=B8=D1=88=D0=B5=D1=82: > > Hi Dmitry, > >=20 > > 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 ... > >=20 > > [ 2.485711] tegra20-emc 7000f400.memory-controller: device-tree does= n'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-nex= t-20201130 #1 > > [ 2.554606] Hardware name: NVIDIA Tegra SoC (Flattened Device Tree) > > [ 2.560892] [] (unwind_backtrace) from [] (show_= stack+0x10/0x14) > > [ 2.568640] [] (show_stack) from [] (dump_stack+= 0xc8/0xdc) > > [ 2.575866] [] (dump_stack) from [] (__warn+0x10= 4/0x108) > > [ 2.582912] [] (__warn) from [] (warn_slowpath_f= mt+0xb0/0xb8) > > [ 2.590397] [] (warn_slowpath_fmt) from [] (_of_= add_opp_table_v2+0x598/0x61c) > > [ 2.599269] [] (_of_add_opp_table_v2) from [] (d= ev_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 [] (platfo= rm_drv_probe+0x48/0x98) > > [ 2.625899] [] (platform_drv_probe) from [] (rea= lly_probe+0x218/0x3b8) > > [ 2.634162] [] (really_probe) from [] (driver_pr= obe_device+0x5c/0xb4) > > [ 2.642338] [] (driver_probe_device) from [] (de= vice_driver_attach+0x58/0x60) > > [ 2.651208] [] (device_driver_attach) from [] (_= _driver_attach+0x80/0xbc) > > [ 2.659730] [] (__driver_attach) from [] (bus_fo= r_each_dev+0x74/0xb4) > > [ 2.667905] [] (bus_for_each_dev) from [] (bus_a= dd_driver+0x164/0x1e8) > > [ 2.676168] [] (bus_add_driver) from [] (driver_= register+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 [] (k= ernel_init+0x8/0x118) > > [ 2.709321] [] (kernel_init) from [] (ret_from_f= ork+0x14/0x24) > > [ 2.716885] Exception stack(0xc1501fb0 to 0xc1501ff8) > > [ 2.721933] 1fa0: 00000000 00000= 000 00000000 00000000 > > [ 2.730106] 1fc0: 00000000 00000000 00000000 00000000 00000000 00000= 000 00000000 00000000 > > [ 2.738278] 1fe0: 00000000 00000000 00000000 00000000 00000013 00000= 000 > > [ 2.751940] ---[ end trace 61e3b76deca27ef3 ]--- > >=20 > >=20 > > Cheers > > Jon > >=20 >=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. Hmm... that's new. Since when are device tree additions expected to cause these kinds of splats? Anyway, I did apply these because I had seen at least some of the memory controller driver patches appear in linux-next and hence had assumed that the whole series had gone in, not realizing there was anything left to do. Krzysztof, what's your schedule for the memory controller tree? My recollection is that this will feed into ARM SoC, so if the -rc6 dead- line applies like it does for platforms, then I may need to revert the DT patch that causes this so that we don't have to drag this along through all of the release cycle. If there's still time for you to send that PR, perhaps we can get the remainder of the Tegra interconnect series merged for v5.11 as well? Thierry --KMNCFJXxkXYagfyn Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEiOrDCAFJzPfAjcif3SOs138+s6EFAl/KW88ACgkQ3SOs138+ s6HidxAAwntnP3WObcRfozgV+UUfPHprx++lvOQM0RSCqz70ZZghhkSfsgcT78Jt yiu2ukYQqQd05H7GHBm0Z844Z2ELYDq8ReYNIOlb4zx0UDr3ooxk0XubcRioei11 hb7rz2p3kXQLduFsNSoCYvlM/GnFE+lKfGwfXCiQn/ZuoHbnUMMOFoESQ/e0bXAW yMogV3lXrxIAyHcUBnohLNMFVD90eaxmcnfCL6og5bRipxipLbyUSlXTOwSiaQdO erTB8q1Dkzlp5b+GOv/nFtLOZQqNFyFm4fK/ijkEeAwbkahx6CFPp+rKUHcgtuJz KIQTFElLLLVBpFKxGoSnN0AFd7FPE5vI58MbOZjCYRNaj15fh1SnrQxl5WtIcett 1K7VgOE/RlcGvLC4krNSVBeZLKIEckZSsAr0ck7fcVz0rU5fyPqz0Uczcfkxe6eT 1u5vz91BiaVL/JUIhpRuoChd2irvpP5tcTiwSs+3d3jyxxuwnmXoJiyqZVtbwNa9 eItaLTkNkt8K9WWjcqnDRgzdWVDdzXh/s1afe/ZFnEcThvHVAU1v06/MrZXfNNeS 6a32RK/iiSenx8/TkYZRWf9aLS5P+Vxn6P90bILPeJND9F0XMiJdrKXTgNwFo8on e/vIrxVuw5KKF6ZyzGjP6cCJgplQLcw5X/luCc+MxA1FzGqV34A= =fKt+ -----END PGP SIGNATURE----- --KMNCFJXxkXYagfyn--