Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp3585702ybz; Mon, 20 Apr 2020 05:50:05 -0700 (PDT) X-Google-Smtp-Source: APiQypJ1DPPuq7nMO50nQxGeTiKzLWJApPRa9Vbehgq6L0h/M9KiL4gipTTJLZDQ2dXZHr2Fxa+9 X-Received: by 2002:a17:906:2b96:: with SMTP id m22mr15722341ejg.330.1587387005072; Mon, 20 Apr 2020 05:50:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587387005; cv=none; d=google.com; s=arc-20160816; b=Aeq26KHqR/QD4KM9FT+jylvgImTskBuulN9HaanoaNfrJJldc6nHyy7ZLemVNwm0qP nOmNzhvtzHNZkvHyOGK1xhnyl+/F0vTVs9z79EczKTJtxoAabP2+ZsMq8W8OaDjAxU1s 8FplDJMYU4Ji2CnOma1DkWVhSb41z7VcrNIZ1fwllek0PwPAvZWZZKRPMR2eId1YTezR JD3RsDquy0dy8VOh3tPGMUHatwevXk+RWVhU6OH3qtmVV7sZ0w7P7Bvd8Vj7mNkRxhRB gCHoPHid/hYUHSm/53MipguvNdUJNc705BS1zVp/ApG93XCGgZvqiNZyYeP2o5vvbf0H gcqA== 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=4O8pI+mDeEP3GbZSfNlfRq+qy/A6N194naVgCStRxOk=; b=bzt+UJUNr7L7vlTad2+QT4xRDv7FvpRl+/kcUj9q8PqWjgx/ZTW8S3STVZjKiiVTqi rhZ9t1rG3LQRABKR60EA7ul8uGo9jsIqgyaTqNjHvzJDdFbBUgZcZUweS6AF5YpxgH87 gu+cVzQLmmF8MRNsjBQ0y7tLec9NsPtf9MV+c9rYx1PzYtUZBC66r2Ffa+BYgI1luSgG AaXG05xLArWqLJQnkdLT6ALxLsIUCL3xZsU9AAChPVCYdA5IEUUBSsAqxTBdr2cBe9zG iDJa5wQiU6hkgVXoTwQunUBIHJg0nfm2t+3/N3uPR76BsLstBgKVdTOncGTm3AZe2u/M NYTA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cerno.tech header.s=fm2 header.b=uBoGN2Fw; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=gNaP1jkp; 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 bq5si454745ejb.356.2020.04.20.05.49.41; Mon, 20 Apr 2020 05:50:05 -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=uBoGN2Fw; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=gNaP1jkp; 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 S1728583AbgDTMrt (ORCPT + 99 others); Mon, 20 Apr 2020 08:47:49 -0400 Received: from wout2-smtp.messagingengine.com ([64.147.123.25]:54523 "EHLO wout2-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729125AbgDTMrn (ORCPT ); Mon, 20 Apr 2020 08:47:43 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id A9497469; Mon, 20 Apr 2020 08:47:41 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Mon, 20 Apr 2020 08:47:42 -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=4O8pI+mDeEP3GbZSfNlfRq+qy/A 6N194naVgCStRxOk=; b=uBoGN2FwOjBwpNvmwTjyWtqbYsuLde7J2Y8XTEpI9Ta 4McxRqkGLHrkzq8OprRf/Ulp18Ysy8p+wbaDpILB+/L/FPIrpTFOEYLSx36fBLht T/46gjMH1CX05uyMlUpvbIq2KLMMQqF0y3F7ffga7UlXSMoKE78ysA3xM4K0lkAV +Ap2O1keGtNJr0XLG1bn5v0rPZARd/+uBVW+TdeVpuNnuo+MOP87TeBHdYIFrnXa B3C34BkulDE8c4emdsQtfAG8IGSD78z8Ggq0IAmYCbVpl2uM61cP7s5sKpTjDa+H RUG9n6/jw0UBkVk9Mx6hGsgxG8fjEsv0aSBI52d7Odg== 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=4O8pI+ mDeEP3GbZSfNlfRq+qy/A6N194naVgCStRxOk=; b=gNaP1jkpxSv/Gv3pLb66gR 8F0WzDNSraxCbyqsocm4jE3yav+GbMeiF8CbUXMsDlpdJR9HtBhGhGjWcCnXCIuH v+xPVfQbRX6FJtCE8s+50gdxUevGCEsjaKjwJ/dvxPZoz4eDjQXSIAfsp0XPOREk tA6O8LFRFLSa94HIC1C6wyhviTwmXlygsKBxM0IKJ6T8dlUdgmgivY1kdg1WIKGD vcFlCYDZlbiyfnMUrPK0RzrIOwtuhQ4H8hSIs6aWAyzMo06j1lNxL3D3KRH37ive foLAfumFIYfI+/ARqrbRiJToo9nr3nEgtrtxDhNu1NxolNdEp622NUAzZQrYZ91g == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedrgeefgdehiecutefuodetggdotefrodftvf 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 552C63280060; Mon, 20 Apr 2020 08:47:40 -0400 (EDT) Date: Mon, 20 Apr 2020 14:47:39 +0200 From: Maxime Ripard To: =?utf-8?B?Q2zDqW1lbnQgUMOpcm9u?= Cc: =?utf-8?Q?Ond=C5=99ej?= Jirman , Chen-Yu Tsai , Rob Herring , linux-arm-kernel , devicetree , linux-kernel , linux-sunxi Subject: Re: [PATCH v3 0/7] Add support for Allwinner H6 DVFS Message-ID: <20200420124739.pxmtvktlyt7ppfjb@gilmour.lan> References: <20200419135011.18010-1-peron.clem@gmail.com> <20200420084547.q5xqlbnmug7l45p2@gilmour.lan> <20200420103927.uvzotrolz2inz6q2@core.my.home> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="kp6c2uiwchhfgvss" Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --kp6c2uiwchhfgvss Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Apr 20, 2020 at 02:36:32PM +0200, Cl=C3=A9ment P=C3=A9ron wrote: > Hi Ondrej, Maxime, >=20 > On Mon, 20 Apr 2020 at 12:39, Ond=C5=99ej Jirman wrot= e: > > > > Hi Maxime, > > > > On Mon, Apr 20, 2020 at 10:45:47AM +0200, Maxime Ripard wrote: > > > Hi, > > > > > > On Sun, Apr 19, 2020 at 03:50:04PM +0200, Cl=C3=A9ment P=C3=A9ron wro= te: > > > > Now that required drivers are merged we can contibute on DVFS > > > > support for Allwinner H6. > > > > > > > > This serie is based on Yangtao Li serie[0] and Ond=C5=99ej Jirman w= ork[1]. > > > > > > > > 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. > > > > > > > > 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. > > > > > > > > The GPU devfreq was drop as the regulator is still not properly > > > > drive by panfrost driver[4]. > > > > I will re-introduce it later. > > > > > > > > Ond=C5=99ej Jirman has an Orange Pi 3, Jernej has a PineH64 and a T= anix > > > > 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. > > > > > > > > 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! > > > > Please also apply "[PATCH v2 1/7] arm64: dts: allwinner: h6: Add > > clock to CPU cores" from the v2 series, otherwise cpufreq will > > not work. > > > > I can also send a missing patch adding the trip points, and cpu > > as a cooling device, that I linked in my other reply to this patch > > series afterwards, if Cl=C3=A9ment wants. >=20 > Indeed I have sent using the following cmd : "git send-email --to=3DXXXX = HEAD~7" > from the previous version. >=20 > I should had do Instead: "git send-email --to=3DXXXX next/master " >=20 > Sorry for that :( I haven't pushed anything yet, can you resend the proper branch? Thanks! Maxime --kp6c2uiwchhfgvss Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCXp2Z6wAKCRDj7w1vZxhR xXoXAP0Wa0t3EnXDf6veNECaAM7Mc/wslH1BMhCQ0Z0+C2JW4AD/VIJlxoE3NFRZ R97rKIRBipUXmveGudSVP2ZFhDihHwY= =+hUu -----END PGP SIGNATURE----- --kp6c2uiwchhfgvss--