Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp245027pxk; Thu, 17 Sep 2020 01:40:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx03JP3r4hcgoTv7GqOMIUtO3z/90SsKuwmdJ/XrgF4dYnYqLV+pbjoK8uIaG2Z2hpjy7Fo X-Received: by 2002:a17:906:4c58:: with SMTP id d24mr30809401ejw.108.1600332011783; Thu, 17 Sep 2020 01:40:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600332011; cv=none; d=google.com; s=arc-20160816; b=jHN8f2PQSaVuzfb5XC0h3tCpitOZZ4op55PpL9Tx2TEbGRO9Ufa5SCJF5xbL5x27Vg hHjVTZK0rCAtcg5EGXNxwXr5eCoHBCpSQJaGp7kL79riawiGKV0bK7kfR53xQvB6TuyI I2GH4fT9fPTZtSolo51rVDUiajoP9ehxS+VD/WzF9NoIyU79R2VTNigkTT6poZxmTMWF WPAVED113qbMblhpXkXXQtXcZ7NJWHJK2MrskkBJhE3Mor1+mKbDEawZld6rlloUTbm+ KfUEzp7bNlv6qdS7SmaBM7CL8QODBpCPFfhE5HkJeC2BRCpJoiJnbXoG5dymsLYkQx6f arjg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:dkim-signature:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=MA+kzDOpgaIasV/XTrUbK7Y5E/jn4WxvrvnA0rc5sJY=; b=WWJS5iq3q9DjAh438maBn2g25rEpHb2p33TdIpv/9rauALJzG6s+d9RYNRnTF8PFcl Enl/TqQHfPfTFBkdGoml+RxuqhoxMaR1Mt5ksfysyMtZ8sbunmadfmtj6eXjJDDwRGOO qhSourFeyvT+UJfy5BojziT7cDKt2lIjyoRhiR0F6o8r+pF84KfgCYPG5y3NVzt19LNt zSkzzZVrUH/ch8kHhLNbDpNam3/retftIFaG7D3PW0qKrNgCNg5KnS29bIgwVZ2gIpB/ rJhMdRBG10bc+hyFS4h9bdBT6aVw3beWLnzLzR0JLmItbwDCq5QfUof0YSB6JCD0cpFX iNGA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nvidia.com header.s=n1 header.b=FBQFyK3B; 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=NONE dis=NONE) header.from=nvidia.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u17si13652207edx.501.2020.09.17.01.39.48; Thu, 17 Sep 2020 01:40:11 -0700 (PDT) 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=@nvidia.com header.s=n1 header.b=FBQFyK3B; 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=NONE dis=NONE) header.from=nvidia.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726397AbgIQIik (ORCPT + 99 others); Thu, 17 Sep 2020 04:38:40 -0400 Received: from hqnvemgate25.nvidia.com ([216.228.121.64]:4134 "EHLO hqnvemgate25.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726360AbgIQIie (ORCPT ); Thu, 17 Sep 2020 04:38:34 -0400 Received: from hqpgpgate102.nvidia.com (Not Verified[216.228.121.13]) by hqnvemgate25.nvidia.com (using TLS: TLSv1.2, DES-CBC3-SHA) id ; Thu, 17 Sep 2020 01:37:43 -0700 Received: from hqmail.nvidia.com ([172.20.161.6]) by hqpgpgate102.nvidia.com (PGP Universal service); Thu, 17 Sep 2020 01:38:27 -0700 X-PGP-Universal: processed; by hqpgpgate102.nvidia.com on Thu, 17 Sep 2020 01:38:27 -0700 Received: from [10.26.74.242] (10.124.1.5) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Thu, 17 Sep 2020 08:38:24 +0000 Subject: Re: [Patch 2/2] cpufreq: tegra194: Fix unlisted boot freq warning To: Sumit Gupta , , , , , , , CC: , References: <1600276277-7290-1-git-send-email-sumitg@nvidia.com> <1600276277-7290-3-git-send-email-sumitg@nvidia.com> From: Jon Hunter Message-ID: <53d4513d-0232-0287-9610-3e9ed8888273@nvidia.com> Date: Thu, 17 Sep 2020 09:38:22 +0100 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: <1600276277-7290-3-git-send-email-sumitg@nvidia.com> X-Originating-IP: [10.124.1.5] X-ClientProxiedBy: HQMAIL111.nvidia.com (172.20.187.18) To HQMAIL107.nvidia.com (172.20.187.13) Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nvidia.com; s=n1; t=1600331863; bh=MA+kzDOpgaIasV/XTrUbK7Y5E/jn4WxvrvnA0rc5sJY=; h=X-PGP-Universal:Subject:To:CC:References:From:Message-ID:Date: User-Agent:MIME-Version:In-Reply-To:X-Originating-IP: X-ClientProxiedBy:Content-Type:Content-Language: Content-Transfer-Encoding; b=FBQFyK3BmMYcCS+AMC+d6rzOHscx6Cx871gJjyu9gktzGPEPSHBN1E0NPmUV+xws9 JSsI34zBL1Zmcm6ouTAxhmm09wIiTwC6/beMhPgu2LMg/kz4/POeY10s91TozWXHq5 R3gqmP2BWPtNSSY7YV0hTih6RsbIHeyQgTSdeDAnTRG9naAzgOwzjeFY3SmihwL6nw T/jtEReI2WHmixMSfuQXyuCDTpYh4zYZNN/GUOAFRU6geHQCJJ8mm9C/FqTH+XQvmv blS7uo2czX2lh4LIeA8ARFN8+P/bLBO6sKHRgt0iokxCFOh2D9X4zWASTFnkTVOBMv V/Jm7tkOWJ6NQ== Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 16/09/2020 18:11, Sumit Gupta wrote: > Warning coming during boot because the boot freq set by bootloader > gets filtered out due to big freq steps while creating freq_table. > Fixing this by setting closest ndiv value from freq_table. > Warning: > cpufreq: cpufreq_online: CPU0: Running at unlisted freq > cpufreq: cpufreq_online: CPU0: Unlisted initial frequency changed > > Also, added change in init to wait till current frequency becomes > equal or near to the previously requested frequency. This is done > because it takes some time to restore the previous frequency while > turning-on non-boot cores during exit from SC7(Suspend-to-RAM). Same here ... Fixes: df320f89359c ("cpufreq: Add Tegra194 cpufreq driver") > > Signed-off-by: Sumit Gupta Reviewed-by: Jon Hunter Tested-by: Jon Hunter Viresh, this is also needed for v5.9. Thanks Jon -- nvpublic