Received: by 2002:a05:7412:da14:b0:e2:908c:2ebd with SMTP id fe20csp700759rdb; Fri, 6 Oct 2023 16:50:37 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHy/dcXiU4t/rud74aoPWqZZiWrLj5giizRlsglOWw0/1D5Z1D/Y00GuIbOb+Z63CQ7BySf X-Received: by 2002:a54:4e8c:0:b0:3ae:5e0e:1671 with SMTP id c12-20020a544e8c000000b003ae5e0e1671mr10088367oiy.4.1696636237461; Fri, 06 Oct 2023 16:50:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696636237; cv=none; d=google.com; s=arc-20160816; b=KMibDAoZG8qIJ2YUkK/hGKdZUqHCc2W4OiFwYbt07QE6H7QSSRd+C0SDU54v1Ur2kl CQ4Pgs8Y8vdkY1Su/zBmReaxdfpO/MEmjww1UBHpyTN0yGAvh3UH5OrCPKhIe0u8Fxfc O8O6Y4REGWMdnu8Vd/kk7sNFaaDizzgcpusyGZ5Kk+xNHu7YI8bOriZYJM0hcjCjchoo TxetH1tq4n4QXgezMuTyzTn2Y01F7TSpKLy1jNSs5f9i4f+pkCqtdkCs597KNvIBGNMQ nN5EcWIZAES0wTuHEcK8iH9HC/jBT/UPx90ln5GRVx7kS0P+H6k0DiPYDn2Hj3EbrDOa RErw== 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:autocrypt :from:references:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=Hu3bT/bg5MKS5nmmxKBtPj+L+cYk6yo/9FATsBXH5cw=; fh=32b/H9bIMmVis5nQCAhe2zAjz5W1qXdnschRt7sP7i0=; b=TBAFFzt9wtR4hnOT45z0XPLUu5+HBUucks6F74mM2tp11Q+k59NZuZ4VjEl6HWbkoX xAQnH3KPUKVD8sUWlDkwJtrGjWKCjAheL4fYgl+SNDZacMH1TZxvBerVrdKy06KIRdi3 ub9qq1/VWLmPkdVgQ7qh+Iu7H0V+NlVaAr4sKQfEgHDaMKciZwAC8tYQ/d/3uithjh9D gnB9FDQGsMdGGBcGPNc06jBwesqv92H8GyffmBFYHTHJdtBeLwkahKfGvcWZx/8A4B8Y sRXZnJjSj/+XpPcRgwXjWuqxOu2cwVPq2Vo7Aaz2IeF7c8NyDd8bRAlVzNlp04+zilOJ d/NQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Q2aDheJH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 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 pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id bs70-20020a632849000000b00584e52f3ee9si4754245pgb.61.2023.10.06.16.50.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Oct 2023 16:50:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Q2aDheJH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 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 pete.vger.email (Postfix) with ESMTP id 0160E84AFCB8; Fri, 6 Oct 2023 16:50:35 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233754AbjJFXu0 (ORCPT + 99 others); Fri, 6 Oct 2023 19:50:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47106 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231381AbjJFXuY (ORCPT ); Fri, 6 Oct 2023 19:50:24 -0400 Received: from mail-lf1-x12d.google.com (mail-lf1-x12d.google.com [IPv6:2a00:1450:4864:20::12d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8B983C6 for ; Fri, 6 Oct 2023 16:50:22 -0700 (PDT) Received: by mail-lf1-x12d.google.com with SMTP id 2adb3069b0e04-50433d8385cso3519043e87.0 for ; Fri, 06 Oct 2023 16:50:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1696636221; x=1697241021; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=Hu3bT/bg5MKS5nmmxKBtPj+L+cYk6yo/9FATsBXH5cw=; b=Q2aDheJHgY9rNzmLrEsttfsxEM5k5KztOuuMAcx2M6WduuDJbm4RPZy40PrOiXuN8o 7Cwyk4e9jdgBvJNeM4BUh8s2UaRT3uW0+ZiWAsxvOVXM4y1fMhewVWZ9a3BoKz28L9dv PTjtgX83/TtMK/xMUJUXh8gwafRpGo8trmDtqXsyf6vfQZuGK6CfjGORsL5SZZNfmwSy V8WDqlvkLzl36upg+Ze7neCkI1CUHpGMSDs9ELFiC/IBNSWXNQmfglSxr+JbI3fPbUYw yBaOgif4Gp+CcESe1aOwf/zfve96aXTmKwHB1BMYvl1javV+QNalX92nKF4lPs0XSKuA pHjw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696636221; x=1697241021; h=content-transfer-encoding:in-reply-to:autocrypt:from:references: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=Hu3bT/bg5MKS5nmmxKBtPj+L+cYk6yo/9FATsBXH5cw=; b=Hf4Rfw4sqr7/QYs5HkOV99BmDkDMcc4ncKCjUjAGqgBpkTcjCYAgNSBcgOykCSqYd6 kOJ310FdUnhl9EsZQ7liwU5jPICAf8xKC2YwpH72fJ29swFL2ZIjogZizdiy3YtWyBiO Ieuylv+2i3iLFaxecouJ2rH2OqQ8p5pvWYfw3m0+oGCer/DgADMwsMZMuDjvrEB4S1dD ODp6c+6fiy8maldcoCgQn8DMdwGTVpQP/inhHxIR2LskQ1Kmd8O7/6vDMoSjfNa9N4sJ uSNVqagTnsZ0tW8qg5sYpzOkraMsr3Xz5iYvqUFS74cK9n+FGkj9xEXf9s3b+JZQ2ntE AJjg== X-Gm-Message-State: AOJu0YydVrz9o906lMUAvLjvifk1UNf5r33AgeRQG4ytace/Y0rUB7QY 3NKi9tfzg/a4ypsAPMIVFu/zMg== X-Received: by 2002:ac2:44af:0:b0:502:adbb:f9db with SMTP id c15-20020ac244af000000b00502adbbf9dbmr7680338lfm.65.1696636220713; Fri, 06 Oct 2023 16:50:20 -0700 (PDT) Received: from [192.168.200.173] (178235177147.dynamic-4-waw-k-1-1-0.vectranet.pl. [178.235.177.147]) by smtp.gmail.com with ESMTPSA id u7-20020ac25187000000b005047bf13b6bsm480681lfi.42.2023.10.06.16.50.19 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 06 Oct 2023 16:50:20 -0700 (PDT) Message-ID: <0eebfc14-dbcd-4987-9e94-ea5630b6c268@linaro.org> Date: Sat, 7 Oct 2023 01:50:18 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] clk: qcom: gcc-msm8953: fix stuck gcc_usb30_master_clk Content-Language: en-US To: =?UTF-8?B?QmFybmFiw6FzIEN6w6ltw6Fu?= , Bjorn Andersson , Andy Gross , Michael Turquette , Stephen Boyd , linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org References: <20231002170021.192740-1-trabarni@gmail.com> From: Konrad Dyb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Bs5IDLAXmW8v3gIDWyIcgYqb2v8QO2Mqx YMqL7UZxVLul4/JbllsQB8F/fNI8AfttmAQL9cwo6C8yDTXKdho920W4WUR9k8NT/OBqWSyk bGqMHex48FVZhexNPYOd58EY9/7mL5u0sJmo+jTeb4JBgIbFPJCFyng4HwbniWgQJZ1WqaUC nas9J77uICis2WH7N8Bs9jy0wQYezNzqS+FxoNXmDQg2jetX8en4bO2Di7Pmx0jXA4TOb9TM izWDgYvmBE8= In-Reply-To: <20231002170021.192740-1-trabarni@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=2.7 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.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 (pete.vger.email [0.0.0.0]); Fri, 06 Oct 2023 16:50:35 -0700 (PDT) X-Spam-Level: ** On 2.10.2023 19:00, Barnabás Czémán wrote: > According to downstream dwc3-msm source this clock has FSM dependency on > gcc_pcnoc_usb30_clk so enabling it would fail if latter isn't enabled. > This patch add works around this issue by changing parent of > gcc_usb30_master_clk to gcc_pcnoc_usb30_clk. This is acceptable because > both clocks have same parent and are branches/gates. > > Signed-off-by: Barnabás Czémán > --- "meh" There are multiple cases, especially with qcom, where there are some magic "dependencies" without parent-child relationship. The common clock framework doesn't currently have any good way to handle this, other than some mind gymnastics like you had to do here with matching them against a common parent/ancestor.. Stephen, what do you say? Konrad