Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp565737rwr; Thu, 20 Apr 2023 03:30:00 -0700 (PDT) X-Google-Smtp-Source: AKy350aANpGXArZ2s1dlP3Fys2Pg4OEXBolbIyR9m5FAZy/lYa+FykHjYUR2lOcKm/I6su/8o+yK X-Received: by 2002:a05:6a20:4324:b0:ec:8859:7aa7 with SMTP id h36-20020a056a20432400b000ec88597aa7mr1366678pzk.62.1681986600167; Thu, 20 Apr 2023 03:30:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681986600; cv=none; d=google.com; s=arc-20160816; b=SJBD7Ee3F1zJN1iXfCL9X/CmEbrMeiRw6eZ5lBvozB+duGqQLHQExr5LNHc3VTBLqz Xl3tdMBrCZzmKpM67oAX4dkKEJgs47esVV6Qb44qs9QlBAzMP5fDm90UtyQbxNH1Bypf 3lSQ27dk5O1MKd8uAdXYJitq92uOu1f9rzkuT/69d5Dd2a3LPwCWY4xcLD4UpSiftRgG yeEVXJNCLocllqZKdJOPLd/e1mN74HR3OHyR9K+wCO7WbyaafCdmRKiwHv7YT49WjNWE jjc2v2BQoQ4+3O/ZpLalq7ogEKXFBxRU1H60hYJZxMfMPj/LSXtFF4obuJT30hCK+L2a N2LQ== 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=K4p+Jwfh4f6O4EpesT7nZbdGy3tVSOOPuyRDN6YS6gs=; b=WSbePsEID9lwenoAWJKDy4Om75XRFUJALAXtBFSYSyyq+SzluAdH7kSgj36L/5BJ6C 3DiUhhTcsbT4ADRPFc4kPcs9vQkjCOmpiVN4dty1XX4IJnd5T4MLcd34i+3CVIy1mPCZ fRhhB681cLiYpiMnshz2Bfy1S+kXJmT1qB6RKXDFZ20OGQlhxKUQXGRUR8n8qaRu20oC AZBe1m9KEbMC1wq0Hs9O9iScPwJj4/AK+IzYOhDikELtAae5e0yyvaBi3ryqjbPB/Plz NK724d6YbsK2iYwiIqk1GJXGEHOEEDvn7ao2sAVVe9lpzDET4NlNZsVWKMpu+3hxO9xT MAPQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=EAwDI9yy; 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 z1-20020a63d001000000b005023e0f160dsi1335125pgf.489.2023.04.20.03.29.48; Thu, 20 Apr 2023 03:30:00 -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=EAwDI9yy; 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 S234349AbjDTKWO (ORCPT + 99 others); Thu, 20 Apr 2023 06:22:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35056 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234200AbjDTKVg (ORCPT ); Thu, 20 Apr 2023 06:21:36 -0400 Received: from mail-lj1-x229.google.com (mail-lj1-x229.google.com [IPv6:2a00:1450:4864:20::229]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CBDF21FC4 for ; Thu, 20 Apr 2023 03:20:43 -0700 (PDT) Received: by mail-lj1-x229.google.com with SMTP id h8so2221046ljf.3 for ; Thu, 20 Apr 2023 03:20:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1681986042; x=1684578042; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=K4p+Jwfh4f6O4EpesT7nZbdGy3tVSOOPuyRDN6YS6gs=; b=EAwDI9yyVDLLbl6cAmcIwJbwcp8ZpDiZ7blcuGT4r1FqsctbdaZ4XrGUljVnifY3Zn Gndd3JpvtkoUpNJkkB37SgCfPDPh3+TTL6sH3TGYYmTp99MHNg1Q5KxI+eItbzsIWlRv UDveXKcjkTTPp4ZqP0Hx+0XrHpoNUfoJDi/J2NinFWQ1GW19KdEjHhm80L9X4DW/rc1j eFWJVxxL9lI1ylb4JevgcquIYmeSA+0qUBd/wWCniICejXyZTJVK4RLwiUlHvueh+dUa W/ST1rGntxJ+10N1r1mCsoT4xsmxNi34U/nXKOmhH6O6HRePbYTO9OLzUdPrQjc+Oq84 5BCg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681986042; x=1684578042; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=K4p+Jwfh4f6O4EpesT7nZbdGy3tVSOOPuyRDN6YS6gs=; b=NH6j2Ymid6Lznp3MXLG/qu7SFxJImLjUjDtSERFOAgPPV/15tBX18AOM9baaKyTbRA XZv274T5OUM2cmii8RJy3RTYvKu53vvm4XcFeagGium/8aT+HfHt982M08NPrGnm/E7d Mjm6lhXFggu7zeL1qEo9SxSfcqDUhmAJq9UM93UBhsk26Ei8NHiTpLUtKC6ztWEggxyr 8xQo3SnNJCTkt12rDyLQ9/MB6G8xopvDYLb26EoZVeUKwciOywBfQ1GEI+a4zfxukWSw ZNyNdbb9+8MWoHN0VRogCZ3bJUB0fn6dqJPQm1l7ESjbuMdngS6MpVPYR8YWV7Bku/MP u2Ow== X-Gm-Message-State: AAQBX9c6zr2YJdKAu/vjAoJRxL6/777o7i5kzJzPYBvv0UyBHG9Naz6D n4uozDpjsE1uowcOk9ZEEZRyEg== X-Received: by 2002:a2e:9895:0:b0:2a8:bc05:1d7a with SMTP id b21-20020a2e9895000000b002a8bc051d7amr258934ljj.30.1681986042057; Thu, 20 Apr 2023 03:20:42 -0700 (PDT) Received: from [192.168.1.101] (abyj144.neoplus.adsl.tpnet.pl. [83.9.29.144]) by smtp.gmail.com with ESMTPSA id n3-20020a2e8783000000b002a8e4678da4sm186778lji.139.2023.04.20.03.20.40 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 20 Apr 2023 03:20:41 -0700 (PDT) Message-ID: Date: Thu, 20 Apr 2023 12:20:39 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.1 Subject: Re: [PATCH RFT v2 00/14] SMD RPMCC sleep preparations Content-Language: en-US To: Stephan Gerhold Cc: Andy Gross , Bjorn Andersson , Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski , devicetree@vger.kernel.org, Shawn Guo , Taniya Das References: <20230303-topic-rpmcc_sleep-v2-0-ae80a325fe94@linaro.org> <66c41caf-bf21-61af-c6e4-52b34b69c1ce@linaro.org> <6175f709-8c88-6ec3-4c31-cac9f2440b52@linaro.org> From: Konrad Dybcio In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, 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 lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 20.04.2023 12:04, Stephan Gerhold wrote: > On Thu, Apr 20, 2023 at 11:36:24AM +0200, Konrad Dybcio wrote: >> On 20.04.2023 09:56, Stephan Gerhold wrote: >>> On Thu, Apr 20, 2023 at 03:50:16AM +0200, Konrad Dybcio wrote: >>>> On 8.03.2023 22:35, Konrad Dybcio wrote: >>>>> Keepalive clocks for other platforms were gathered by digging in old >>>>> downstream kernels, please give them a test. >>>> I have an implementation of rpmcc-within-icc ready(ish) locally. Turns out >>>> some SoCs need a keepalive (19.2MHz, active-only) vote on clocks that >>>> are NOT governed by interconnect.. So before we can disable clocks, >>>> both will need to be implemented.. ugh... I was hoping we could avoid >>>> having it in rpmcc.. >>> Can you give an example? Which clocks are affected on which SoC? >> msm8998/sdm660 and PNoC > > I don't see a PNoC for 8998/660, do you mean the "cnoc_periph_clk" It's the same, but Qualcomm kept changing the name every kernel release, so that's why we have 50 defines for the same thing upstream :( > downstream? Like the other NoCs it seems to be a RPM_BUS_CLK_TYPE, which > means it does fit best into interconnect in my opinion. From a quick > grep I don't see any usage of it in msm-4.4 downstream other than the > active-only keepalive vote. So maybe you could just send that vote once > in icc_rpm_smd and then ignore that clock (don't expose it at all)? Hm, perhaps that does sound like a good idea! As far as I understand, it's governed internally.. Older SoCs had a separate PNoC fabric exposed. Konrad > > Thanks, > Stephan