From patchwork Fri Mar 8 16:47:08 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gregory CLEMENT X-Patchwork-Id: 10845139 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id CA5881669 for ; Fri, 8 Mar 2019 16:47:29 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B1BC62E93D for ; Fri, 8 Mar 2019 16:47:29 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A2AAC2F4FB; Fri, 8 Mar 2019 16:47:29 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 241322E93D for ; Fri, 8 Mar 2019 16:47:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726254AbfCHQr2 (ORCPT ); Fri, 8 Mar 2019 11:47:28 -0500 Received: from relay7-d.mail.gandi.net ([217.70.183.200]:41257 "EHLO relay7-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726279AbfCHQr2 (ORCPT ); Fri, 8 Mar 2019 11:47:28 -0500 X-Originating-IP: 109.213.209.9 Received: from localhost (alyon-652-1-66-9.w109-213.abo.wanadoo.fr [109.213.209.9]) (Authenticated sender: gregory.clement@bootlin.com) by relay7-d.mail.gandi.net (Postfix) with ESMTPSA id 3124B2000A; Fri, 8 Mar 2019 16:47:20 +0000 (UTC) From: Gregory CLEMENT To: "Rafael J. Wysocki" , Viresh Kumar , linux-pm@vger.kernel.org Cc: Christian Neubert , Ilias Apalodimas , Vincent Guittot , Jason Cooper , Andrew Lunn , Sebastian Hesselbarth , Gregory CLEMENT , Thomas Petazzoni , linux-arm-kernel@lists.infradead.org, Antoine Tenart , =?utf-8?q?Miqu=C3=A8l_Raynal?= , Maxime Chevallier Subject: [PATCH 0/2] Fix various issue on CPU freq for Armada 37xx Date: Fri, 8 Mar 2019 17:47:08 +0100 Message-Id: <20190308164710.10597-1-gregory.clement@bootlin.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Hello, A few weeks ago an issue was reported on the cpufreq driver, in the meantime Christian Neubert got the same issue on a ambian kernel and proposed a patch to fix it. His fix seemed to address the issue seen, and I only added more context about what was done. Christian also reported an other issue about the way the frequency was calculated. This issue is visible only when the default frequency was low (600MHz). Based on this I proposed to no more use the CPU frequency as base for the calculation but on the parent clock frequency Gregory Christian Neubert (1): cpufreq: armada-37xx: fix clock parenting Gregory CLEMENT (1): cpufreq: armada-37xx: fix frequency calculation for opp drivers/cpufreq/armada-37xx-cpufreq.c | 42 +++++++++++++++++++++++---- 1 file changed, 36 insertions(+), 6 deletions(-)