Received: by 2002:ac0:e350:0:0:0:0:0 with SMTP id g16csp1910412imn; Mon, 1 Aug 2022 04:50:38 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tNsd1tzbz3VjOZzoRnfSXWI+oBgNxmQHnhq5XGvRqm3n5Hj9/g7WySDs+7sWBA2tE3THFp X-Received: by 2002:a05:6402:354c:b0:43c:2cd0:49bc with SMTP id f12-20020a056402354c00b0043c2cd049bcmr15470171edd.48.1659354638310; Mon, 01 Aug 2022 04:50:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659354638; cv=none; d=google.com; s=arc-20160816; b=mIEr8pwdh9/pPO1E3g1pKdtHPT4ZoFxpmQkUfkfrGtJZOoclMGnsE8/k4wa4yNmyyt 0g7iKaBH5Axh1uI2iTtuYedOD8wS5O6l1VwLR2mYSH0kLPOyFCIMaV0xqK0fcx8ER9jB Z+hRlo4J0ib3upYE/7z0mSm7NkzZMxyMQGuIEYEpFR5dmo+osu2KVM4TQU5HEyyVrO/h AX/C+6y+E7EpZB3IQH/VRK7rWcecvc+xQKdQhhIWg7xYE+Dqo8ejsPItqCrP7KM/qiTE 45pfLAjXaRhJxk2+U8N21MPvmEN/zAJKe1F4qPOvzOs59qbVyz3K75ehMsCt/Q1S5axJ YFQQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=jCZfqgpMIYNePan17xLuQgg/2P+1/yoh0ZDJdZ/18tI=; b=vw/hF4jMnjGN7EyBJwd1Qnfnt21qvC+GEzuO0suiZ0neZUfMexrhLtCjJwhryxwJQp /A7alhD6BBjNp2CpkdR/JifeNDns3MDjJhp3XZQPF3DEvgCK1+hhws0SCBbzxsDcRMd6 z3809qFQBOBbKgeHIcEj12o0AqImbQXzhfsVxrjSa1uquBxoz6WJTxwvB+/pNhLXapQG WIRvFSyNCFVOSW4IH/yUA/JcA0eJDeNDja8zGInbpOR+0hWghIIWYQKLLFk+F6eZnb3w VCgtjNgaCMZGEvzf52kBLgzi4pqm4pHng2dv0UyxZVZG0RpIZRypIT+lndVEBSwQWJ3J Awgg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=IDlZWskT; 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=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s5-20020a17090699c500b0072eece129bdsi10532242ejn.59.2022.08.01.04.50.13; Mon, 01 Aug 2022 04:50:38 -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=@linaro.org header.s=google header.b=IDlZWskT; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231494AbiHALni (ORCPT + 99 others); Mon, 1 Aug 2022 07:43:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56790 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231540AbiHALnQ (ORCPT ); Mon, 1 Aug 2022 07:43:16 -0400 Received: from mail-pg1-x531.google.com (mail-pg1-x531.google.com [IPv6:2607:f8b0:4864:20::531]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A33A533418 for ; Mon, 1 Aug 2022 04:43:04 -0700 (PDT) Received: by mail-pg1-x531.google.com with SMTP id s206so9453688pgs.3 for ; Mon, 01 Aug 2022 04:43:04 -0700 (PDT) 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:content-transfer-encoding:in-reply-to; bh=jCZfqgpMIYNePan17xLuQgg/2P+1/yoh0ZDJdZ/18tI=; b=IDlZWskTF70cLwVWU511IykP7AjcAZQRAs8VbYY0NylYCYM0GJ2goPqkXxs1+3oyAL xruycQ6vh21/kXgFQ6YyXhYqPqZ1o1sM/twBunN/05CtkUSL5NTNSUCHOQL3+WBfWj1S 4AcaDOZME9ihzikOxhHpu0dIqXM/TVkSLeCIYgjNTgNpA/o/fx8RZj6i7fG4XxG7J857 a+TOwHrJ0DMEUMKTcXDe6HvsFadmvS+FKR7TchULQyxH8Pc9IWAUDAD5cFxGV9PfKnH7 6kWiotPrDaGVwgmgJ1jE5AIkwo8+ZF8NPfTbwRjIc/oXl6AWhp/dOZfbjp2DwFyzAKT7 8P9A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to; bh=jCZfqgpMIYNePan17xLuQgg/2P+1/yoh0ZDJdZ/18tI=; b=CCkVyoIkQ54h8UOPkEDa0T8EX839DAXVE0hBESbLJJeiczCzmEPvQZva7/0W8kWUCa gAJi0qFl8+27DsO0PGtjfon7upf1JLszjmIAYSz1a114bkyTSCp/ePhGZ2jrm6HQTy7W Tpg/fpEog7iuL/tHGjQfjPRXhYEC2dkxvIob9p7FmQ2uQ4+4HyLaK4LRhdeiRx9ig6HQ g93AUD8JkSLl+LQ6fC/MeFR/9VhbiCuLJtY6kpI4Xqi5ZNT0BwYKFCLZipxEbcafpLiA usOGS5LaMYIbPlFX5YjtFg2Mf7pskDhW8J9yVYHSZTpXdfCodg9eYyAwzhg1pVxv77F1 /33g== X-Gm-Message-State: AJIora/Q5jUngiB4hrVZRQnw8Xq0mZZkzDxgfC/nCwLDljagu7AO5DMV MM+qbvInATe/xAqInGh5JxfbuQ== X-Received: by 2002:a05:6a00:17aa:b0:52a:e94b:67e5 with SMTP id s42-20020a056a0017aa00b0052ae94b67e5mr16104010pfg.76.1659354184093; Mon, 01 Aug 2022 04:43:04 -0700 (PDT) Received: from localhost ([122.171.18.80]) by smtp.gmail.com with ESMTPSA id n16-20020a170902e55000b0016d5cf36ff8sm9496422plf.274.2022.08.01.04.43.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 01 Aug 2022 04:43:03 -0700 (PDT) Date: Mon, 1 Aug 2022 17:13:01 +0530 From: Viresh Kumar To: Stanimir Varbanov Cc: Naresh Kamboju , Bjorn Andersson , Mansur Alisha Shaik , open list , Linux-Next Mailing List , regressions@lists.linux.dev, Linux PM , lkft-triage@lists.linaro.org, Nishanth Menon , Stephen Boyd , Abhinav Kumar Subject: Re: WARNING: CPU: 4 PID: 326 at drivers/opp/core.c:2471 dev_pm_opp_set_config+0x344/0x620 Message-ID: <20220801114301.k6ya3gfyy3pcrzwx@vireshk-i7> References: <20220725102711.p6eerjjzgeqi4blu@vireshk-i7> <20220801023636.p5ytjqasedpohmdy@vireshk-i7> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 01-08-22, 14:36, Stanimir Varbanov wrote: > Viresh, > > On 8/1/22 05:36, Viresh Kumar wrote: > > On 25-07-22, 14:55, Stanimir Varbanov wrote: > >> Hi Viresh, > >> > >> I can take a look and provide a patch to fix that. > > > > Any update on this ? I am going to send pull request for 5.20 very soon and it > > would have been much better if this was fixed before I send that. > > > > I'm trying on next-20220728, but applying [1] gives below errors: > > /linux-next/drivers/media/platform/qcom/venus/pm_helpers.c: In function > ‘core_get_v1’: > /linux-next/drivers/media/platform/qcom/venus/pm_helpers.c:299:4: error: > ‘struct dev_pm_opp_config’ has no member named ‘clk_count’ > 299 | .clk_count = 1, > | ^~~~~~~~~ > > > Do you have v3 for Venus driver ? You don't need to apply anything over linux-next, it has everything you need. The patch you mention is dropped and we carry separate calls to configure OPP resources for now. -- viresh