From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E869D434E35 for ; Mon, 6 Jul 2026 15:35:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.168.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783352162; cv=none; b=musN7k8Jpy6WxYWLpQQwNgd8bDEsA2R13Gq9loanNeCQyZnI9O5tppf7FLaUvAvZrCbLbMJC88+ztV0OZ1z+A40T+DP9M5trdpG2jh/wCGWTngg0I5PopL7tEgisXgrZn/xxw/0FSVWEakmjgnr4EDuQNQUVIogm1YgdDsGPbtE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783352162; c=relaxed/simple; bh=HdwwW2iPxMo55xo31PeaYKaC9C9c5lBoecOPey2HqeE=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=rTd1TcqHy7zd61jRwgDTfwz7tpBelXNkCEnmAjneVWdkN07mXSZTJf7Qey1PrmTrf/wZkq5Q/wUqBS/tOr8I5rIY42OOhyt0Wjxvs/DyUnr43af5xrY/NmtIsH60HQuncvkPaB65biWxbkyj9i5gywPAgBzRRYNgxDCyTUKrTZc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=oss.qualcomm.com; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b=P62yl7vc; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=jNZI4Wva; arc=none smtp.client-ip=205.220.168.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b="P62yl7vc"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="jNZI4Wva" Received: from pps.filterd (m0279865.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 666FFESY990343 for ; Mon, 6 Jul 2026 15:35:59 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= CFu3+CLuR1Wqk1McfQvrk9SrE2yO/Tatw0kE1ejFwos=; b=P62yl7vc/Mvt/dzV 3MyUrF1pEILkx2F8C9VTrmpmnpEXKoX/nIqigX1Eqadb6Iskeqieg/r0WgGHA/+b YGg0RfeJMF0/JeRBjLIHBSP9/xl6Vt0zBHIqCW0b8NSXiFnjQDwV9mcP1SWiNfmj 0ffPIkGdxV2t9iNW3ytls7tDvsO8Oq1ITDgk58jgNzMMgOwmqPd/17r0howEGJJP PUm829Rz6vDfXXLa5M/VyJBr99UDZODxA1RgxsU1GeBNNNC4jqzd8ooksV8p7Hvu myfw8om36IA1MClvpkCbcVpRNwcX3ozB82pzY8iRqM1uLzXLFtuLZY5PRo90NYJm evu/GQ== Received: from mail-qt1-f197.google.com (mail-qt1-f197.google.com [209.85.160.197]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4f8a3gsh1j-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Mon, 06 Jul 2026 15:35:59 +0000 (GMT) Received: by mail-qt1-f197.google.com with SMTP id d75a77b69052e-51c2d2dd52eso2036361cf.3 for ; Mon, 06 Jul 2026 08:35:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1783352158; x=1783956958; darn=vger.kernel.org; h=content-transfer-encoding:content-type:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:from:to:cc:subject:date:message-id:reply-to :content-type; bh=CFu3+CLuR1Wqk1McfQvrk9SrE2yO/Tatw0kE1ejFwos=; b=jNZI4Wva4yedgQ8aTrGP8Q4Jt2L0uDe8MvEv0IuN4dNgA0DxjTKCMPcPlrEneNkPmg cNt7l+4X76yCe8ASDmoHENhPWv1aVi3Nrw+fp+DyKFWFsID+VCHBTsRs6xGqZqxq+0mw 8nWJaphjHYd6aoakJIdo14XjnfV5u2d5HYrkDfXv6E7s2+/O3h+L7ZdQtQG/dpKZOtKX 05Jdi5jFOrjasAIqgVMRHNfJhYQUfI9ueHmi9pNUhhX9wMBG4StwX+CzMGC7osM8zk1f Rf8RDBhUKdZyQUpKQHeqGLwawY7XoylH9G/Lsek8N0jE7Y8qdYewoDsn44ijTZwKj3wU CXaQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1783352158; x=1783956958; h=content-transfer-encoding:content-type:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=CFu3+CLuR1Wqk1McfQvrk9SrE2yO/Tatw0kE1ejFwos=; b=VRJUbq4RHaYTFKL6BsBQHHa2JdDLAPIxiNWEJ2IGkp2pBPkWyg+Q5CIyXoZQDM18kl hZC/pQLnXwrX0Wbp3VtULkRj9eohaAPyJH20iaqEKlJ77HFuepSy+i2bNVDvY1C5oi6k sBqyASze9ljd0mnq9w9xBPE4B5GUikgIcYulytN1sz1ZL+VGo/H+HuZiiwT/NC3BXmxv 0YT0J/DpkQsHHRI8zNw4YLVyy2VsoVn+cbhOhTr0G9hYYv/ESXauPjoOSqXDfoQ9uxLg uzPzxTOa1ghxiMuuNjr28jwK3BojTlsoNo24Kd3qpbEf9xEwiK5Uyt6Y4Tsoqof5REOd DwNg== X-Forwarded-Encrypted: i=1; AHgh+Rphb40pEQqk8+VEUns2M4/VDC2vWy2RtxdbJZlVSIqxscCoT4kr1BJoh3y64XeSGRjQC/ODh4xvpBA1/VI=@vger.kernel.org X-Gm-Message-State: AOJu0YzCnHA3yRTbzgDVKCCcpVj2vsf2DOswCUaUenKjXrCBZY2yBL2s aU462ZFDZOMNqRNrTjsJ+NcooH3oO+RBPhHSC8nWkAoJKSiAz4uch+y9zFVfEvzxkq64BIPvIzB mg/5SRjIf3e2Q0vaZl5lO0HEoZQzYQ5dPyK9kr9PXcQKAl7WJi2ajYtuE3eyVDglngJM= X-Gm-Gg: AfdE7ckrpCGLgVP4v3CrfDDdNMJFV/OXORj5eVPZ6vIdDLxeG6b1vMu240Aq+BJhZxY IlD8mqE12RWr8uluaXM+AyEH/Qb02yM2E6HlXK7MSx2sZilxpF3qHscnZ5xHLiQ4MW9xQPk6AMo el4Cnyaoj/2wlZqBqfjhnEGaaTO36aiDCmS+eQofVyPxiDR5nDJyTT/+c8FK3m2PPMzfr+om6tP YK1Mg33+RXo68UHvFUCAsy1Ae0c6uyezw+xjXDmupkTvwFdksZq4mRc02paHZsjPE2+BnSyWcXb PWx6WZaP/ymIPgYBmfVICCOMoZgZDun7GFIAhX/HW0FwBGp5PVBCBFWV2E5kPM+UIPfTFKBRTth 5omZhMH1CGNhknDhhpR91KrGym+P0umJKqjo= X-Received: by 2002:a05:622a:347:b0:51c:2101:f0 with SMTP id d75a77b69052e-51c4bda6c05mr106810731cf.2.1783352158101; Mon, 06 Jul 2026 08:35:58 -0700 (PDT) X-Received: by 2002:a05:622a:347:b0:51c:2101:f0 with SMTP id d75a77b69052e-51c4bda6c05mr106810451cf.2.1783352157695; Mon, 06 Jul 2026 08:35:57 -0700 (PDT) Received: from [192.168.120.193] ([178.235.128.140]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-c12b6290972sm775556466b.41.2026.07.06.08.35.54 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 06 Jul 2026 08:35:56 -0700 (PDT) Message-ID: <97a4a44b-7982-4705-85ec-664838658b63@oss.qualcomm.com> Date: Mon, 6 Jul 2026 17:35:53 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 08/12] clk: qcom: gcc-mdm9607: Drop incorrect BIMC PLL and related clocks To: Stephan Gerhold , Bjorn Andersson Cc: Michael Turquette , Stephen Boyd , Georgi Djakov , Shawn Guo , Bryan O'Donoghue , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Taniya Das , linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org References: <20260706-qcom-clk-mdm9607-fixes-v2-0-745565101869@linaro.org> <20260706-qcom-clk-mdm9607-fixes-v2-8-745565101869@linaro.org> Content-Language: en-US From: Konrad Dybcio In-Reply-To: <20260706-qcom-clk-mdm9607-fixes-v2-8-745565101869@linaro.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Proofpoint-GUID: aE3ht1B276tErTUK9xlDP75Gig-7Pqsd X-Proofpoint-ORIG-GUID: aE3ht1B276tErTUK9xlDP75Gig-7Pqsd X-Authority-Analysis: v=2.4 cv=CPYamxrD c=1 sm=1 tr=0 ts=6a4bcb5f cx=c_pps a=EVbN6Ke/fEF3bsl7X48z0g==:117 a=PRfkaYvzSr8QmIIGAkY2Sg==:17 a=IkcTkHD0fZMA:10 a=RAioF0-LDSMA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=Um2Pa8k9VHT-vaBCBUpS:22 a=VwQbUJbxAAAA:8 a=KKAkSRfTAAAA:8 a=EUspDBNiAAAA:8 a=Sy-nuy6jZFkMOSGpH-IA:9 a=QEXdDO2ut3YA:10 a=a_PwQJl-kcHnX1M80qC6:22 a=cvBusfyB2V15izCimMoJ:22 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwNzA2MDE1NyBTYWx0ZWRfX4KUVSHXmcd0B TsJsbVoYDaNvF4A7ssnIWkKzd8pnMdBDZ4lNfHliqwEtkAu8RIOB6jjri6N6ZQNeotb8yOJgrGi Orv5DmuvhMWWXEvV5DEIV2gNoWK5gJJO82DEsHCZs3AtiJmaImsnVKTkcgHrds9riAJHErjVJfd VGzHug7m6cCQONXQ7yzgC94h24z5MAaJkIlbKqARzYgHJkBb7lhOjQ+QT4S2rmnl+OOBdb3CJ0p OhqEaXPB6y6W5VRevKqj/R3pPYwdsobposmbKpmfvCipRNNqeYOAsknYV281oIW3QE28cESrngv sk35ON24CXzApgPdg2sjPZU7W4sHhDmGWasW+TBC26VLCX2K54/b+QDOpLm/EUwT4yPHbIskD8+ CMzWDh4qMNUW7i/oCxyWHYaYzX8J+5H2cVbR2coT1dlFSecRrWE40C0VB2Ynf8Jhm2NUBE3L5Wx Cvc0I5J4JR1hehrjpzg== X-Proofpoint-Spam-Info: AW1haW4tMjYwNzA2MDE1NyBTYWx0ZWRfX5KaPgU8+I+C/ Bd9dXHOFkktf/JnGTZtZW9swq3irTjXuEJ6OIVo6FfKeuk3TEiShcm5zpXivAhB61heeuccEZI3 eWF75X4pp4E8uYHxpLa+xJsy9c7v8vk= X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1143,Hydra:6.1.134,FMLib:17.12.100.49 definitions=2026-07-06_02,2026-07-06_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 adultscore=0 clxscore=1015 priorityscore=1501 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 lowpriorityscore=0 spamscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2606150000 definitions=main-2607060157 On 7/6/26 5:02 PM, Stephan Gerhold wrote: > The gcc-mdm9607 driver was originally based on gcc-msm8916, but a closer > match nowadays is gcc-msm8909. Looking at the differences between > gcc-mdm9607 and gcc-msm8909, there is quite some confusion around the > definitions for the BIMC PLL. > > It turns out the BIMC PLL on MDM9607 is actually an Alpha PLL just like on > MSM8909. We can vote for it using BIT(2), which explains why BIT(3) was > used for GPLL2. > > In practice, the BIMC PLL is exclusively controlled by the RPM firmware and > Linux should not touch it. So far, it was defined to model the full clock > hierarchy, but even in read-only mode with CLK_GET_RATE_NOCACHE this is > problematic since the RPM will silently change the clock parents without > notifying Linux about it. The clock framework reads the clock parent only > once during boot, so the resulting rates will still be often wrong. > > Follow the example of more recent SoCs and drop the BIMC PLL and all > remaining related clocks to avoid reporting stale status data. This means > we cannot determine the rate of these clocks anymore. This is not a big > problem in practice, since these are NoC-related clocks that are > independently managed through the interconnect subsystem. > > Cc: stable@vger.kernel.org > Fixes: 48b7253264ea ("clk: qcom: Add MDM9607 GCC driver") > Signed-off-by: Stephan Gerhold > --- Reviewed-by: Konrad Dybcio Konrad