Received: by 2002:ab2:1149:0:b0:1f3:1f8c:d0c6 with SMTP id z9csp2579678lqz; Wed, 3 Apr 2024 02:18:36 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWDPR2qTqsja8yQft0eTwbXxENZNHCjhzucehh6JCqJRzuBfBFsDc0lLKT/jUHitf54zUFnfxwFAhzST0+4GiNcJ6RYzu6BrWcJ+RIlfg== X-Google-Smtp-Source: AGHT+IHulsUe21uyyvarGOVeYtKEdV9Sw8W84FfICB/E/AhRW6AjIB46ibcs0tMmJAKR7TIrXSWI X-Received: by 2002:a17:90a:f3c3:b0:2a0:4a82:5b05 with SMTP id ha3-20020a17090af3c300b002a04a825b05mr2794455pjb.19.1712135916467; Wed, 03 Apr 2024 02:18:36 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712135916; cv=pass; d=google.com; s=arc-20160816; b=HbpQO/xiQA5YD3X+WAwxdTuhKYBe4YZ8RCijJEcW7VS6vbQPp9g/D+s4GBT72l5Q6m fa6bn2ZPGS3bDTUhfbPPAPIjc7jdJvJof7QzVGA8VQmsFYNLvbs2TyNknYQpGGq5N260 G6tQqqLz6LIxq4trdxv+tzqguJ2xOYOq45YHYxhY2kSHohb7RDL1pW0D19CX0Tq8FXK/ clXT/WCn4AoS2FuSxX3imp8slqFofikLK5k1QNFtvP0zdjodIIuNeHvy1rx/kvGHvXhF ogPvT5jTEJISh6ohmgQ/LXkPmcefePBhU1BLd1HTsKIpSoJbQz/n2dkm1iZBIxZnOj53 HjfA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=PeE5sjxVNLXwuR9o2Hyb1V4iU/z47Nb42vXDJOdFohw=; fh=MFclBFVjLtyK6/VX3SawTdmbldOJle/XRMALM8Zhtm4=; b=yHjJkePLfI1OBqZtVAl6up3C4yyw5O99hVoawZoypxcjrYV0CCVUJJRRA0iZax4kj+ 6jsFnLmB5GiAYsbud5mhHA7SW1hUdANvYSn5nC7PsYfat7GSVN91naDAnYRZSAFECMN1 +MjuYGGzZEPztR727SQ2eTJ8BRv4FaZXhA1LZwGZZD8GrQYE3iUXwmlkEKwBz2jZH7CV SMVJsRJl0bv4CVhKi+mYxU/97vkW1H4r87WkUgW96TRrFwwUQ7mp49VvaAu+7Sa4w0by +m8Pr8fqlNAX6mW3vCY/vi2kB30g9HvypVh46Uy9AFMR0spVQW/3qNiZFjgptxlM/buW gIKQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=vONes7ty; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-129367-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-129367-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id co19-20020a17090afe9300b002a0024e2c83si14738970pjb.137.2024.04.03.02.18.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Apr 2024 02:18:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-129367-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=vONes7ty; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-129367-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-129367-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org 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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 79939B29D93 for ; Wed, 3 Apr 2024 08:51:06 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 609CC6EB5A; Wed, 3 Apr 2024 08:50:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="vONes7ty" Received: from mail-lf1-f51.google.com (mail-lf1-f51.google.com [209.85.167.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9CB3E69302 for ; Wed, 3 Apr 2024 08:50:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.51 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712134258; cv=none; b=EailCalnUSplDJmJKQdxjHqlRizKQuhZhVfm1wGGmyayQOMmPQBiO+2Wn+FWx+AmyBh8sS6yzeFxYNgx7bCzEIpN1nYsqbVFwm/OZscSQgeXNIr0o72sHuEapMtEh9EMUBfRLJgdCYlqK6CTwAYgi6VQ3ePEtEOli7JuP+LW+pY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712134258; c=relaxed/simple; bh=2RW2uwUTGN2VRAemJKBuUzVcishgZh+2KwNodQofim8=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=gtWCs3G9vma8Khf8zuOZwupCsPE7iLr3QsMHqhS6UHPcXr5LPtk2wd5SMUYK874J/NxLFiox0mwn/ILrcnluUmuovWO7unAF86jOYpDj2C/+xSDXsIEEIiomSEkjb7rCJCcqq49z8T79q5EmVEfBy6yypayVXzmk5dHF8eUZA6Q= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=vONes7ty; arc=none smtp.client-ip=209.85.167.51 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-lf1-f51.google.com with SMTP id 2adb3069b0e04-513d3746950so7588960e87.1 for ; Wed, 03 Apr 2024 01:50:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1712134255; x=1712739055; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:from:to:cc:subject:date:message-id:reply-to; bh=PeE5sjxVNLXwuR9o2Hyb1V4iU/z47Nb42vXDJOdFohw=; b=vONes7tyvm4TbyAAK/C2qmPS1i5VnaHwQzjllaMqmXpyY9wiA1yLLQcmqz2nuUzqlx a+5bsthkXXF83KkVz9VZP0pUHg/EXhy4pqsPVUAP0wb6KLgRimzuSSvDSOqkDazsZbrL GuC320FDgyD3tHS9vG6kQ1KosmIsbjOd3MZ+bEQcKnzQcWqzc+mS6IJedUwWCRt3zTzR QTDEFmn+ZbgMCkF7vRqufOO3L/GUGzW59rdUVCpfctrfDxqFcTAJKLWGyq2ClaX/OUMk 0kC6j6+y/zuNfhRu7+gveFBgjgZsA87Q3AfQAKl8olkbIoS5NGyTdNPV9XdZ43e7ibH3 PUHw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712134255; x=1712739055; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=PeE5sjxVNLXwuR9o2Hyb1V4iU/z47Nb42vXDJOdFohw=; b=Gm4m7hRp1wrJRYiRiBLYPSpEHJrfifvgmneI+t+jNHXGEsUtLfJdKH4+G2uog0E/Dm FewAb//HgIH7ttGpVf4JyyYQry+kN+pWJ81wXlzPjiZxNlpt8aNwJc8kT1oHrNpAMwNt T0rFY3bbqvZj96a6+9k/JFT7gcHaMIHUHQO6BWnrSsiTNSdUIgX7Z9W3AvpvHmwl4YZL qcbSJNYcstT8oCh+sKmsZTV228kbhnkvU46jOs56POm1cKdG2RPjgPJjBbOLHZm6BwJ9 ezrfxqlIu3/mikrqZtau6BEXH657/sR69c1l414eNJ2YxzuMF2m1K4zZS6ghp7UiUqyz T/AQ== X-Forwarded-Encrypted: i=1; AJvYcCWj1oOGu07f7DnrGOSyS5LWtnQF4OFdxjjcSqXyfjNMd9qyxkVhiRZGRjun9UrllIouQZVI90nqYYHO7Q0mHzrDbT57en1r0aEJB6Cj X-Gm-Message-State: AOJu0YymaDkaH7KEUlA0OgIk9cO3WqhENiZ1aoVzcvMRkAmlQA+0pSOf EBw7GiWzUmpDCezLM24hsWTM07dOecc6CnJYRY9j2gV36U9QIsc+3ZsLB4CIRxc= X-Received: by 2002:a05:6512:10cd:b0:516:a2f9:dd40 with SMTP id k13-20020a05651210cd00b00516a2f9dd40mr8817046lfg.34.1712134254812; Wed, 03 Apr 2024 01:50:54 -0700 (PDT) Received: from [192.168.1.20] ([178.197.223.16]) by smtp.gmail.com with ESMTPSA id f8-20020a056402150800b0056e0988bccesm372859edw.31.2024.04.03.01.50.53 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 03 Apr 2024 01:50:54 -0700 (PDT) Message-ID: <990d74fa-6d1d-4d64-b6fb-c68f5763c9d3@linaro.org> Date: Wed, 3 Apr 2024 10:50:51 +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 1/7] clk: qcom: clk-alpha-pll: Fix CAL_L_VAL override for LUCID EVO PLL To: Dmitry Baryshkov Cc: Ajit Pandey , Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Bjorn Andersson , Konrad Dybcio , Vinod Koul , Vladimir Zapolskiy , linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, Taniya Das , Jagadeesh Kona , Imran Shaik , Satya Priya Kakitapalli References: <20240330182817.3272224-1-quic_ajipan@quicinc.com> <20240330182817.3272224-2-quic_ajipan@quicinc.com> Content-Language: en-US From: Krzysztof Kozlowski Autocrypt: addr=krzysztof.kozlowski@linaro.org; keydata= xsFNBFVDQq4BEAC6KeLOfFsAvFMBsrCrJ2bCalhPv5+KQF2PS2+iwZI8BpRZoV+Bd5kWvN79 cFgcqTTuNHjAvxtUG8pQgGTHAObYs6xeYJtjUH0ZX6ndJ33FJYf5V3yXqqjcZ30FgHzJCFUu JMp7PSyMPzpUXfU12yfcRYVEMQrmplNZssmYhiTeVicuOOypWugZKVLGNm0IweVCaZ/DJDIH gNbpvVwjcKYrx85m9cBVEBUGaQP6AT7qlVCkrf50v8bofSIyVa2xmubbAwwFA1oxoOusjPIE J3iadrwpFvsZjF5uHAKS+7wHLoW9hVzOnLbX6ajk5Hf8Pb1m+VH/E8bPBNNYKkfTtypTDUCj NYcd27tjnXfG+SDs/EXNUAIRefCyvaRG7oRYF3Ec+2RgQDRnmmjCjoQNbFrJvJkFHlPeHaeS BosGY+XWKydnmsfY7SSnjAzLUGAFhLd/XDVpb1Een2XucPpKvt9ORF+48gy12FA5GduRLhQU vK4t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MJzPT/+u /oVmYDFZkbLlqs2XpWaVCo2jv8+iHxZZ9FL7F6AHFzqEFdqGnJQqmEApiRqH6b4jRBOgJ+cY qc+rJggwMQcJL9F+oDm3wX47nr6jIsEB5ZftdybIzpMZ5V9v45lUwmdnMrSzZVgC4jRGXzsU EViBQt2CopXtHtYfPAO5nAkIvKSNp3jmGxZw4aTc5xoAZBLo0OV+Ezo71pg3AYvq0a3/oGRG KQ06ztUMRrj8eVtpImjsWCd0bDWRaaR4vqhCHvAG9iWXZu4qh3ipie2Y0oSJygcZT7H3UZxq fyYKiqEmRuqsvv6dcbblD8ZLkz1EVZL6djImH5zc5x8qpVxlA0A0i23v5QvN00m6G9NFF0Le D2GYIS41Kv4Isx2dEFh+/Q== In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit 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? > > 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