Received: by 2002:a05:7412:b101:b0:e2:908c:2ebd with SMTP id az1csp2402319rdb; Tue, 14 Nov 2023 22:32:19 -0800 (PST) X-Google-Smtp-Source: AGHT+IHsdP0oO3/qjTlcOsOznWO2KORUGqeYJL2K7H8mNxNbu9Y6/Ht8j1o5iHQ23mbLEjHrIVH4 X-Received: by 2002:a17:90a:a392:b0:274:7db1:f50f with SMTP id x18-20020a17090aa39200b002747db1f50fmr7129754pjp.15.1700029939160; Tue, 14 Nov 2023 22:32:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700029939; cv=none; d=google.com; s=arc-20160816; b=anGkdNQvt9gK+h7tZWp7yWej43DBIyDha2xohiBmZSc7kSrkW6MOs8vA7NK2Vuz2Hz V5zv8tIVWjlw88vVRcalT747TlH3EB4mL7Q3E2LMUODs89TAI8geV09/BmXjhTyBmkca I++Vgv10NhF+xk1xyQz/zl/+vB49soAmziDltV8gHhdGMu8AsmVG6xXk2KIcjjc4GuFc 74iQ59oKO4VpDGS0QQfrs9FlodjrpAI/XuymMAQlJQH71FR4erxKuA5wjtB1ERlspx6m iNTL4ABB4YgqxLthkS632kX34qN+J6ESmIVCfq7HjM3baTsSg3F2pJtcRfQRtTOuPp8L tBiA== 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-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=KjPeh9ZZjSRMCts51cQqHD3pvna46SMMYGc1kSV+9Ck=; fh=q3XWtribo7iezXD5Qq5c7Xt94b1CUXCR+SczjmqqoCA=; b=LHxtrx/QbrstLEPvK/8abFaxOaIExKojyPDz/fqLTPbbJrP3/o8p8BtXpKMuJGPwQj DCyC4RxVlDJisYXtFkE0eIOBi8PzzY7b5gCtF/4oSPS/kY/PUBd+RwPwP9grtosbgVbJ v3mPEpJ9H7AmTbSsPdr4LzhxwF2DDlJStoZ4iwvgvCvcAXHQOXzYIc8TByvV9qysSl3+ HpPItHd8qmas3AgxlbiyDVlD6Vk6q69KlntzxXb76wNLaTqziS51sEox078Sa7yUyIAQ woGs6g0XjM8k6CFKY9Nu5wUn5t+Og5ClxWHWAUy1MtvNkRResFOKmDQhGxbWu0c1S8t+ 1B6g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Cz2Accjv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 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 agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id a12-20020a17090abe0c00b00282ec3a397esi13792026pjs.82.2023.11.14.22.32.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 Nov 2023 22:32:19 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Cz2Accjv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id AB3FB8033DD6; Tue, 14 Nov 2023 22:32:16 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230364AbjKOGcJ (ORCPT + 99 others); Wed, 15 Nov 2023 01:32:09 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37282 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229551AbjKOGcI (ORCPT ); Wed, 15 Nov 2023 01:32:08 -0500 Received: from mail-pl1-x635.google.com (mail-pl1-x635.google.com [IPv6:2607:f8b0:4864:20::635]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 560BAFB for ; Tue, 14 Nov 2023 22:32:04 -0800 (PST) Received: by mail-pl1-x635.google.com with SMTP id d9443c01a7336-1cc53d0030fso4443445ad.0 for ; Tue, 14 Nov 2023 22:32:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1700029924; x=1700634724; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=KjPeh9ZZjSRMCts51cQqHD3pvna46SMMYGc1kSV+9Ck=; b=Cz2AccjvGfFLpje4uB/UbipQJ5l4xyiYYwyfZO6afu3sMZeGYmlULGN68fUf0rENNP HJdppXqrIZ9bXJ+O74bVsiKNBq1aXdgb3PkIcXrrAI4zV7ckDUy9cqYkTIt8CNLtKo0q dG7l5f0iKX+aEDprqeX3mpF8WW7DDPPrNFqIsFhZplY6gNaWv19N1HhP5aS9MDmbaA0a SO4fd6uTK2+0EsArJ1S5N0TiAee78/uLBZk74OWGixpGu7xY5sjIqV/P0gRBzCXF9aJf 26uY18IEJlfkaEIevFUGcsF9cfJtZnqvUd8mJ6Xhf5zlmAoK2n0y42KgeaitIIwJBrW+ JJLw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700029924; x=1700634724; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=KjPeh9ZZjSRMCts51cQqHD3pvna46SMMYGc1kSV+9Ck=; b=duKGynPFHSsc/cywTHcwQd1ipwXjSpUvw+k7sz/XgDUV+pvgq7R46od9uYp3E+SU64 kNZantf5JDr2WJyiG3aeQPfAQr6OCR3cm3SiCWy6KmKZvcEpSr1u3rAgMdj0LdhsD+vb M3rnDl2CmiIyKBEjkE2Ns8iPw937s9w7u4zWzCDvrpH8vM7ioyYQWc717r9ndPbyE+ik xjgiqhGQEJuOwelECOR1V70cRES9LtzylbBLjZsG/WlHhdNGFXoxt9a7bLm9WnwPoOzx xCTFCGJ4bH9LvRfv8AzAanJPiELBt9aqcxh/rW70zIyCf7eQYtzlB+iEDHs2Hwtf5/C5 Y7AA== X-Gm-Message-State: AOJu0YwXTD+wXKMW0P2EOZT9tEe+4M9groQXQTeibV32ne38W1/zGAsG +TBnvyYqjjsD38/QuQjFqqbhiw== X-Received: by 2002:a17:903:41cd:b0:1c5:cf7c:4d50 with SMTP id u13-20020a17090341cd00b001c5cf7c4d50mr6535924ple.18.1700029923763; Tue, 14 Nov 2023 22:32:03 -0800 (PST) Received: from localhost ([122.172.82.6]) by smtp.gmail.com with ESMTPSA id w1-20020a170902e88100b001c407fac227sm6693954plg.41.2023.11.14.22.32.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 Nov 2023 22:32:03 -0800 (PST) Date: Wed, 15 Nov 2023 12:02:01 +0530 From: Viresh Kumar To: Manivannan Sadhasivam Cc: Johan Hovold , Viresh Kumar , Nishanth Menon , Stephen Boyd , linux-pm@vger.kernel.org, Vincent Guittot , "Rafael J. Wysocki" , andersson@kernel.org, krzysztof.kozlowski+dt@linaro.org, linux-kernel@vger.kernel.org, robdclark@gmail.com Subject: Re: [PATCH 2/2] OPP: Disallow "opp-hz" property without a corresponding clk Message-ID: <20231115063201.rc3pf3pga6zhoqb5@vireshk-i7> References: <20221121073946.GE11945@thinkpad> <20230125042145.hrjpnskywwqn7b6v@vireshk-i7> <20230216064727.GA2420@thinkpad> <20231011054858.3vvnr76u5enu5lf6@vireshk-i7> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231011054858.3vvnr76u5enu5lf6@vireshk-i7> X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Tue, 14 Nov 2023 22:32:16 -0800 (PST) On 11-10-23, 11:18, Viresh Kumar wrote: > On 16-02-23, 12:17, Manivannan Sadhasivam wrote: > > Sorry for the delay. I've submitted the dts changes [1] to handle the CPU clocks > > for the rest of the Qcom SoCs. > > > > For the Qcom GPUs, I've CCed Rob Clark who is the maintainer. > > > > Rob, here is the background on the issue that is being discussed in this > > thread: > > > > Viresh submitted a series [2] back in July to improve the OPP framework, but > > that ended up breaking cpufreq on multiple Qcom SoCs. After investigation, it > > was found that the series was expecting the clocks supplied to the OPP end > > devices like CPUs/GPUs to be modeled in DT. But on Qcom platforms even though > > the clocks for these nodes are supplied by a separate entity, like CPUFreq > > (EPSS/OSM) for CPUs and GMU for GPUs, there was no clock property present in > > the respective nodes. And these nodes are using OPP table to switch frequencies > > dynamically. > > > > While the series was merged with a hack that still allows the OPP nodes without > > clock property in DT, we came to an agreement that the clock hierarchy should > > be modeled properly. > > > > So I submitted a series [3] that added clock provider support to cpufreq driver > > and sourced the clock from cpufreq node to CPU nodes in DT. > > > > Likewise, it should be handled for the adreno GPUs whose clock is managed by > > GMU on newer SoCs. Can you take a look at this? > > Any update on this ? Mani, Ping. -- viresh