Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp396311iog; Fri, 17 Jun 2022 05:45:04 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vPOFspFjuwutTK7dCqChc1wYTcutsl7WyvRtNnTAyOjOuw3znIPJQ83kkbgsMAp1y0Ml+Q X-Received: by 2002:a63:7a46:0:b0:40c:4087:4e38 with SMTP id j6-20020a637a46000000b0040c40874e38mr4776673pgn.197.1655469904448; Fri, 17 Jun 2022 05:45:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655469904; cv=none; d=google.com; s=arc-20160816; b=CUhniJhO1H+bmfeZm7bWsxGYp1tjKZxSJfGVT2BKh3P136f9Noo/wuDVHM7KLQKY9Y 3I9wJW1r1p4RsBnigFU0NN2bvci9xNda00eKgxPqs1GG0U4bw/8eebRXwpf807W88L3S Skn05xqw7Qy++AkWE41yG3iXINAfgj0GN0DpOlnJpsT2tCGw3K5DOhR7btcmhJgsTF4R /NjSM4wpQ6jluMWqQ9bssODwVBk93arZVQKYgCH1VABR9Uu2PjB5lnz7X3iXgwRdM02B 1mj7AaztE1UYPzAgOoVI2/QzuHDWt3gb82Uh+Smhf4M14ueSDTH47qVlF5+EcUBHrsgP PiCg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=OSuWjbd9hjYYdQfW5QJp7NNCnHIXVWIUj9UseZZN1kM=; b=Oz1hq1KLcJYu7Hys+BdLkqpoTfLrXFyUNlerp375sEwAHmPx+vPT0xxPZ0T3WbzFBl zIczfDNPttwCdItLbBP3iEEwUZlWjzjrhzJ0UdQKFgyGy4eIVSzc1kI5vSAKozUSdU5i ADO1SEm0uWtkRdk9zi1L0Ja08fRrmmgnI645VUa9ZNTXew72DWJM4uivC6R3Ai1uzW1p 7CSd5nfT2r1BSrysJecRWa7cyrGW7Uqa/xLkT1r0d8LzaloCxqbVlH63Dn/2yenEeyhP lL6wvaqTQvChQiuWvhkEE//6cQbL6MHg6CNskHnBnu5guq8gKZs3NzWqIC6Ic8PwgpdW 8AwQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=XIolfYkv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=collabora.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u20-20020a056a00099400b005170994dea1si5985061pfg.8.2022.06.17.05.44.50; Fri, 17 Jun 2022 05:45:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=XIolfYkv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1382246AbiFQMJl (ORCPT + 99 others); Fri, 17 Jun 2022 08:09:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36318 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239096AbiFQMJi (ORCPT ); Fri, 17 Jun 2022 08:09:38 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5754517598; Fri, 17 Jun 2022 05:09:36 -0700 (PDT) Received: from [192.168.2.145] (109-252-136-92.dynamic.spd-mgts.ru [109.252.136.92]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: dmitry.osipenko) by madras.collabora.co.uk (Postfix) with ESMTPSA id 2A982660179A; Fri, 17 Jun 2022 13:09:34 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1655467775; bh=i83+JJRH3W4qGEUUYF7SQgp3g5O/kI5O54Jr6yQ71BE=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=XIolfYkv5wCh7FeJg7jAXVgOWno+AIsYz2EAAkTSiosvk+Zk6BZE97kOvD8Y3jxIc gJ6mIOFP6jopreRU78cYaOG1ksMT5d9sfuvpTdJqozYEKZazAHBPeBzJMQxMm2QFdb /eW6AT6ci5okv6oddXQcLPOAVV2b4YXjYui2rvZBtPeIhcMvEo1UGuAftRnuK1aaSh fgunC+t7IEtZyroUMbpsy315Y5f3fBwgdWFy6nyo8HK3y14/UkRcN+PVvJfHJxayLh lHGQKhTmNhRbLd4LJMBF/f0+6fw1V0HtcxbbzvzH8CvWDdhwTwFNXRo5cVNAnuEtJG InSQmD26Arhiw== Message-ID: <223d33be-4c73-8605-e2bb-33e4a14682d2@collabora.com> Date: Fri, 17 Jun 2022 15:09:31 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.0 Subject: Re: [PATCH 08/31] cpufreq: tegra20: Migrate to dev_pm_opp_set_config() Content-Language: en-US To: Viresh Kumar Cc: "Rafael J. Wysocki" , Thierry Reding , Jonathan Hunter , linux-pm@vger.kernel.org, Vincent Guittot , Rafael Wysocki , Stephen Boyd , Nishanth Menon , Krzysztof Kozlowski , linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org References: <4b38ceed657bfcf87ff9ab0dd69dd1f2f5658b24.1653564321.git.viresh.kumar@linaro.org> <793e49ea-aeb0-a47a-9fe8-742a6397bb35@collabora.com> <5c0e697e-abca-bcf0-cf68-d9c240d82527@collabora.com> <20220530075256.lpw6bhupejy2dnqi@vireshk-i7> <20220607084351.i4s5veww6irmaf3t@vireshk-i7> From: Dmitry Osipenko In-Reply-To: <20220607084351.i4s5veww6irmaf3t@vireshk-i7> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.3 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 6/7/22 11:43, Viresh Kumar wrote: > On 30-05-22, 13:22, Viresh Kumar wrote: >> On 29-05-22, 19:59, Dmitry Osipenko wrote: >>>> Please keep the PTR_ERR_OR_ZERO. >> >> Ahh, sorry about that. Fixed. >> >>>> tegra20-cpufreq tegra20-cpufreq: failed to set OPP config: -1042688000 >>> >>> With that fixed, now there is another error: >>> >>> [ 1.761945] cpu cpu0: _of_add_opp_table_v2: no supported OPPs >>> [ 1.761960] cpu cpu0: OPP table can't be empty >> >> So we failed to find any OPPs which work with the hardware version of >> updated with dev_pm_opp_set_config(). I tried to follow the path and >> see if there is something wrong here. Failed to find that :( >> >>> I see this on Tegra30, but not on Tegra20. Apparently OPP table >>> refcounting is broken on Tegra30 by this patchset. To make it clear, >>> there are no error without these OPP patches applied. I may take a >>> closer look if will be needed, just ping me. >> >> Yes, it would be very helpful as I don't have the necessary hardware. > > Hey, any updates on this ? I am looking to resend the series soon, would be nice > to fix this before that. > I'll take a look over this weekend. Sorry for the delay. -- Best regards, Dmitry