Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp1084067pxf; Fri, 12 Mar 2021 01:14:00 -0800 (PST) X-Google-Smtp-Source: ABdhPJxSQswbXyLDd4MYBM2q45aSMnz3BJTvpEswWTyaHSCMyk9bzVwioFARDwmzyiNvmnJ0LEoG X-Received: by 2002:aa7:c150:: with SMTP id r16mr12718890edp.96.1615540440588; Fri, 12 Mar 2021 01:14:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615540440; cv=none; d=google.com; s=arc-20160816; b=ktcVFrA49jbwdluj/RP9AHK26XavsA1RvYMw34WKxjuD06xZDqDp+b6JFMj0f0jsD4 ZH+x+ZFjO9uQppus+yn4EA0xBhd5l/EI2So0m7sgYVhWClgZTUV5TYCfTsf8XNHBRBT1 9qVGn4vSyDfuinlZ2jeqYDy1Qs1yPRXa0G/xYQE/t8hArEwpmtQL/z1DYZAO5H1R3q2R Bs5ZlUmZe5aAwXy76kuegRn4jBkVMATQLTQuvgEu+u/utIO+rvJMtztWaNz1o4s2cst1 vcB5xYrv6nn3uAnfRD7EXIEkDOo0UIKt3hOMjF3B6kGurCt/BuP+IDYnnF8SpXSdFXqG 9+qg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:references:in-reply-to:subject:cc:to:from; bh=K/eY7HPnSnFCh9rhQe83Ah9cF4xyoJ63yxTJbmbad0I=; b=X52mQSYK7TfdopN8mSOLiw8zQggYBH/wDvFpaj42vQA+gL1wCG0WIWUELRrrEZ+z/5 dlbKQzd9GJ05doEJpyOVYXY3dk1m+MYQpJ9SQzzXkV+4lMnB9FfZsXNJHCQWgntSIlZw LYuL0E5EXQgp+21yhLBiuuZffoB785gBtzWPneHspgjEEhdi8MOw3+kMqMZzWS5BhBgx pbFV5/LRaugP2eGpyFqNcgml5B9Jvabg58RLU5WhFgKXb0FdU0ViAz2NJdv817Ib0Ibq 9Z6bF6fLeP8Du6JA2x2LeuZ3pPjNLVK/JcFa4WGZzXY+8yDD+cIthejlMMX0ZOKJy9W4 NBLQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a14si3931655ejk.698.2021.03.12.01.13.34; Fri, 12 Mar 2021 01:14:00 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232474AbhCLJMh convert rfc822-to-8bit (ORCPT + 99 others); Fri, 12 Mar 2021 04:12:37 -0500 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:56555 "EHLO relay3-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232323AbhCLJMM (ORCPT ); Fri, 12 Mar 2021 04:12:12 -0500 X-Originating-IP: 90.65.91.141 Received: from localhost (lfbn-lyo-1-1912-141.w90-65.abo.wanadoo.fr [90.65.91.141]) (Authenticated sender: gregory.clement@bootlin.com) by relay3-d.mail.gandi.net (Postfix) with ESMTPSA id 464286000D; Fri, 12 Mar 2021 09:12:07 +0000 (UTC) From: Gregory CLEMENT To: Pali =?utf-8?Q?Roh=C3=A1r?= Cc: Andrew Lunn , Michael Turquette , Stephen Boyd , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, Marek =?utf-8?Q?Beh=C3=BAn?= , Miquel Raynal , Tomasz Maciej Nowak , Luka Perkov , Andre Heider , Vladimir Vid , Russell King , =?utf-8?Q?G=C3=A9rald?= Kerma , Konstantin Porotchkin Subject: Re: [PATCH mvebu v3 00/10] Armada 37xx: Fix cpufreq changing base CPU speed to 800 MHz from 1000 MHz In-Reply-To: <20210301192024.tgvp6f5zscbknepo@pali> References: <20210114124032.12765-1-pali@kernel.org> <20210222194158.12342-1-pali@kernel.org> <20210301192024.tgvp6f5zscbknepo@pali> Date: Fri, 12 Mar 2021 10:12:06 +0100 Message-ID: <87a6r8ka6x.fsf@BL-laptop> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8BIT Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello Pali, > Hello Gregory! > > Patches are the for almost two months and more people have tested them. > They are marked with Fixed/CC-stable tags, they should go also into > stable trees as they are fixing CPU scaling and instability issues. > > Are there any issues with these patches? If not, could you please merge > them for upcoming Linux version? Actually I am not the maintainer of the clk and cpufreq subsystems, so the only thing I can apply is the device tree relative patch. Gregory > > On Monday 22 February 2021 20:41:48 Pali Rohár wrote: >> Hello! >> >> This is third version of patches for Armada 37xx cpufreq driver which >> fix CPU scaling with 1 GHz base frequency. >> >> The only change in this third version is modified patch 04/10 with fixes >> for 1.2 GHz variant of Espressobin. Minimal CPU voltage in L1 load for >> 1.2 GHz variant was increased to 1.155V. >> >> Patches are now rebased on top of the kernel version 5.11 with all >> collected Acked-by/Tested-by lines and are available also in my git >> tree in branch a3720-cpufreq-issues: >> >> https://git.kernel.org/pub/scm/linux/kernel/git/pali/linux.git/log/?h=a3720-cpufreq-issues >> >> If you have other Armada 3720 boards with 1.2 GHz CPU, including >> Espressobin V7, let us know if it is working fine for you. >> >> Marek & Pali >> >> Marek Behún (3): >> arm64: dts: marvell: armada-37xx: add syscon compatible to NB clk node >> cpufreq: armada-37xx: Fix setting TBG parent for load levels >> clk: mvebu: armada-37xx-periph: remove .set_parent method for CPU PM >> clock >> >> Pali Rohár (7): >> cpufreq: armada-37xx: Fix the AVS value for load L1 >> clk: mvebu: armada-37xx-periph: Fix switching CPU freq from 250 Mhz to >> 1 GHz >> clk: mvebu: armada-37xx-periph: Fix workaround for switching from L1 >> to L0 >> cpufreq: armada-37xx: Fix driver cleanup when registration failed >> cpufreq: armada-37xx: Fix determining base CPU frequency >> cpufreq: armada-37xx: Remove cur_frequency variable >> cpufreq: armada-37xx: Fix module unloading >> >> arch/arm64/boot/dts/marvell/armada-37xx.dtsi | 3 +- >> drivers/clk/mvebu/armada-37xx-periph.c | 83 +++++++------- >> drivers/cpufreq/armada-37xx-cpufreq.c | 111 +++++++++++++++---- >> 3 files changed, 135 insertions(+), 62 deletions(-) >> >> -- >> 2.20.1 >> -- Gregory Clement, Bootlin Embedded Linux and Kernel engineering http://bootlin.com