From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.0 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_PASS, URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7FE8DC43381 for ; Fri, 8 Mar 2019 16:47:47 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 53FFF208E4 for ; Fri, 8 Mar 2019 16:47:47 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="dT83aqGg" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 53FFF208E4 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=bootlin.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=i5rqb6aJ5xQXvKE0rYwulKjWMGNdqR6upyN9gKF6Mm4=; b=dT83aqGg7yyUJQ OeL8cgApMDeW6SwBbnUhirKaYvIBhPDJv6+3JbtXU0MassE5O7efa4xmzGX5rUMa/5PFUHZrmAJwl Ui/vpKflaZ0ClY36ueYNMyJtyLi5SQzwxhb/4wJrT+qczHYCC9AXHMusIOy4b+Ah5FESgj7VrMVW4 Iy5E2p6Cyjt20D8IyCDGqYGA8vns0huxE7MqJ8EeqIAKlWxxyWYC9QVXf6ROxIVmN13t/r6cqTXSQ BnIaQ869I6+RiNMmD0NpodtCZBVk+zr/soOS18DUiYyVQJLAfDRdwsShZyJaSL2KR0aYuiRrxwlbM SylRzzeiXg4S+LIv5AVg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1h2Ien-00022J-BZ; Fri, 08 Mar 2019 16:47:37 +0000 Received: from relay7-d.mail.gandi.net ([217.70.183.200]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1h2Iej-00021j-MO for linux-arm-kernel@lists.infradead.org; Fri, 08 Mar 2019 16:47:35 +0000 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 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190308_084733_883749_C1536BEC X-CRM114-Status: UNSURE ( 8.79 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Andrew Lunn , Vincent Guittot , Jason Cooper , Christian Neubert , Antoine Tenart , Gregory CLEMENT , Ilias Apalodimas , Maxime Chevallier , Thomas Petazzoni , =?UTF-8?q?Miqu=C3=A8l=20Raynal?= , linux-arm-kernel@lists.infradead.org, Sebastian Hesselbarth Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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(-) -- 2.20.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel