Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp1997045rwl; Thu, 6 Apr 2023 04:33:55 -0700 (PDT) X-Google-Smtp-Source: AKy350aaiJGkYCVM6vCmjHFvHuUwM4rSdfWTn6rAcvwDJ5k25LgYI0MrZ7Iw+fFLC96UiWAq3ENA X-Received: by 2002:a17:906:fc09:b0:947:c221:eb38 with SMTP id ov9-20020a170906fc0900b00947c221eb38mr5801938ejb.13.1680780834754; Thu, 06 Apr 2023 04:33:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680780834; cv=none; d=google.com; s=arc-20160816; b=bLKjA9TKU40xrMBlALRFz6y3MR6vEUDWQ2UlJyUv4MUOt06Kex+JAlHBvAi9DExLTG eub+uVQlFf7RWJkQ1zMjX2vZpW4C/R4lDBZnzayULdTjeUjdBny44X41Dbs69bIBYoAR GuE/ji8GjgiGFo6jHWi3GskfuO2+NamfoCDJYyAZfAyYqB/wB3aKUlxINNCNuhnvbJFt bJS0fcu8MLxfs0hxh8gbglan8/sKZ+Y+fXemBAVnvllj7tifNsGYnnQ7pTjMoJ9JppcQ dTOIq2ZhY/D6Y+uXmvo5+Mf03cmg8GQhd4MwdzPu108L3t3zXPrCnmOr1ZYLckXsc9Te WvIw== 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=VVYIWGq4i6dA7mptOSiojPV+t8IuNlJMGsWdumEtmJY=; b=LTqoKE55di53ccXZapl3c1xoGLQqUMBfAMFcte55mwEwjsCvBX8fZiIs6RJi8heC98 mP9J8LJ9uZqvTL+8scNQlrJKU5RnpH5UefvjKpXmFsMzW+UkvhAtoWWEmSBayQBaFH5Q uS5Kda95nyNSiplO93vDXZRsidBlZ1QIaNu59zCMwNWiqmg8sM18CbNq7EIwyFgN7jqZ fFlDvJrYydkIc9hA9jQggU3KniP11RX8AmbEy9ASJMBz5JxQSZitytN2ZZbc2N/GfDkz qjlWe/TxRR5KRFtixA0b99XG64+IEuOkAZaRY79JjcjY92ybFTFOrSkortjuAkTqablT A1Hg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=aBRp2Tyb; 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 nb31-20020a1709071c9f00b0093e601a52e9si1475452ejc.41.2023.04.06.04.33.29; Thu, 06 Apr 2023 04:33:54 -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=aBRp2Tyb; 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 S236335AbjDFL1z (ORCPT + 99 others); Thu, 6 Apr 2023 07:27:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58646 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236617AbjDFL1y (ORCPT ); Thu, 6 Apr 2023 07:27:54 -0400 Received: from mail-pl1-x631.google.com (mail-pl1-x631.google.com [IPv6:2607:f8b0:4864:20::631]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 888AB6EB6 for ; Thu, 6 Apr 2023 04:27:52 -0700 (PDT) Received: by mail-pl1-x631.google.com with SMTP id q2so1120196pll.7 for ; Thu, 06 Apr 2023 04:27:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1680780472; 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=VVYIWGq4i6dA7mptOSiojPV+t8IuNlJMGsWdumEtmJY=; b=aBRp2TybN8A4n7Pbx5BHPBr1pbUuJ0Fl3dWc1qpre611cKpnH5K0INx9pyGMMEk9x8 wQnaKbV1klXy7jb+YbVBQrYUiDsfJblpn8ceDB/KqbmfElOnpZIwMpQdqPTrGtKEoNR/ K/X8g847ziUeBmxzFjfnapI2bhcnXF4GrhB2rGSfR3dsWmCleeOetxcJ7l+ghXmqLbov YA2gbbbWaQ0Hh31m3lGLpdYXXCuzpUu3qS5vd96TlI5LYaHyQhWq9gF9EGUaceydiI+y /RC6aHNeXi8XUAzb4tzdSh7mhVON3kz3ZhTTSb0XAByM9xQPrL11TkXwg75tVNpKyMTq Avmw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680780472; 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=VVYIWGq4i6dA7mptOSiojPV+t8IuNlJMGsWdumEtmJY=; b=vc3g5z9WkSEl21CgeWSGYwGFLAlkUcfqUMGS+zD/pIe75SyvtIQIQZkYffpNfrCNLi rMSeozom8AY8t7gVBZ5HwQkUTBSaurM5KnL9o6KS9VQkw/u3NrVyQWtbDfLDsedG3VsV 5bEOGZ+eS0+dESLowJWNRGej4mUlfnTjnsXDOj/Vksh/Usnu0YTPYybC4+1gcNfzhmCr Rm5AVgvBKa1/BuHpFjdqU1CY9kmpT+rVbr81c+ka2T6n+uNCyBzcFNG8XvZCUWng7nbT LC13lJWsrhVzvCwxWvUXI3NecfmGLkPLopep4u5zSbm+PQhe1PU04uJKVGYwk73hN7XI pwhA== X-Gm-Message-State: AAQBX9cyU6jjO6/ArU7WH5Ji6GzYKyT5yfBjoAXJv8Mzk9xbeVSb6L9Y a3OpjmzFWgn93AcB9e/g/h9CkQ== X-Received: by 2002:a17:90b:4d90:b0:240:95a7:be70 with SMTP id oj16-20020a17090b4d9000b0024095a7be70mr10383649pjb.19.1680780471973; Thu, 06 Apr 2023 04:27:51 -0700 (PDT) Received: from dragon (80.251.214.228.16clouds.com. [80.251.214.228]) by smtp.gmail.com with ESMTPSA id p13-20020a17090a348d00b002310ed024adsm2973879pjb.12.2023.04.06.04.27.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Apr 2023 04:27:51 -0700 (PDT) Date: Thu, 6 Apr 2023 19:27:39 +0800 From: Shawn Guo To: Konrad Dybcio Cc: linux-arm-msm@vger.kernel.org, andersson@kernel.org, agross@kernel.org, marijn.suijten@somainline.org, Michael Turquette , Stephen Boyd , Rob Herring , linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] clk: qcom: gcc-qcm2290: Mark RCGs shared where applicable Message-ID: <20230406112739.GA132120@dragon> References: <20230403174807.345185-1-konrad.dybcio@linaro.org> <20230406040433.GA111746@dragon> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-0.2 required=5.0 tests=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 Thu, Apr 06, 2023 at 01:18:44PM +0200, Konrad Dybcio wrote: > > > On 6.04.2023 06:04, Shawn Guo wrote: > > On Mon, Apr 03, 2023 at 07:48:07PM +0200, Konrad Dybcio wrote: > >> The vast majority of shared RCGs were not marked as such. Fix it. > > > > It seems we completely missed this shared RCG thing, as vendor drivers > > do not use it. Could you help me understand a couple of things? > > > > - How does vendor driver handle shared RCGs? > See paths with enable_safe_config in e.g. > > https://git.codelinaro.org/clo/la/kernel/msm-5.4/-/blob/66f3180d36f49f9bf6c1a6712acbb0c75f6ff516/drivers/clk/qcom/clk-rcg2.c Thanks, Konrad! For the patch: Acked-by: Shawn Guo