Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp1061018ybl; Fri, 6 Dec 2019 10:35:55 -0800 (PST) X-Google-Smtp-Source: APXvYqyW5SIgB6Ix+VvwcYjXayhxJ2NvnzU3NmD0JFwHVn712Cxp4tBqekrkF5GCw+6Tx2A5cvAs X-Received: by 2002:aca:d4c1:: with SMTP id l184mr13704322oig.172.1575657355620; Fri, 06 Dec 2019 10:35:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575657355; cv=none; d=google.com; s=arc-20160816; b=DoCf+HrBCfE/IVtYnjpcLr/LmSf0j3vG1js6B6X9/KdEjK8pm6MReG3B3zXT/q64ZD TA4t54nQR0GZvxzNJ8fH9gIXZsvQ6+z1gl8xO1b6lKlgOmbptrM1WahM+hMqfmPSP4Y9 iQlgh5lHOKiRPEVRljEw0gve3jB1BABQT5jTZWQAtQbkuXYgMWj2TeKR97ljRMJ9Akww /b+26pTphSIQUXZ1y/NARgJcMl4l2ZcgfRlmWMDeOGBNcD7JIpvdt6RQH0kS/R3nRyMr +Y/xPENoF2zu8K/8v5OkjFCGIMdkyeuu1tFfIz5cEqaSVdZmIcNutjcQImyuig+XjqfB pGnw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:references:message-id :content-transfer-encoding:cc:date:in-reply-to:from:subject :mime-version:dkim-signature; bh=8xcPnshoEvqmpl8Ihb0gwyd1N4JC6oPtQIQeUEG485c=; b=IItJeTBYGcYGdaZiNZpKQ0oIHiTfU//P0Do5vwiPHGCg6ViiwZcDAmkwRyhZJIX/CG XQzWsKKFj+QRIdyTC8Khnllwe9Stkb9vAMZDQFGGKEsULp98Mc4O0dXSKSEjpt8vZxtM 3QteThRpxfRGrI2ewKuqKDe5y+aTGJXKLv7NkknKxems31x4Ds6FBaBb+ucYpqZ6wI0Q 6FR3mLvwdCleBmRLeAoZtprXs7KVlrNuRHazhAUhDUepnKua8LsJs3C8llRxZll/5xjW ebY0TJX6ud/7MWlEbBsZkpDwNMftvEcI3BR3SskWcOOiA/zj/oFW6+l9rwlOQd/ihSIO pKww== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@goldelico.com header.s=strato-dkim-0002 header.b=EQEpkiTn; 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 y4si6661462otk.219.2019.12.06.10.35.41; Fri, 06 Dec 2019 10:35:55 -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=fail header.i=@goldelico.com header.s=strato-dkim-0002 header.b=EQEpkiTn; 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 S1726332AbfLFSfF (ORCPT + 99 others); Fri, 6 Dec 2019 13:35:05 -0500 Received: from mo4-p01-ob.smtp.rzone.de ([85.215.255.52]:16359 "EHLO mo4-p01-ob.smtp.rzone.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726298AbfLFSfF (ORCPT ); Fri, 6 Dec 2019 13:35:05 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1575657300; s=strato-dkim-0002; d=goldelico.com; h=To:References:Message-Id:Cc:Date:In-Reply-To:From:Subject: X-RZG-CLASS-ID:X-RZG-AUTH:From:Subject:Sender; bh=8xcPnshoEvqmpl8Ihb0gwyd1N4JC6oPtQIQeUEG485c=; b=EQEpkiTnvZkaA6lnKETXwKeLpQbqdh1eyKhHYbMh+VFe8FFCT3x9bVksUL8ISK7NC9 APDKaVKl+WuD6CC3DB7KkMZA5x2Ps++2oBRjh7Ex9y5qlr2A3qHD0/Pcs+0nfTR4djch ONbEFVbTaiS1RPX+28KHnoph9tQpsc+LngcHAzAG5InRsj7L3EhbxOMOXsXYPPI8xWVN 0WE6yXSeiHTP1rWLKm6vi9B/taAl3avN1+EUoqxjVAqWNRIjHgcaUFU09BqiBoQNbY08 OrECSK/oQNQ2CYeN+gfc7BYPBnpwzYfOO6UNtUQLGXM0rES/G5JJ5f+P2zS2XeKQFwLE Jgpw== X-RZG-AUTH: ":JGIXVUS7cutRB/49FwqZ7WcJeFKiMgPgp8VKxflSZ1P34KBj7wpz8NMGH/vgwDOprHg=" X-RZG-CLASS-ID: mo00 Received: from imac.fritz.box by smtp.strato.de (RZmta 46.0.2 DYNA|AUTH) with ESMTPSA id 6067eavB6IYjLOv (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (curve X9_62_prime256v1 with 256 ECDH bits, eq. 3072 bits RSA)) (Client did not present a certificate); Fri, 6 Dec 2019 19:34:45 +0100 (CET) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: [PATCH] ARM: OMAP2+: Fix warnings with broken omap2_set_init_voltage() From: "H. Nikolaus Schaller" In-Reply-To: <20191206182040.GH35479@atomide.com> Date: Fri, 6 Dec 2019 19:34:44 +0100 Cc: Nishanth Menon , Tero Kristo , Linux Kernel Mailing List , =?utf-8?Q?Andr=C3=A9_Roth?= , Linux-OMAP , Adam Ford , arm-soc , Discussions about the Letux Kernel Content-Transfer-Encoding: quoted-printable Message-Id: References: <20190924233222.52757-1-tony@atomide.com> <8FFD44DB-73F8-4807-91E1-C97DA8F781BA@goldelico.com> <20191202213929.GB35479@atomide.com> <20191203154447.GC35479@atomide.com> <5F430C0D-7F25-4680-87B9-2D65A08A9F83@goldelico.com> <20191206182040.GH35479@atomide.com> To: Tony Lindgren X-Mailer: Apple Mail (2.3124) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > Am 06.12.2019 um 19:20 schrieb Tony Lindgren : >=20 > * H. Nikolaus Schaller [191203 16:55]: >>> What we could do is augment the printk (or dev_err) to tell >>> in these warnings what it is looking for... >>>=20 >>> opp =3D dev_pm_opp_find_freq_ceil(dev, &freq); >>> if (IS_ERR(opp)) { >>> pr_err("%s: unable to find boot up OPP for vdd_%s freq = %ulHz\n", >>> __func__, vdd_name, freq); >>> goto exit; >>> } >>=20 >> Easier and always prints info: >>=20 >> freq =3D clk_get_rate(clk); >> clk_put(clk); >>=20 >> pr_info("%s: vdd=3D%s clk=3D%s %luHz oh=3D%s\n", __func__, = vdd_name, clk_name, freq, oh_name); >>=20 >> opp =3D dev_pm_opp_find_freq_ceil(dev, &freq); >>=20 >> I get this: >>=20 >> [ 2.908142] omap2_set_init_voltage: vdd=3Dmpu_iva clk=3Ddpll1_ck = 1000000000Hz oh=3Dmpu >> [ 2.930816] omap2_set_init_voltage: vdd=3Dcore clk=3Dl3_ick = 200000000Hz oh=3Dl3_main >> [ 2.946228] omap2_set_init_voltage: unable to find boot up OPP for = vdd_core >> [ 2.953460] omap2_set_init_voltage: unable to set vdd_core >=20 > OK yeah that's more descriptive. So what does your board say as it is also unable to find the initial = mpu_iva? And/or does it show a different core clock? >=20 >> Which means that cpufreq already has increased dpll1_ck to 1 GHz >> (I have removed the turbo-mode tags so that it already boots at >> full speed) and l3_ick runs at initial 200 MHz. >=20 > OK. I wonder where this initial code should live though.. Well, we all agree that it should live in deserved retirement :) But it has some positive effect and maybe "fixes" a bug in cpufreq-only = setup. BR, Nikolaus