From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.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 64B22272816 for ; Fri, 23 Jan 2026 12:35:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.180.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769171756; cv=none; b=mH1bSiK/ykFoV8XZHx6TohTaN8ctN1AIhy1WHss48Qd1+8zDM7ppsE7vHcOoNvyv6ujHFz6eX15Gg4/U4uFnkExYUJ4F4chOmkrZjPoZ8WwD72ss5Ajw569NYfBYT5I5yRHaVVB1gsGuX6kx3+ee6jwyqR8rxXh3Od3haUolM2E= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769171756; c=relaxed/simple; bh=rdThuJb9LxLDAy865A1PnnTw6bKg+tJt2zlKK1yqx3c=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=UH5riMuPWCBqf3secWqWCshPy+9IHqSz9HBqQQZw8cFe3CO/t2FcYnrBKWZ0kyUO43D9y4foYJMDBIjbFixYL5EpYoerS0J8WPs2TyEV3vptDYv18nwQN2Eih2QzvOqSSpwQsdI69KvLJbtNWU13kfzsI6iPYtwsxwZwsTM6EQU= 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=L7A2FzM1; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=OBpIns05; arc=none smtp.client-ip=205.220.180.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="L7A2FzM1"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="OBpIns05" Received: from pps.filterd (m0279872.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 60N93K2a3648936 for ; Fri, 23 Jan 2026 12:35:53 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= oSwpNOBLoGtq8gfXP6URVakFfQLR/Vgz8IFVlrSrCaE=; b=L7A2FzM18F47aDOD spVUZc257HYL9iMkog+HPTo9RGlofP9GvvlpM8E5fsZ9iebMz8vHgfUOXnw/CYE7 T1FHJ60oCFlOra6A0adPvGtym+cP/wXdUKjty93ZtW6sFnoCujSl7DR/gYg7HTey MIcIKb/UgmMTwaLtmpVzLHQRcSWBf7Q04GGPMJcr0JAHgCj3lXhz2nbF2O/ZX4eW OJoJs2latQT/ogRn9umgp2OpymIeegAulqtW7aT6vsIRi/7gGFEI2qaoJsf+izxC akhnmQFlgBJVIXLCdZMPWMCrH+QOaFJ3xQLK43luotzszSax7oV3fm5LI+xKDIJM KYJu1A== Received: from mail-qk1-f199.google.com (mail-qk1-f199.google.com [209.85.222.199]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4buy4ntapg-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Fri, 23 Jan 2026 12:35:53 +0000 (GMT) Received: by mail-qk1-f199.google.com with SMTP id af79cd13be357-8c6a182d4e1so50424185a.0 for ; Fri, 23 Jan 2026 04:35:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1769171753; x=1769776553; darn=vger.kernel.org; h=content-transfer-encoding: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; bh=oSwpNOBLoGtq8gfXP6URVakFfQLR/Vgz8IFVlrSrCaE=; b=OBpIns05IvfzaI4XylHy8HDTfvqxfkG/2C1VF9HNkY4jNB/qnHZuiEOOkleMeLELI7 qYzNABcJImz0rN325uu59BTOAeCnZq/9D/8L64/pKihniAYC0B96IKNf48tuHelDKVcn 4/P+D7TaQZGKDLcvBIKjldk0edCGmP/y16Gb24HXjGzJ1qgZutVi2PNfkc341Pshc5w3 JVtmZQCDMWtXgyayI0QtlLy0CsWfCVXyBhcY8mbtuHKhiM03wAtSg7y6P8AotzumNcUv rClJPVFN8Q210uPmIL/71RcHQA/l0rcKjA29bnMMdBqFBpou7E7T7+cZFaH2+hstL0HV WA+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1769171753; x=1769776553; h=content-transfer-encoding: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; bh=oSwpNOBLoGtq8gfXP6URVakFfQLR/Vgz8IFVlrSrCaE=; b=BwQn4e8BqX6n+w91dnXWzpxhic5GMSk21IfWdxfZgXbHxKwdy0TWNvAeNnyGg4ryzQ CmSx7PKqbmsDEUda5GBY9YF4cBefVXipID4v52Az0Fr6E0m0PPGy0jvH1q/cVgq4lcxE WF+g2KY0eNiwU3kKWp4HLqBOT8L2Sz3NN35wzzTs14lWrOCWj7dD1+j8n9lhu1lTTDLC p2ma+3fHqp8RIRD7UGzhd4QAzenku+h+xi8nIFtsuew3Q2DyPdzUWsEqbOgEXfuGnfRM tHYtS29WrpJOxYfMBMxOjm60p872z8vaBLjOLh8VKqJ/m8ig1nrTHCNmw8lO7wvnGt7b czRQ== X-Forwarded-Encrypted: i=1; AJvYcCV05AEoH4XsvVhWXOM90aPpYpYmCYgv5i2ZrMPDUHemHnJs2RwV53GZ2CfBInPkaHe1XDNlcIOkX+udx8o=@vger.kernel.org X-Gm-Message-State: AOJu0Ywb6jwR7F4kJgcfJnVydcNeeHMpfyiPhxqDPvVgUByX28URKMW9 sQV6D63W73tEblgS+JZhycF9hqA3yUkgzDx/qMuHamej2GKvhiWXGndCdvzm3U/EFxaI+FEFm+Z NYsBy/O0XPYEc2pJTKB/m9JLcqRSAs8zxHi/QIR/oAyrbd1CE8Tng4BjVOskN82kGyRc= X-Gm-Gg: AZuq6aLaA0m1I0ylMxyoJLlt9LanTRuu95+BKG9tYvLvuz1j25aRyNlAXTiXXqgqjy5 MYpGKDPSNEJDYUCb+Fl/mMO44KVmlpAPmus42QjqMJ2H41UUSRAOq28yuEWDI+EMgm982AB16CJ 6ZC+VrguWGrulz5iD8vE5RE4AQozMpudO/Qljqa8SvEAGOdZc7+HZ8MUsym0YHmHXvHPMvP5gug cCM4WBTtW0mseJB6h44KO7+eKk5bEiGF6Icy6dR7dJjADjuKs5gr6p2LUK3yubaLHbmm2hyp98x P121+FP1+G0txcOxKh2tTxdy0+G0LVATiIQ/KlAv5eeZm3l/VPdGamE5u2HXJY7IWqtNZ5Zvyiw 6zbXrDaZoDG1dQ8aJvPCS6NdK1HGXRijotu2SRjFgjutpJV0uxhKp4kxpsGdPRN4tdmc= X-Received: by 2002:a05:620a:1991:b0:8b2:e346:de7b with SMTP id af79cd13be357-8c6e2da3ca5mr280044585a.1.1769171752728; Fri, 23 Jan 2026 04:35:52 -0800 (PST) X-Received: by 2002:a05:620a:1991:b0:8b2:e346:de7b with SMTP id af79cd13be357-8c6e2da3ca5mr280040385a.1.1769171752180; Fri, 23 Jan 2026 04:35:52 -0800 (PST) Received: from [192.168.119.254] (078088045245.garwolin.vectranet.pl. [78.88.45.245]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-b885b7661f7sm98326066b.54.2026.01.23.04.35.49 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 23 Jan 2026 04:35:51 -0800 (PST) Message-ID: <837022c2-0e0f-4b20-af9c-de04d8d08074@oss.qualcomm.com> Date: Fri, 23 Jan 2026 13:35:48 +0100 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] arm64: dts: qcom: kodiak: Fix PCIe1 PHY ref clock voting To: Krishna Chaitanya Chundru , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Prasad Malisetty , Stephen Boyd Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org References: <20260123-fix_pcie1_phy_clk-v1-1-38f82ea01792@oss.qualcomm.com> Content-Language: en-US From: Konrad Dybcio In-Reply-To: <20260123-fix_pcie1_phy_clk-v1-1-38f82ea01792@oss.qualcomm.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Proofpoint-GUID: PeMqcRX0ChRoWSPXZgKkahG3g2xqc0nK X-Authority-Analysis: v=2.4 cv=I5lohdgg c=1 sm=1 tr=0 ts=69736b29 cx=c_pps a=HLyN3IcIa5EE8TELMZ618Q==:117 a=FpWmc02/iXfjRdCD7H54yg==:17 a=IkcTkHD0fZMA:10 a=vUbySO9Y5rIA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=VwQbUJbxAAAA:8 a=EUspDBNiAAAA:8 a=dkODpQc6jYzLo0hoCJQA:9 a=QEXdDO2ut3YA:10 a=bTQJ7kPSJx9SKPbeHEYW:22 X-Proofpoint-ORIG-GUID: PeMqcRX0ChRoWSPXZgKkahG3g2xqc0nK X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwMTIzMDEwMyBTYWx0ZWRfX8dGEAbIsiAoQ tU9sAXkAfkONKmEDrolKYluzLIoVKtDRuzOY3QXewTsV2BePbj8822PmjTt7Kxms4MrVpPK8umo ZoOQiR4Sm8L6SVcRg6ogyL1oWsJCz1r9ZT08tHxEfikZbyYCKhPxjIuhd8q/xW6WAAuTJQW2fRo UsyBC20pnj75g2PNrQP9uKD5QGbUn7dyRtb+/9VXFz6uivMdscptrDv2h4IDlCotdp5RhbPrtO4 nNRuxKNRc8DYueC113f3idsYNRbSXpzgxtkmhFYOuwRJRdtBvK/Z8F6DL+lwXvq0l4DddmDvZv3 0Av+4CHp1j4ueq7XAu9q/tTRYpr2hcVclu55jzsrSoWXvzul1svC805I8aBNsMQgmf1HgOojS6V /5oelkW2/2LJFdGK1BpkFYJlw7XLhdWmDwzSKMUxFjdTCLX3COi13eJP6MGRICeRy19JE2cvcRN x2VQJSM8xbh1ePaT9Yg== X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1121,Hydra:6.1.20,FMLib:17.12.100.49 definitions=2026-01-23_02,2026-01-22_02,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 clxscore=1015 malwarescore=0 lowpriorityscore=0 phishscore=0 spamscore=0 bulkscore=0 suspectscore=0 adultscore=0 priorityscore=1501 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2601150000 definitions=main-2601230103 On 1/23/26 1:12 PM, Krishna Chaitanya Chundru wrote: > GCC_PCIE_CLKREF_EN controls a repeater that provides the reference clock > only to the PCIe0 PHY. PCIe1 PHY receives its refclk directly from the CXO > source. > > If the PCIe1 driver in HLOS votes for or against GCC_PCIE_CLKREF_EN, it > will inadvertently modify the refclk to PCIe0 as well. Since PCIe0 is > managed by WPSS while PCIe1 is managed in HLOS, there is no mechanism to > coordinate these votes. As a result, HLOS may disable this repeater > during suspend and cut off the PCIe0 PHY refclk while PCIe0 is still > active. > > Replace the unused GCC_PCIE_CLKREF_EN clock entry with RPMH_CXO_CLK to > reflect the actual hardware wiring and prevent unintended changes to > PCIe0 clocking. > > Fixes: 92e0ee9f83b3 ("arm64: dts: qcom: sc7280: Add PCIe and PHY related nodes") > Cc: stable@vger.kernel.org > Signed-off-by: Krishna Chaitanya Chundru > --- Reviewed-by: Konrad Dybcio Konrad