Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp3397345ybz; Mon, 20 Apr 2020 01:49:20 -0700 (PDT) X-Google-Smtp-Source: APiQypI00r1cAFkRepVcaPZuJcEt9eNqABpKpeSBjmPGaufrHoN1i7OE5zoPS+XzryVzAkqf/2Iy X-Received: by 2002:a05:6402:1c07:: with SMTP id ck7mr13704556edb.202.1587372560006; Mon, 20 Apr 2020 01:49:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587372559; cv=none; d=google.com; s=arc-20160816; b=0jaafeAu3vorpzSvaQpMirHW7porvQU7wQuBTHwRazrceuNuKMTIBSHkgwKMGeCpyR 2sbQub0Si1rdNnlllQQvpvKqOHTPCYRNBYrLJ5PmLeseI9Ezy1SEVcVd6vrV1nTlY/BF karPzBBsvNBUmG3ZJIbRuepMg2BLyjLQWBkkzf2ulmUBKX+mtSPxOAkBbj9RsFIbhm1m MHUieztKU6RIbz5Gq/d6IQZoYn+vi454LB8VE9pNO/XM0hXJSpgdjmjl5gJpv83lE/Pw 0szeVAOUFea9v6LIocad18qrPxNJQ7ZVRhQYzAsD3ZN00M8T1/M6jmUwJ23TAAJm9nc1 8fBw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature:dkim-signature; bh=iQX+Nbu9lUUYXsNcDSVwSJak4D8iqDKj9Y/HcbQhFRI=; b=tye7dAmq+rYWt3vORr/CTEGzzVtG4etNHtVLNBRUIsA5pq4IufrYrRVRFXOMJeXqK2 vDGkyOHbw7yShPeeZ3zCe1GIP4mUsYIrRmzP8K3PssGy6O3NnXZErblq3Q8wOHmryDPx BpUtVbLhRXl8vTFCgGriRxiDghK8ffBxfcw2f9879uA4GMIrbLLhxg9AkW8HPaHGzGo+ C1sAJJ2xkZUvSvzthZ97kTyhCuFzfY2Y8zjj2Q19HiCPKPzubr++UnYD9pWUUoLhaURc S1Hc39RfPLev+rMuu7XaiN096hGh+wyAc7WOt4M9bA7p440f9tP6fl8I09bElSdhHBal i7Pw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cerno.tech header.s=fm2 header.b=Cb5vCAdq; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=RJPO+6LC; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=cerno.tech Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v23si139736ejo.321.2020.04.20.01.48.57; Mon, 20 Apr 2020 01:49:19 -0700 (PDT) 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; dkim=pass header.i=@cerno.tech header.s=fm2 header.b=Cb5vCAdq; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=RJPO+6LC; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=cerno.tech Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726048AbgDTIp4 (ORCPT + 99 others); Mon, 20 Apr 2020 04:45:56 -0400 Received: from wout1-smtp.messagingengine.com ([64.147.123.24]:38617 "EHLO wout1-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725865AbgDTIp4 (ORCPT ); Mon, 20 Apr 2020 04:45:56 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id 1AA4B547; Mon, 20 Apr 2020 04:45:55 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Mon, 20 Apr 2020 04:45:55 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cerno.tech; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm2; bh=iQX+Nbu9lUUYXsNcDSVwSJak4D8 iqDKj9Y/HcbQhFRI=; b=Cb5vCAdqrAyiC4lRxqRERI9SW5ynRvi8MfadLN2m09c Erdw2VZBnEjnzPuFuZ5X4y2ATzwg4ps0ETjpslCQjoObsrzg25nErj+Ekvum1TN1 L3eCvibfhfxJBWQV4m4LkoJKAh1qy4LDR++xo5mjTYLO1CyvmqKkJXpcQSOlAlaa hrkm38YE7hWp8Yx4K2PxV0GVSfm39XFqqPPpDOXBfy7f4WvP1TyJd3h68UnUdqCc jAMAqxG/0iWe7S9of86enzLJ3xzYgK5dRBla/xtnLNAAjeKgyU/FQsnpzZrcoqib Vzv0bhN2yrWtb9dDj9XEUxUivVKL8bEd2ewpcOHMp6w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=iQX+Nb u9lUUYXsNcDSVwSJak4D8iqDKj9Y/HcbQhFRI=; b=RJPO+6LCm0E2Tw77x6Wh7U 9vUpvl1uafoY3akeLipgg21OvnEkCrKZc0TAbluRUIID9++cFwlFJHYin0KPH5Iy 5wHzX/BHRneFGifM84s+tS/BD9721/PAXlP2JMsMtYd05M1L6zV927Y0rpCoPcri npdXITWxDswalbec2jF3nQtZwP37rL7AGg9WUAflWms4YHkpJ5bBCwQ3ILJ3xh2K fDcP0z3OnMEd8kHCZArUydmMqG5RpmfpZYKk78y8fCQa7aStGIK3oDsXuSud4SiV wJKDw4wEkqDu3M1G8T3DOUNypw5cKfbkVvJyc4phERFe6HLsJashLQadRvCshNgw == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedrgeefgddtjecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpeffhffvuffkfhggtggujgesghdtreertddtjeenucfhrhhomhepofgrgihimhgv ucftihhprghrugcuoehmrgigihhmvgestggvrhhnohdrthgvtghhqeenucffohhmrghinh epghhithhhuhgsrdgtohhmnecukfhppeeltddrkeelrdeikedrjeeinecuvehluhhsthgv rhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepmhgrgihimhgvsegtvghrnh hordhtvggthh X-ME-Proxy: Received: from localhost (lfbn-tou-1-1502-76.w90-89.abo.wanadoo.fr [90.89.68.76]) by mail.messagingengine.com (Postfix) with ESMTPA id 857CB3280065; Mon, 20 Apr 2020 04:45:49 -0400 (EDT) Date: Mon, 20 Apr 2020 10:45:47 +0200 From: Maxime Ripard To: =?utf-8?B?Q2zDqW1lbnQgUMOpcm9u?= Cc: Chen-Yu Tsai , Rob Herring , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-sunxi Subject: Re: [PATCH v3 0/7] Add support for Allwinner H6 DVFS Message-ID: <20200420084547.q5xqlbnmug7l45p2@gilmour.lan> References: <20200419135011.18010-1-peron.clem@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="tjfbcs5ju43fnsxg" Content-Disposition: inline In-Reply-To: <20200419135011.18010-1-peron.clem@gmail.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --tjfbcs5ju43fnsxg Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, On Sun, Apr 19, 2020 at 03:50:04PM +0200, Cl=C3=A9ment P=C3=A9ron wrote: > Now that required drivers are merged we can contibute on DVFS > support for Allwinner H6. >=20 > This serie is based on Yangtao Li serie[0] and Ond=C5=99ej Jirman work[1]. >=20 > Most of the OPP tables are taken from original vendor kernel[2]. > Plus there are new CPU frequencies at 1.6GHz, 1.7GHz and 1.8GHz. >=20 > I wrote a simple script to randomly set a frequency during > a random time[3]. This script is quite stressfull and set some high > frequency without checking temperature. This can result on behavior > that whould not occurs with the real cpufreq framework. > As Maxime point out I also tested with cpufreq-ljt-stress-test > (found here https://github.com/ssvb/cpuburn-arm). > This script doesn't trigger any issue. > I also test that that offlining CPU0 and doing DVFS on other CPUs > works. As CPU regulator is only set for CPU0. >=20 > The GPU devfreq was drop as the regulator is still not properly > drive by panfrost driver[4]. > I will re-introduce it later. >=20 > Ond=C5=99ej Jirman has an Orange Pi 3, Jernej has a PineH64 and a Tanix > TX6 boards and I have a Beelink GS1 board so I have enable these > boards. But CPU Devfreq is really touchy has it depends on: > board design, SoC speed_grade and environement which can affect > thermal cooling and have different behavior for different user. >=20 > If people can test this serie and give feedback, I will try to > introduce this in LibreElec tree, so LE community can test it. Applied all of them, thanks! Maxime --tjfbcs5ju43fnsxg Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCXp1hOwAKCRDj7w1vZxhR xZBWAPwJcHVU/m631vQHEiwdmukLTu1v8SDhAmACGUZRYKurVgD/cSE+lPELz+F5 tn+IBhAd1orRbkBB7HgXc8PEnVef+gg= =JHGr -----END PGP SIGNATURE----- --tjfbcs5ju43fnsxg--