From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=205.220.168.131 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1792477823; b=4j4cMf8yQa/Tk7ZZuv6c6txcjX6eNRbC1fuBTrkchAUeO9TzU53mf3K/KAVLJqb5/rWU niLmc+oFzK15uwYU7iFlfmv+iI9cChs5uQJcan28U6mKWRVtFEPwYItLDVInCH7ArNiWQ IyThXNgtSv5IewjvZuKBnmUW+Al0LF7dGQFrtsm0Gqe2loqfD9NCbGpB3AWSM3DeFnDG3 m6hCKhsvZnm6H3aGYWMqcHhJijdTV8y4E2iAuUTYm2JdsdaKpB18hMbYTbOp/OBvEmcaw Q6s8KNVKa4Pl0wL7RRcDzU/Jlcev0OlNs6uIuBbBIoCLhBfAmwwjEF+qu+Vu8Y9VQTw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1792477823; h=DMARC-Filter:Received:DKIM-Signature:Received:Received: DKIM-Signature:X-Google-DKIM-Signature:X-Forwarded-Encrypted: X-Gm-Message-State:X-Gm-Gg:X-Received:X-Received:Received:Message-ID: Date:MIME-Version:User-Agent:Subject:To:Cc:References: Content-Language:From:In-Reply-To:Content-Type: Content-Transfer-Encoding:X-Authority-Analysis: X-Proofpoint-Spam-Details-Enc:X-Proofpoint-Spam-Info: X-Proofpoint-GUID:X-Proofpoint-ORIG-GUID:X-Proofpoint-Virus-Version: X-Proofpoint-Spam-Details; bh=pKPCIIT6M/fMZi6tJxyHxHDP0VxtrN0zYyqL+KEmnBc=; b=2xjiQ5ZRkJXnlaP97Lo7lL6HTQKo9iuVXk1IoPsSTob9a31+i//xmCpMpG/ksxz5cRgU +Rd3RBULGw4OLkzPAoswPVTHXYQds0LL2SBrDHVCXjlKXFwLlqtA7DQn2y5NdXYGVsIN3 l43MpeVK2L499TS7OidDTEKadHBIFNY/Wqx71cNZDjWpKEKch5C2UNsvnShNLRdswfCBk qGU7oNzbsCLmWbKQptq/lgvdqJ9UbFqVbxrvis1jF9pauQQeiitvV2T2DDAV4+ODCVFKC uIlEqBNXE+udzjxHL5rRdl0HF8q3ugrFAuUf180Rz3avvGGuG7pv1SB+Lzlie/zPtkA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=oss.qualcomm.com; dkim=pass header.d=qualcomm.com header.i=@qualcomm.com header.a=rsa-sha256 header.s=qcppdkim1 header.b=BmmpDTzX; dkim=pass header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.a=rsa-sha256 header.s=google header.b="OrpnJa/1"; arc=none smtp.remote-ip=205.220.168.131 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 47D2C606A324 for ; Tue, 20 Oct 2026 06:30:23 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 47D2C606A324 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, unprotected) header.d=qualcomm.com header.i=@qualcomm.com header.a=rsa-sha256 header.s=qcppdkim1 header.b=BmmpDTzX; dkim=pass (2048-bit key, unprotected) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.a=rsa-sha256 header.s=google header.b=OrpnJa/1 Received: from pps.filterd (m0279864.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 69K0tGm72877942 for ; Tue, 20 Oct 2026 06:30:22 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= pKPCIIT6M/fMZi6tJxyHxHDP0VxtrN0zYyqL+KEmnBc=; b=BmmpDTzXNc+YX4st bfe/NK2/6gFZ4vdG1tyysppxiH7aai6xMjWcsJrYj7qGW3tmsHtp4wC7y2cg7EfT i90zz/I9Oj1mq5SA3QsTBGdRMutye2yOnUXVBNWpqr/X7QujmY1+hygCKkVS6nPs 1aqRNYQwXNVM5Psv2l/yDvpqBw52Ucr74WakHHhfxfLfMiCMTfzRYFd7Qs8SANQy 8pC5f+COiz5ScmO/Lo3xQqo8NPIKLfX3F0v8Xf2nLNOSTKrQy6MdwhdVurjWafTo JM3UTDMxJED4vimMW1OOJm4nL9LUiKbvau3ddjQJfuWmWLhKj9HyjsULIalrPcv3 F/htkw== Received: from mail-qk1-f197.google.com (mail-qk1-f197.google.com [209.85.222.197]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4hdw5ps5v5-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Tue, 20 Oct 2026 06:30:22 +0000 (GMT) Received: by mail-qk1-f197.google.com with SMTP id af79cd13be357-93edac58b24so94538485a.0 for ; Mon, 19 Oct 2026 23:30:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1792477820; x=1793082620; 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=pKPCIIT6M/fMZi6tJxyHxHDP0VxtrN0zYyqL+KEmnBc=; b=OrpnJa/1RfQTQWtVKVd+9K+TeDF77K3v5UngTSzUdHZLCn45jbYaFRDRxQZq9y9yQG zubdwksfx+KwJmrg/EbXJnv9W/OZ5dLTfZomfyc+ldWt/W0BATsFFACgYQKNcUex1+EM rgyysjmXU/+pF1ZxQdE9J0DaSgFsO2uA+Tg/43Wp3VVbU+MYTth2doQyhd0EpBmMIWok xw1VVAqPAoOdt5Pmw2SxC8tVWTptE5BMVLGE3+ThjrmRV1hU58FukMQfq2tB9J37uk2g q/W0ivLz1XWPC3mSZbUctf242nQLaTpdogHf6CXxnLIhREMiBOL9MRXIQqg+m1nRQgXn aRHg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1792477820; x=1793082620; 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=pKPCIIT6M/fMZi6tJxyHxHDP0VxtrN0zYyqL+KEmnBc=; b=A1GZgWSQQC+c9Cgj5akvog1uR4pNBneuaF3kqJBom308DsWbHk3VjeXrV2h6d0wtNq TJBdmQfsAayRRd5Y/JZ/5b2Gq+N4O6VvfnjpdAtY919GMTR1oQ6FXdR3Xz+sZ9p4y36c UU3qCsHpJHZiXeIL/RwkOAPMcnct6vndaH6IQLN/pQCjBn1zf3h5/59KPzIHNvQtjeea tZLl/8B1V08my5Mzsmi/hqIP44pQUagvpp/MzJQRpsDrL+kh92xHl+u33g4O6o9ec+Fd P0Kt1ISszmwUjXt9ZNKMcwgA/pa/MDmEPWc+ABYiDKwTfo3h7vDf5BsGqaGNX4lZGkyY +9gQ== X-Forwarded-Encrypted: i=1; AKwUvBz8ACHyzMWXtIR4SORQEh3ETlTs76jHg01KbJSiPaa0i4DUPgYVnmd+f0N5cu4fQR4wKAz0b6Qrx+7K@vger.kernel.org X-Gm-Message-State: AFq9FYJW/cUcQWxCjluz1DDykoZcgvyfQZkOuvywM8FwxSi530dh7iS5 uQDlaCQTnOhYtRmmKcF5B5Mu1mkoYSlLDW9Jzi1hEPoqNHshvonEZr79Be1qDieIodkbIejExuB jMMt1IDNMRLoCDP3FHORYfD0xsu86XQ2xH0m192rjF92c3QYROEWh6rI5ZPvi5BiH X-Gm-Gg: AYBFou07SD8b37gKbrO/xN2nQaHjJqUKhDwC/99QgpVI9YZ1C4KoRgwr+jtYhg3oxIk +uszVDtO8+CZ0wODl3hweAU4vi5Q4OHTf0g6tHAuns5+FoibyJmCorwVGFYNPZ36pX2a1Al2FOo 9mIGcPAkBARHLWOpdcRlx8awvMJkfWVRA+lxEQ3Sn0bwSVLkZ9J9VEcOhEz2OKQtdowV0alnCRU 91j/wDcLbIcqgof9+abC/Jeo9Yxp/dS9zqauuT5iMafhfaPNTr8zNf5bFrZl3j008q/5di8pR01 cupJC15k9hGKQgO1H/8p1Zo8B2IqTMWDFywnUmM7iRrsqqiJAXDyx49a5h1LX2gbrt7gMipV6Wa ihohpwUy7G4YCyYtJ4x7FPw== X-Received: by 2002:a05:620a:2948:b0:93a:ec4:e5f2 with SMTP id af79cd13be357-93f29dcb869mr1908558085a.6.1792477820449; Mon, 19 Oct 2026 23:30:20 -0700 (PDT) X-Received: by 2002:a05:620a:2948:b0:93a:ec4:e5f2 with SMTP id af79cd13be357-93f29dcb869mr1908553885a.6.1792477819882; Mon, 19 Oct 2026 23:30:19 -0700 (PDT) Received: from [192.168.226.26] ([178.235.128.140]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-c4090dcf72asm458746566b.18.2026.10.19.23.30.16 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 19 Oct 2026 23:30:18 -0700 (PDT) Message-ID: Date: Tue, 20 Oct 2026 08:30:15 +0200 X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 01/10] clk: qcom: gcc-msm8998: leave the GPU BIMC source and SNOC DVM clocks on To: Dmitry Baryshkov , Bjorn Andersson , Abel Vesa , Stephen Boyd , Brian Masney , Jerome Brunet , Joonwoo Park , Imran Khan , Rajendra Nayak , Jeffrey Hugo , Maxime Ripard , Vikash Garodia , Dikshita Agarwal , Bryan O'Donoghue , Mauro Carvalho Chehab , Ilia Lin , Loic Poulain , Konrad Dybcio , Yassine Oudjana , Dmitry Baryshkov , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, linux-media@vger.kernel.org, devicetree@vger.kernel.org References: <20261019-msm8998-fix-clocks-v1-0-370949e4d8a0@oss.qualcomm.com> <20261019-msm8998-fix-clocks-v1-1-370949e4d8a0@oss.qualcomm.com> Content-Language: en-US From: Konrad Dybcio In-Reply-To: <20261019-msm8998-fix-clocks-v1-1-370949e4d8a0@oss.qualcomm.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Authority-Analysis: v=2.4 cv=DrrDa2/+ c=1 sm=1 tr=0 ts=6ad70a7e cx=c_pps a=50t2pK5VMbmlHzFWWp8p/g==:117 a=PRfkaYvzSr8QmIIGAkY2Sg==:17 a=IkcTkHD0fZMA:10 a=660iZSQnnn4A:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=DJpcGTmdVt4CTyJn9g5Z:22 a=EUspDBNiAAAA:8 a=uh-2cw-LvnS1HXWvbVoA:9 a=QEXdDO2ut3YA:10 a=IoWCM6iH3mJn3m4BftBB:22 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYxMDIwMDAyNSBTYWx0ZWRfXyGz5tgm9OAE3 FcsJV+YTrzxXZ6FMOphACSbpsCNwA6PdK7K9FnOzm0yU4eo9JuZ0eoLH3UJ0ri8xqT6RfW2s+QM 8WFV7QyeXhLhku+ltoF0gWL1q++hGih6RrEol8py4e0coAXKtHCFsDUoq9ERLiZd8887glnBY3m o/27639VdB2Jyt7IhtNKOH4OTlkq8xN6VR6g/MsX9qwYv1G8bE53l5ChhlNsxFwEP1ut4isOr0p zxHkQnz0eFSAPn3qgzll5TWtaNcedxXWkjufkxahCLny6vj5ojL3jY8+4EDyrxNyGGvS1xqUPc9 iBKwFmTY6hMapKvAkFGMYXuxk/Xf7LLZA35M9GeoJ2rMnFImL/Ii87R1ItLexosMMW/fGZLvVHI SRWXNWxENL/o8aBGgZumyKsqcBXAriSYGeFQOfrd5qfUQrRBaWZUc21mmMYFq5koDtuKmMLYL0Y knoFiJa2lzxhdT02i1A== X-Proofpoint-Spam-Info: AW1haW4tMjYxMDIwMDAyNSBTYWx0ZWRfX3T6h2g9tY+/U RvZPHGOaCa1LxBdfgTKu1W4UEGMcX7dfD8ODG3Bbt7vriQBnB1qlYznv19W1e8F2kQvo6jDBGdu L6U2eZHtT/bCZ78aNKZSQwSIQi4sFJ0= X-Proofpoint-GUID: UOY0ThAP13AH80UQSgN2QoeiOdtD1ACG X-Proofpoint-ORIG-GUID: UOY0ThAP13AH80UQSgN2QoeiOdtD1ACG X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.134,FMLib:17.12.100.49 definitions=2026-10-20_01,2026-10-19_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 clxscore=1015 phishscore=0 spamscore=0 adultscore=0 suspectscore=0 bulkscore=0 malwarescore=0 impostorscore=0 lowpriorityscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2610190000 definitions=main-2610200025 On 10/19/26 3:41 PM, Dmitry Baryshkov wrote: > Booting MSM8998 without clk_ignore_unused resets the SoC shortly after > the unused clocks are turned off. Nothing references > gcc_gpu_bimc_gfx_src_clk, so it gets gated, and the SoC goes down > within a fraction of a second, with the GPU idle and with or without > Venus. Listing it as a GPU SMMU clock does not help: the SoC then > resets after the SMMU first runtime-suspends. > > Downstream registered this clock and gcc_gpu_snoc_dvm_gfx_clk at > first, then dropped both because they need to be left at their default > ON state ("clk: msm: clock: Remove controlling some graphics clocks in > Linux"). SDM660 got the same treatment, and the upstream SDM660 driver > never registered them. > > Do the same: stop registering both clocks and enable them at probe. FWIW downstream just leaves them at reset state so it's not exactly the same but writing shouldn't hurt either Reviewed-by: Konrad Dybcio Konrad