Received: by 2002:ab2:1149:0:b0:1f3:1f8c:d0c6 with SMTP id z9csp2564914lqz; Wed, 3 Apr 2024 01:37:34 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUSovrDa6K2rMCYwo5nYLUS8W0irTWNrROOyCevIS/tL90FEol+mRZIf7VX7vij3Ra3/VRklPU7cI+v2uvnVpS2dKp8t1N5gRor7VEErQ== X-Google-Smtp-Source: AGHT+IGb81nrpQFoZFv3M/fWDRNctdDiNiprNlung7aqfI4WDa/GpnBajGjOreRIaBzjhicnce5K X-Received: by 2002:a17:902:f645:b0:1e2:8664:2a28 with SMTP id m5-20020a170902f64500b001e286642a28mr3410840plg.37.1712133454599; Wed, 03 Apr 2024 01:37:34 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712133454; cv=pass; d=google.com; s=arc-20160816; b=imW4pcQD5Vd5DlFxVVVFemkliZW6wNYD6ASfRIDKSrg213ckaEykxtcke5FTA78zaj F13Wg1jeFJPghKm4JeG3cdOq6vv2kV8JNpdFhvZV0CxUTuUYm8doHYsMlabiDw7qJohf v4dQrj2P7+124nKnCT8p5se1s1E1dbZvZRgUQd9MW7/EB549/6fbg8j/8AFo8L3paG+e 5Y/qq4EG1kDPrV3s4OZo2HXGMvzvxQou5wm2CtZAAn4ukCTBU60Vqma8/+u20xdajPwP fipZfsRINNBnRirTs8Hq2UA/GVn1ztwGr4/JG+JnYmkTQMpxfawisHNI31cfuiV8p4no qzeg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :dkim-signature; bh=2Rq8PISR53JVvEAL1MAAbWn1Fc93g3sqIqfYM33gAAg=; fh=zCfEuFrXxmUakIKAe2KlKYiK0n14cO/OFpMIEzBNuz8=; b=oC3qkFil+z/oCGtAb52VTBLg+87KNVd+8qcqk6nK6znvx2S0ZK3WibsitXXH7Vqdhp UrT1ERdSFEwLgR8cjkcs/1eQkASJivbRm03whDcltbvBj3osLNKn+68IaaEBCSqcR/eQ kclhyQoYKZXScivYcUwQLt6+awHZj/22ByxbJwhh2U+4BEK2cGIzk5V8PI8dy97Ijc3z h2H5WF6HJuv/ZCKuYrqUI+FYQo819l2l42tt5wkOzB8bGuFrZZS5IplLVPAqOSMr9Z2a wnPYnJwkyESZaLb1BYuQYJbrzhHTtYt4dNQnJ7g2simPKmGgEhFD/o9OM5x43VX6ofUJ lu1A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=D+Sz3Z10; 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-129347-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-129347-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id j8-20020a170902da8800b001e087fe28c8si13382232plx.484.2024.04.03.01.37.34 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Apr 2024 01:37:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-129347-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=D+Sz3Z10; 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-129347-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-129347-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 3F9DC281A18 for ; Wed, 3 Apr 2024 08:37:34 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B84DB5B1E8; Wed, 3 Apr 2024 08:37:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="D+Sz3Z10" Received: from mail-yb1-f180.google.com (mail-yb1-f180.google.com [209.85.219.180]) (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 5DE7156471 for ; Wed, 3 Apr 2024 08:37:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.180 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712133446; cv=none; b=u0Cm6LlpOCwQ1d1y4VexkaAeLJfPQXfexLRh8SRg2WZrOzcd2mgRczCZX22+vCMuYNPNu8CmucIePuaDTqW1ImRuHhvB8Lj68tejIgngao7rMDXtor9Z0MFJp0HSqsSntO4dIV8tQtSqR6jBRqCCSxyWR4NJHwVXnC8xuHU4AZI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712133446; c=relaxed/simple; bh=TBdyRZzNzyL5kC8oKT4RbVxBszbvNv397Rm0oRIkgW4=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=LzULQ/QjWquFb5ODukHWHpqE5Zpq0m8UqurVg6e06aj+bgQz2L5iP6W9lYENlgZ2R0bZnGCcN5oW06RaVYkliNOG4b+coqW+rYndPx636l0CwmXoWmxbUomgoB3ywmYc8Fe4f4hZuxTl1pD1CayHblaeOCzUgVuonPQgxOx0hY0= 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=D+Sz3Z10; arc=none smtp.client-ip=209.85.219.180 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-yb1-f180.google.com with SMTP id 3f1490d57ef6-dc74e33fe1bso5585736276.0 for ; Wed, 03 Apr 2024 01:37:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1712133444; x=1712738244; darn=vger.kernel.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=2Rq8PISR53JVvEAL1MAAbWn1Fc93g3sqIqfYM33gAAg=; b=D+Sz3Z10wkNQw0HmKRFdpE8ldjCUg9JMVaJebVUgVJXESNEMd4N22Ls7CQ7nTOzeEx 4QKkOGDjB0YsKNaCMbsnCeeQzWz6rzFEa3Ajauc+O7+86jshxjhxPJohilW4GOk++YLL K96v8nk3trqf5K5LdYPpu8jE+vAWE1kVVl39mrPdXRTItcaZPQoCWyvkNRsdb6DHEM/G RdmejaN8cbWJQb4yuzOt8A52J6rrzy+C7FRAALIyzgNQKBZSq9/MwY9q+kY0hvYmA4EQ eflVyscZA+3rkr5xTm1+vzYfbZ79ToXobLMsXAMMfcOwMK+MAhH4wPFicWfc23hUhkhc Wv0Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712133444; x=1712738244; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=2Rq8PISR53JVvEAL1MAAbWn1Fc93g3sqIqfYM33gAAg=; b=tQEzq6m+PDkcdwaxeKufFJ4JYfZi0AnajmIFD8XgIfGL9BK66SlpcKoSCHpCYnWsMG mgxmBB9qMvsDUn626GK99wNmKp2J5swKdED+IhGOmLr6iTalg/qNOH64Sme8sGqQfZpB 90D12UL38S5lDz2jtKcHAsPSOIFnbAqYiOhdqE8nNhQoWbTjMOBSDcqFYkDmKQpHDNE0 Ah66SRJ8wbRWxVu6YeEOQS1LUY7Ol/ySsNAE8FQtdPrSPbgAObcFjyAqWyNqSg2cc/GS xrgKjINa0srDLgHxPKFL6P6sJEfUJptSBUDgKkVjihX+kZ27Ek3Y6KsTuyvtGcKnSprc zuqw== X-Forwarded-Encrypted: i=1; AJvYcCVk6SvFvMbG0GOGBly0NrfD0jXGM6EzR0zSEkqFI91YW8L79FmMjn+6YhcIcL6mUavT49mxqM/gRpt3hItdW0rfePbl+8FrO+6E8IKr X-Gm-Message-State: AOJu0YzkjXImai8zkT/RKsNLpmiMxVwp1r+WoorDGCbPBYrjI9luxEcd clU3OmrjyJY0/iBtPO/MC7WAOiuDL3qqC7Q7b9OCNtF9sbZWXV0LoGrxmGe6Ez+JR3+alCcOGiF 6oP7G4LqD60DxjhXfTBfFyrkizu2Y6RBSxBOfHA== X-Received: by 2002:a25:664a:0:b0:dcd:128:ff3b with SMTP id z10-20020a25664a000000b00dcd0128ff3bmr13758420ybm.38.1712133444194; Wed, 03 Apr 2024 01:37:24 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240330182817.3272224-1-quic_ajipan@quicinc.com> <20240330182817.3272224-2-quic_ajipan@quicinc.com> In-Reply-To: From: Dmitry Baryshkov Date: Wed, 3 Apr 2024 11:37:13 +0300 Message-ID: Subject: Re: [PATCH 1/7] clk: qcom: clk-alpha-pll: Fix CAL_L_VAL override for LUCID EVO PLL To: Krzysztof Kozlowski 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 Content-Type: text/plain; charset="UTF-8" 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. -- With best wishes Dmitry