Received: by 2002:ab2:1149:0:b0:1f3:1f8c:d0c6 with SMTP id z9csp2630444lqz; Wed, 3 Apr 2024 04:11:27 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCU5v2uRNm67kS37Wj0PZ3JTdaqHQe2NkqmO92nwAm0mG5AlC1RDXOSca17rT2wFCSP+IhO6sVDN9IkM7it3mDVJ3q0WvsqaD61sTULwzw== X-Google-Smtp-Source: AGHT+IFE9eI9oBxVPJ9Lueaz6eLu+sRSKHfKvLcalbfZfzOPRWB+Q+Z8wY+q94hcw7zBPFz7eLTA X-Received: by 2002:a17:90a:ce81:b0:2a2:7a61:1fb8 with SMTP id g1-20020a17090ace8100b002a27a611fb8mr2901874pju.49.1712142687363; Wed, 03 Apr 2024 04:11:27 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712142687; cv=pass; d=google.com; s=arc-20160816; b=xL3FxKlUsBfejN5uUac0Prgwskr9WIzyFcEq2sV9nkvyM6JUtEQyOKpOKPpitpuTQB f3XTP1WA3I+dxX6wC9si+9aRRXGWlMct+5HsP7fSk57Eve3sr4il5uqr6eNv/EqNnHoj B0GRkuazFUYy+eTknyiZKhgPQLGXue5cbA4/o7mqWv0qNdfIVF9YdIq7Gx4aUnBQ5hk+ rr6dqGhKF6NKX2PA1fKs48kJG6tdscuNF1D+pUHT4tO0Jci+znzSmG6v5ED1g77TycQd I9JjEi26kenniegwQI3C3ZKXwSUYTGFRJXPpbZOK5rZhRrs+KW47ltarrZKskASfSPd+ AfNw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=SWVS0En1pP+DXPeCTmcGz+sebPgJGOg8nGz1gdr4C4I=; fh=9LVATpHAYyDNOYG0O4hGR3fnq9g8jlcQIwOZ7w95Xrk=; b=I0wwOUlj0oeRVRQLC3ad2yvqJ9bjt6vyb5EWohEvp7CQclw6IKxfuMx3LcyPQItUpK XDjI/jwwp5BpUypy8BVu1By3LujSpLDaEZ4FPOT1Uwbze25zUa0MPEAXw6XvUZGt8jM+ 7BosIGTbjLEv2d8mfkSu71TPV4Kjdg3t7uKYy+JvLzvaqdxxvF8z99nayQ/j19juFQoy neP4CjNmBQAYm4tArWK54HWoW/NOR98eYoXVlbmetL+3h3EaQ2loL+Gw7Xzt2F805KdP LkZvuZ3P1C4b9cxfuU2IAiL6dNqZD4QReyDxCmL4ffuw0m9IycH51PHYDxR4z25nUOTw nwHg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=mbGnKHMB; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel+bounces-129640-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-129640-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id s20-20020a17090aad9400b0029c77fee41bsi15620383pjq.3.2024.04.03.04.11.27 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Apr 2024 04:11:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-129640-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=mbGnKHMB; arc=pass (i=1 spf=pass spfdomain=quicinc.com dkim=pass dkdomain=quicinc.com dmarc=pass fromdomain=quicinc.com); spf=pass (google.com: domain of linux-kernel+bounces-129640-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-129640-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 8649F290CE7 for ; Wed, 3 Apr 2024 11:08:04 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1B86413A245; Wed, 3 Apr 2024 11:07:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="mbGnKHMB" 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 77D9B71736; Wed, 3 Apr 2024 11:07:55 +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=1712142477; cv=none; b=QlK6mznj8PVdNXlIF/BW8BZ9/GVE5Yz21e/QFgC+1YGciMcvNpZwJFWk5WzrKMJMkhrPdUqxbtJvECF6WpfEZpx33wPHRWmuVgQxQQMaxMTTNwaEgTfFwSePtKqU9vSTEhiyH7IZgNIHiwR5L10Cc7Jl0tIDZ14qJ6P7N5P4rH8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712142477; c=relaxed/simple; bh=i84szZpHxYivPaf7yucT85uFEyY97k9I9t0K8390Qrw=; h=Message-ID:Date:MIME-Version:Subject:To:CC:References:From: In-Reply-To:Content-Type; b=f1SY3dOVOuxfm5knc8Tvxq0gCoE+7ZtF2T48Z7sCYHqppkwGUGhU15PoJ2CtqloF2jChAptZAkDsBlPaHPhstfNFeVpv84p/3iI11uMeCk/JZxsdMHNJrCjFNAwZXaP5LSZeyorD1F/uSPokH9QSKhLp6ywuCVqJO7zE+0r1DVg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com; spf=pass smtp.mailfrom=quicinc.com; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b=mbGnKHMB; arc=none smtp.client-ip=205.220.180.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=quicinc.com Received: from pps.filterd (m0279873.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 4336BL1Q004804; Wed, 3 Apr 2024 11:07:51 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=SWVS0En1pP+DXPeCTmcGz+sebPgJGOg8nGz1gdr4C4I=; b=mb GnKHMBNuK+7foXBBzRSh7sBoTLQdoadEqDmYp3ldzKd59lERFGqgrQSsoEfNLwc3 uAFNssnZq2WfilT6iemAU0TvHfN3XZ+haJk+z4tuZkv3wmWes+YJdI9MmajO8+IO Y2VLVmAfXlvigv+tWz55IJ3C6cQuSJ8B4OwIqOAbCl3De1ollBDLXA3g/qr70kEw k9rQieY+bOVei0d9HfUf+epV78/Z6VD85PqrPxvB1/DtO8/MmDzk0rVTXy2sgwJ5 VAd1wPS7WVes0L2ZlsTlPLmLNfT3Dc+YU0JmsBAdGtAgXDRMaIK/MTqQuX60thcg JFzUaLumxDqqzyfx5i/Q== Received: from nasanppmta05.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3x9077grt5-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 03 Apr 2024 11:07:50 +0000 (GMT) Received: from nasanex01b.na.qualcomm.com (nasanex01b.na.qualcomm.com [10.46.141.250]) by NASANPPMTA05.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 433B7nMp023264 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 3 Apr 2024 11:07:49 GMT Received: from [10.218.10.146] (10.80.80.8) by nasanex01b.na.qualcomm.com (10.46.141.250) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.4; Wed, 3 Apr 2024 04:07:44 -0700 Message-ID: Date: Wed, 3 Apr 2024 16:37:41 +0530 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.11.2 Subject: Re: [PATCH 1/7] clk: qcom: clk-alpha-pll: Fix CAL_L_VAL override for LUCID EVO PLL Content-Language: en-US To: Krzysztof Kozlowski , Dmitry Baryshkov CC: Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Bjorn Andersson , Konrad Dybcio , Vinod Koul , Vladimir Zapolskiy , , , , Taniya Das , Jagadeesh Kona , Imran Shaik , Satya Priya Kakitapalli References: <20240330182817.3272224-1-quic_ajipan@quicinc.com> <20240330182817.3272224-2-quic_ajipan@quicinc.com> <990d74fa-6d1d-4d64-b6fb-c68f5763c9d3@linaro.org> From: Ajit Pandey In-Reply-To: <990d74fa-6d1d-4d64-b6fb-c68f5763c9d3@linaro.org> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nasanex01b.na.qualcomm.com (10.46.141.250) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: 5wTflKlFKc3rvmrvBlQW-0Zs3zqSuWeG X-Proofpoint-ORIG-GUID: 5wTflKlFKc3rvmrvBlQW-0Zs3zqSuWeG X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-04-03_10,2024-04-01_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxlogscore=894 malwarescore=0 adultscore=0 suspectscore=0 clxscore=1015 priorityscore=1501 lowpriorityscore=0 spamscore=0 phishscore=0 bulkscore=0 impostorscore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2403210001 definitions=main-2404030077 On 4/3/2024 2:20 PM, Krzysztof Kozlowski wrote: > On 03/04/2024 10:37, Dmitry Baryshkov wrote: >> On Wed, 3 Apr 2024 at 09:49, Krzysztof Kozlowski >> wrote: >>> >>> On 02/04/2024 20:35, Ajit Pandey wrote: >>>> >>>> >>>> On 3/31/2024 12:49 AM, Krzysztof Kozlowski wrote: >>>>> On 30/03/2024 19:28, Ajit Pandey wrote: >>>>>> In LUCID EVO PLL CAL_L_VAL and L_VAL bitfields are part of single >>>>>> PLL_L_VAL register. Update for L_VAL bitfield values in PLL_L_VAL >>>>>> register using regmap_write() API in __alpha_pll_trion_set_rate >>>>>> callback will override LUCID EVO PLL initial configuration related >>>>>> to PLL_CAL_L_VAL bit fields in PLL_L_VAL register. >>>>>> >>>>>> Observed random PLL lock failures during PLL enable due to such >>>>>> override in PLL calibration value. Use regmap_update_bits() with >>>>>> L_VAL bitfield mask instead of regmap_write() API to update only >>>>>> PLL_L_VAL bitfields in __alpha_pll_trion_set_rate callback. >>>>>> >>>>>> Fixes: 260e36606a03 ("clk: qcom: clk-alpha-pll: add Lucid EVO PLL configuration interfaces") >>>>>> >>>>> >>>>> No blank lines between tags. >>>>> >>>>> Add Cc-stable tag. >>>>> >>>> Sure, will update in next series >>>> >>>>> Please do not combine fixes with new features. >>>>> > Best regards, >>>>> Krzysztof >>>>> >>>> >>>> Actually this fix is required for correct scaling for few frequencies in >>>> this patch series, hence combined them together and pushed this fix as >>>> first patch in series so that they get mainlined together and feature >>>> functionality will not get impacted. >>> >>> OK, that's fine but usual way is that such need is expressed in the >>> cover letter, so maintainer will know what to do. What if this patch >>> should go to fixes and rest normally to for-next? How do you expect >>> maintainer to apply the patch? Entire thread and then manually move the >>> commits? Why making it so complicated for the maintainers? >> OK, for the ease and more clarity I'll update the cover letter with fix details and required dependency on this feature in next series. >> Huh? I think it's pretty normal to have fixes in front of the patch >> series. Having it in the middle would be troublesome indeed. You are >> the first person to complain. > > No, I am not the first. It differs between subsystems and I do not > recall all folks, but the one person coming to my mind is Mark Brown who > expressed it numerous times. > > Best regards, > Krzysztof >