Received: by 2002:a05:7412:8521:b0:e2:908c:2ebd with SMTP id t33csp2066642rdf; Mon, 6 Nov 2023 04:00:49 -0800 (PST) X-Google-Smtp-Source: AGHT+IFipK1UHRCMP/itgpuJsQLTtOw6sPvinjzmKxxVOWKppWgAkNkkl9Zy+dGDhxnU9x+iQ4xf X-Received: by 2002:a05:6808:1920:b0:3b5:64c9:5146 with SMTP id bf32-20020a056808192000b003b564c95146mr21549759oib.42.1699272048717; Mon, 06 Nov 2023 04:00:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1699272048; cv=none; d=google.com; s=arc-20160816; b=a36aUGNq08QNnEQuP0o/RgoMKwm2lyISjdsfmevEa9zMwvWk/2TV4KHyfcaDymdoFk bnDogxlbecWs+rGpY7O3fncCC+OS+jVpAjTm0b909oNc/+Ncvy/cIS0QWYdE9Gf9/LKq Xg66qNZwerRIjB0/3C4CCAnRgLGH1Lcp9vmRMT8hbjcNyr3PajZDtVosP+/ESvUSeaVq 5Iy1rFefDIK6Ibi0IW3xeMha56wA7ko8XG4W4NdGNdGYXBRqc002ro2lRLpbuZTgI7J9 Xm7/yzuU/SzoUTlwSNgocWluEbhCPFWA/eZsC6LvTr6878bbwwB2hJfqbuNF44Oj1GWK om/g== 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=2/DCkzmeV1d4xaptQXzY0hVaYF+2cW7ZXSlcQMQEqks=; fh=VoEca9fZI7CCcM16FQ5GQfNUBlaXLgegKBW6kbbGZdA=; b=1IQ4h2X2SNo8GsLtBZbjo3FaMizP2se9ZLaPCRzaDk/1EE7MHc9WxaxwtjimE3Iy6B z2pyfIz+NMxMzuSHzPkH+40+nTPqXsbA7zhY556QOaLjRMA5sCyAp+4I85uRjszeDItr phsymTYsi8HaPaGTVNXd+XEWLsnvlYUejtozdWHcp3CxoC6nLcmdmvaxlqbfwczBEzDh +fhpfp/01V3inZG/0Tt75c+irfiBozeBEna4MreVhoPUVza1yPzrJq6ccgmP6yql761S qjAWM+9uBqgTqXnwdEjT18RR4NMLYJDeOIFhiWir9oeSRJHU0QoxYdUb2xswCw+Z1xy1 RQ7A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=Om+v0OlI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id bl27-20020a056808309b00b003ae52c00434si3288045oib.169.2023.11.06.04.00.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Nov 2023 04:00:48 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=Om+v0OlI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 9C9F7809F3BE; Mon, 6 Nov 2023 04:00:15 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231546AbjKFL7z (ORCPT + 99 others); Mon, 6 Nov 2023 06:59:55 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59632 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229689AbjKFL7x (ORCPT ); Mon, 6 Nov 2023 06:59:53 -0500 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9334294; Mon, 6 Nov 2023 03:59:50 -0800 (PST) Received: from pps.filterd (m0279865.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3A69LeUQ000763; Mon, 6 Nov 2023 11:59:44 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=message-id : date : mime-version : subject : to : cc : references : from : in-reply-to : content-type : content-transfer-encoding; s=qcppdkim1; bh=2/DCkzmeV1d4xaptQXzY0hVaYF+2cW7ZXSlcQMQEqks=; b=Om+v0OlICBDvqiUsqzek1vACxgpuTUP4IpYgKAeBphf+h+5IUvHk+BAKx6BdbAhmMTgX bwl945Qz78oXaqF7NIcD5CYdSFdGZ6pjn/I+g8lfSo32gq0yglPb8U0d+DZ2Z6DKxoz1 Zhe5bmlN/fi42pjXlh3HLNuJCljXaF0lYmHZIVk2Ij8DkyxEfx7+MdOYvYIZ9Kkp4Txd n5ZTwaucHxVAW9Mev+6q0e2XaHDhludqepCAvSHRdnzShd1bEvM/57LPqqzy5S9pyi08 9X6/iEjZoLxPqiHhZfIHOO99lMZDxcmEVdazkulz1FxWma+Uh8+100f7jDczHwBpY4zQ PQ== Received: from nalasppmta04.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3u6wer0cy8-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 06 Nov 2023 11:59:44 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA04.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 3A6Bxh6S012004 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 6 Nov 2023 11:59:43 GMT Received: from [10.217.219.216] (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.39; Mon, 6 Nov 2023 03:59:37 -0800 Message-ID: <6cbe8202-7708-95b2-f9ac-1dbbc6991a9a@quicinc.com> Date: Mon, 6 Nov 2023 17:29:34 +0530 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.13.1 Subject: Re: [PATCH 0/2] phy: qcom-qmp-pcie: Add support to keep refclk always on Content-Language: en-US To: Dmitry Baryshkov CC: Andy Gross , Bjorn Andersson , Konrad Dybcio , Vinod Koul , Kishon Vijay Abraham I , Rob Herring , Krzysztof Kozlowski , Conor Dooley , , , , , , , , , , References: <20231106-refclk_always_on-v1-0-17a7fd8b532b@quicinc.com> From: Krishna Chaitanya Chundru In-Reply-To: Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01a.na.qualcomm.com (10.47.209.196) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: u29m_hPxtfs8NzrLPcx_zztMGQ1II1ch X-Proofpoint-GUID: u29m_hPxtfs8NzrLPcx_zztMGQ1II1ch X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.987,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-11-06_10,2023-11-02_03,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 bulkscore=0 malwarescore=0 spamscore=0 lowpriorityscore=0 clxscore=1011 impostorscore=0 phishscore=0 mlxscore=0 priorityscore=1501 adultscore=0 mlxlogscore=817 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2310240000 definitions=main-2311060099 X-Spam-Status: No, score=-3.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, NICE_REPLY_A,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 fry.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 (fry.vger.email [0.0.0.0]); Mon, 06 Nov 2023 04:00:15 -0800 (PST) On 11/6/2023 5:28 PM, Dmitry Baryshkov wrote: > On Mon, 6 Nov 2023 at 13:53, Krishna chaitanya chundru > wrote: >> This series adds support to provide refclk to endpoint even in low >> power states. >> >> Due to some platform specific issues with CLKREQ signal, it is not being >> propagated to the host and as host doesn't know the clkreq signal host is >> not sending refclk. Due to this endpoint is seeing linkdown and going >> to bad state. > Is this a board issue or an SoC issue? In the latter case this should > go to the PHY configuration structure instead of being specified in > the DT. Hi Dmitry, This is not SOC level issue it is a board issue. - Krishna Chaitanya. >> To avoid those ref clk should be provided always to the endpoint. The >> issue is coming only when ep intiates the L1.1 or L1.2 exit and clkreq >> is not being propagated properly to the host. >> >> Signed-off-by: Krishna chaitanya chundru >> --- >> Krishna chaitanya chundru (2): >> dt-bindings: phy: qcom,qmp: Add PCIe qcom,refclk-always-on property >> phy: qcom-qmp-pcie: Add support for keeping refclk always on >> >> .../bindings/phy/qcom,sc8280xp-qmp-pcie-phy.yaml | 5 +++++ >> drivers/phy/qualcomm/phy-qcom-qmp-pcie.c | 21 +++++++++++++++++---- >> 2 files changed, 22 insertions(+), 4 deletions(-) >> --- >> base-commit: 71e68e182e382e951d6248bccc3c960dcec5a718 >> change-id: 20231106-refclk_always_on-9beae8297cb8 >> >> Best regards, >> -- >> Krishna chaitanya chundru >> >