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=-8.3 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=unavailable 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 16E08C2D0CE for ; Mon, 16 Dec 2019 04:08:13 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id E06142465E for ; Mon, 16 Dec 2019 04:08:12 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="TEjIG57/" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726808AbfLPEIL (ORCPT ); Sun, 15 Dec 2019 23:08:11 -0500 Received: from mail-pf1-f194.google.com ([209.85.210.194]:41236 "EHLO mail-pf1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726725AbfLPEIL (ORCPT ); Sun, 15 Dec 2019 23:08:11 -0500 Received: by mail-pf1-f194.google.com with SMTP id s18so4848030pfd.8 for ; Sun, 15 Dec 2019 20:08:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=wbgkQqezR8N6zK1NxAmtxoUZIE9QlaMc+PiyGq2r8lE=; b=TEjIG57/5hRxBRlaIU6s/Q1HgzaSt/twdXhbjgBoH7h5H4BMDsI+TuphUfDLk/xK9Q 52ZbWfzx2TdmfWHsmxqo6WZpprJgv82SjY7Y/S651ii2BFuc5t2Pb6YjtIJxNHpEjC+D PhRufMFN45KROjk7+qrBNxX4GEaUURodO0oDcHhHHo743/1QNRS7MXIlXsxczyG5eFb4 DiJ+inSReLlrKt9/u2PA/s5wReInxvoIYTllPEyZeN2YzbvDlKHo3IpQiE3QyMlbsJ0V CRq4xXIUj6teqe+2HwBWH/pvktsLhlK/S0j3wRZTBMbRqKgcGA05kNUJ3rJBT8SZdRSl +pew== 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=wbgkQqezR8N6zK1NxAmtxoUZIE9QlaMc+PiyGq2r8lE=; b=gmjLuYVIGKwvgGRmwNFKWsZxCAtcSYHdn6kQFAkcBSnWP+DxLfpIaLcywEZVRumLlY QMgegTBXobFAQMfu85HTXPnCA7FqHnEsmdRHmPYmEmcdeQiF7Gy6E7+aqonO48cEetud C/I5fdeaMto0rdvuljYFgzuaimRRnDhK+FPFyzTRAYnXz+EhJP72JCzqsrYPEceauXA6 CfrlYJG0sKF90oigsYTC5nvhIazVw8UJ5UHClwlUTGjUTE1sNJfz6jd4RT+1hWPiAsOE si5/ioyv7/jtBmowwf97oXmHkbgShtp3gPuaf//X5qooUnsp4C39ztQ5n9osI2o3ReET 0HMg== X-Gm-Message-State: APjAAAWl+UPxK1yALoC2bFdbOyWGOj8+gC8TBAqyJPARUChPPHpAqEi5 d37JnLT2W5l0mdYIvBIX/TrUAg== X-Google-Smtp-Source: APXvYqwCJ4AhFHObrnA/fbRW0LZUa1YD8casinAzvz15hQR21yibms9/hcOl1D9V0rsOa2dPjAv9hQ== X-Received: by 2002:a63:774a:: with SMTP id s71mr15807335pgc.57.1576469290920; Sun, 15 Dec 2019 20:08:10 -0800 (PST) Received: from localhost ([122.171.234.168]) by smtp.gmail.com with ESMTPSA id f9sm19793220pfd.141.2019.12.15.20.08.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 15 Dec 2019 20:08:10 -0800 (PST) Date: Mon, 16 Dec 2019 09:38:08 +0530 From: Viresh Kumar To: Dmitry Osipenko Cc: Thierry Reding , Jonathan Hunter , Peter De Schrijver , Prashant Gaikwad , "Rafael J. Wysocki" , Michael Turquette , Stephen Boyd , Peter Geis , Nicolas Chauvet , Marcel Ziswiler , linux-pm@vger.kernel.org, linux-tegra@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v5 07/11] cpufreq: dt-platdev: Blacklist NVIDIA Tegra20 and Tegra30 SoCs Message-ID: <20191216040808.w67jxu7oapxgm7yh@vireshk-i7> References: <20191118164512.8676-1-digetx@gmail.com> <20191118164512.8676-8-digetx@gmail.com> <20191216040532.mzdovqoub5rdztwb@vireshk-i7> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191216040532.mzdovqoub5rdztwb@vireshk-i7> User-Agent: NeoMutt/20180716-391-311a52 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 16-12-19, 09:35, Viresh Kumar wrote: > On 18-11-19, 19:45, Dmitry Osipenko wrote: > > Both NVIDIA Tegra20 and Tegra30 SoCs should be blacklisted because CPU > > OPPs use supported_hw and thus platdev isn't suitable for these SoCs. > > Currently cpufreq-dt driver produces a bit annoying warning splats > > during boot because valid OPPs are not found, this will be fixed once > > tegra20-cpufreq driver will be update to support cpufreq-dt. The warnings > > will also happen on older stable kernels using newer device-trees, thus > > this patch should be backported to stable kernels as well. > > > > Cc: > > Reported-by: Jon Hunter > > Fixes: 4053aa65c517 ("ARM: tegra: cardhu-a04: Add CPU Operating Performance Points") > > Signed-off-by: Dmitry Osipenko > > --- > > drivers/cpufreq/cpufreq-dt-platdev.c | 2 ++ > > 1 file changed, 2 insertions(+) > > > > diff --git a/drivers/cpufreq/cpufreq-dt-platdev.c b/drivers/cpufreq/cpufreq-dt-platdev.c > > index f1d170dcf4d3..aba591d57c67 100644 > > --- a/drivers/cpufreq/cpufreq-dt-platdev.c > > +++ b/drivers/cpufreq/cpufreq-dt-platdev.c > > @@ -121,6 +121,8 @@ static const struct of_device_id blacklist[] __initconst = { > > { .compatible = "mediatek,mt8176", }, > > { .compatible = "mediatek,mt8183", }, > > > > + { .compatible = "nvidia,tegra20", }, > > + { .compatible = "nvidia,tegra30", }, > > { .compatible = "nvidia,tegra124", }, > > { .compatible = "nvidia,tegra210", }, > > Acked-by: Viresh Kumar Oops, pasted the wrong register here :( Applied. Thanks. -- viresh