Received: by 2002:ab2:1689:0:b0:1f7:5705:b850 with SMTP id d9csp538644lqa; Sat, 27 Apr 2024 12:35:49 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWCoWGqZeWiFdafYldF2YtVRsBTS7fNEuUTAbx2giECtIbsSwQ/peg5VBh8hCZzgwIv8McmFXJ2RkoxPEfkGAeTGV90dRBzFX4x3c7Djg== X-Google-Smtp-Source: AGHT+IG8RUNb667XRoS2UabR32N6M61ISSsImJT+hMLny/48q/MrgRRhhHI9FAgte7yzo5mDC3No X-Received: by 2002:a05:6214:d8a:b0:6a0:b2bc:bc8d with SMTP id e10-20020a0562140d8a00b006a0b2bcbc8dmr8231959qve.11.1714246549305; Sat, 27 Apr 2024 12:35:49 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714246549; cv=pass; d=google.com; s=arc-20160816; b=nw7+NdGhe+XhiF81xX0zXVwZfRxbc0L08WdnUG5afZpBDbdgf9hA+hTPaf78NhwN2/ ntodUgGWoqw/xGyPF74kSTVSSoJQMzZEgQLnR6H4ZNc7Cqyr6TnlRshQsFg89mJMfyrc 4S5hkZQx2YTe7kDUsTCXC0Fg+RTz4Y8CgDEsTDEcbM6hoSeIdpLQUpoW4Xe8ZGscZlri BUbU83O5s4oHiXD6Z/CwNcI1tanddzhgg8cSsjC5Bofah7hi/V613RX7LGf/jgs2TvZI iZe8U2WMMcK08Z5cF0oI9uGj3gcI9toBqtzNN/ZNjk8nVPL/XDUpy9PXGlQn4MGNN2S+ qW6w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=LoazIbADQvqhEOox9WmAa1ogboQ7njBORKo7q33b5M0=; fh=8A4k9nWn6nCPjHRQzGOOtl4WUzwrwHHmxYhNt3DdrjU=; b=YR47tl1/biqmYfWegNQXO9QpkgUegO7LbmgUtU0b6a+0PGC6EYdQeepE/xVC0uMXdi wf9N1VLBHQqApwa03/oBcRBcP6FcV940kKhYRC+49vyQCPuQKq070mtbGYDpSYODQh48 d74+3NQ/OXu6W6BKUZ8DIuIds7/MS8URshX52GOWP/3009oqpSofOu0QKisTKiD996Lr EHIEXnsxvqb1K1CDJSa4uHr6OOSVwrvh1LgHyVxX/WsLy+kQVdMnFehpXPsfwPKFXboB kH55bDMA7yuSy0VwpKK5BLxK4PkNmBrUBJbg0CW/Z8xTVAjVnRrlePyXssUXL9EEJvGY mDlQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=tjIsrio7; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-161147-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-161147-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id c1-20020a0ceb41000000b006a05aafe41asi8127475qvq.294.2024.04.27.12.35.49 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 27 Apr 2024 12:35:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-161147-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=tjIsrio7; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-161147-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-161147-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 0E2A01C20C1E for ; Sat, 27 Apr 2024 19:35:49 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9043228F4; Sat, 27 Apr 2024 19:34:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="tjIsrio7" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 A9160148854; Sat, 27 Apr 2024 19:34:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714246470; cv=none; b=sJoqjbaDrwVLpA/IhT1bT7eaXpcBv4ukLDSk086hSMoJ8Vstc+U69q7gPPAvhECaH3IWBUHt4sL3jJNb9mXg51ClpVCK2ITBK2IlWARMlWiaBfyLOsRNPSoDtCTiiS2iiXT+2AxRlken686u5RFZ3zZJoIm+f3mJKoeksw5+jfo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714246470; c=relaxed/simple; bh=LR/oYNah2d4+Szbv/v/OLADxMTxxprYCXmTssAqOvt4=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=SJ6xDs74n53YAqWzQ4XYcKk/uiEZF4NitQmI6ukvyKao9FGZCcHOTWeE9+bLokF4wEvfuO0Cfb+7mSVLMvAqgcmO0OarSwyhKRK85liq4bDvZex3/Kn0Hyt/D7ftrrSJrBLhqq/WF7KDto99tHq7lGgg/wcYVPPsdSjis1ZvG6M= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=tjIsrio7; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 89CCFC4AF07; Sat, 27 Apr 2024 19:34:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1714246470; bh=LR/oYNah2d4+Szbv/v/OLADxMTxxprYCXmTssAqOvt4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=tjIsrio7OgCAvCsV9oM7mfKrMNJm0PFzlHDN+TdQAYFmEPVKFd9HTXQpSqWQRW71W Lhdph+O12FDXCeJxIx/8Cq/o7uzi6SCXsBVZCATolqsSH9z/CjUT06+NsRQhjE9UVK gnmewnnjo1W12jdwl2RqNiJbnsNA1J4orV7qLzMGdaHu+Q+RLDY3lGKBe1deoujJc/ K2pAXOKmVdX72tGDdSaInOKfDCufUIdLw5Lth7Fnd6FxSFmqQHoFkAmlMPYQHORzum fi97yXw2ri0qtU7BwfoHTiIlJgg+noFIQr6EhfpjV78MU+nBwZB2tG1LS0SxYP1Iy7 WKBSHZBQ22/Jw== From: Bjorn Andersson To: Konrad Dybcio , Michael Turquette , Stephen Boyd , Varadarajan Narayanan , Sricharan R , Kathiravan T , Gabor Juhos Cc: linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org, Dmitry Baryshkov Subject: Re: [PATCH v3] clk: qcom: clk-alpha-pll: fix rate setting for Stromer PLLs Date: Sat, 27 Apr 2024 14:34:19 -0500 Message-ID: <171424646117.1448451.2219390632640064280.b4-ty@kernel.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240328-alpha-pll-fix-stromer-set-rate-v3-1-1b79714c78bc@gmail.com> References: <20240328-alpha-pll-fix-stromer-set-rate-v3-1-1b79714c78bc@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit On Thu, 28 Mar 2024 08:54:31 +0100, Gabor Juhos wrote: > The clk_alpha_pll_stromer_set_rate() function writes inproper > values into the ALPHA_VAL{,_U} registers which results in wrong > clock rates when the alpha value is used. > > The broken behaviour can be seen on IPQ5018 for example, when > dynamic scaling sets the CPU frequency to 800000 KHz. In this > case the CPU cores are running only at 792031 KHz: > > [...] Applied, thanks! [1/1] clk: qcom: clk-alpha-pll: fix rate setting for Stromer PLLs commit: f837535fcb32a0313e07dd8ac49c2cfa43b49260 Best regards, -- Bjorn Andersson