Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp2460621ybb; Sun, 5 Apr 2020 08:06:38 -0700 (PDT) X-Google-Smtp-Source: APiQypIeuIFxLqw7gORPSEjyn/DoHoWGND0sq2Uf10f3BFn4dKH3JjEh2MmiITDlBw2IcFxZw6br X-Received: by 2002:a05:6830:1bee:: with SMTP id k14mr14150008otb.320.1586099197917; Sun, 05 Apr 2020 08:06:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586099197; cv=none; d=google.com; s=arc-20160816; b=LbuZ2dwBk2YYJbEjR6+vdUT74RutwNrmktoiTd0jtR1oy2mKoEay8Ab7abuTnL7GZn u+hVedFE4l7lqEJGV6whvG/yj7aS67hxgTIgnYPD4r3Z47+ydedMbL3DDErHesyPn3UZ RsEyRCzcjRafIZicHyPzTLjccu6BNGtjam35xY75GMF3b8592GePJMw7zgL0hAqpQ1kc 79brXv90RUrs2uCrRtdNwce/YBXWTyFIUsxDh/Bh8h9dUptSMmJ9yq2sDTQnuzlbimcK g3LlOsPkjp9MSJasI2PskaR3c9EtcD8Z4IDdZC7v0N9qCWZfhDE5e7GFTClqCOHZ9olX UC7w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=g8MbrIxOq0zCTo9fKog8mhMy9bOW8Fg9D9RRomTrVFI=; b=fAULzLd0+/05PG5S6uZTg81fP2gKNEs/gHUZDp6LMsjln/lAjIh0CY9F8fkzHV1/ua DuT4NI7XjicVNgDlNAdmRxFDkbtL8FeJQR9ofVH/HaGS4UCEdLPAXK6pztAppYZVwteI ODqPrlnclaVFoy4weognz/o8RTXZVRVkFzVg3ybbZJpVJrdIt0lYB0bjBQ83QqW0BreR Ana/OjXi4oonyafgoaDi5Ls2/FkkZTGTLZsNuecEP4YNarpDDi8ZoyrEk9ZKkfMHeBON AW0sOm/+A+cYr5CwfzgsyshkE33vv4DfW567BYRrEnR1FQQHyTi91/T5dcfWKh2Ffeqk sBSQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=c0oIvEOd; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g7si6977666ots.270.2020.04.05.08.06.20; Sun, 05 Apr 2020 08:06:37 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=c0oIvEOd; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726890AbgDEPCE (ORCPT + 99 others); Sun, 5 Apr 2020 11:02:04 -0400 Received: from mail-il1-f196.google.com ([209.85.166.196]:35517 "EHLO mail-il1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726689AbgDEPCE (ORCPT ); Sun, 5 Apr 2020 11:02:04 -0400 Received: by mail-il1-f196.google.com with SMTP id 7so12245577ill.2; Sun, 05 Apr 2020 08:02:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :content-transfer-encoding; bh=g8MbrIxOq0zCTo9fKog8mhMy9bOW8Fg9D9RRomTrVFI=; b=c0oIvEOdEgPWSDDAJkRrteqAJ3sCP4mCe/YU5gQyLw7rZEqtGK3507vguvbOdjP0Ku l/gsKL4J9b55i0DtEkFtOrwhBm9U/Ud17zTpDyGTAtqirorOHRySO1PQ2DTpj8My2A36 QI8PVjlCjThg1wzF8PEAbT/Fj2TVpekpwd82Jn6Rm48N7aj2COYNCPr5f5AUPEraQVIb RQxjVxFxo/KJcJsMlulaasXOgVZ6b1hpo8jVevu095Ezb4QRJpZai8VErHtcWIpY77xi gPJbT3QZJioFrrvD+9Id+v9oBZgWb/axGwLn2rqkmaxybnljKKmMRejVqScpghWMmJKD ZOOw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:content-transfer-encoding; bh=g8MbrIxOq0zCTo9fKog8mhMy9bOW8Fg9D9RRomTrVFI=; b=RL0DuaqWP5W8KZTVooKJH53TWwcAfwOnBMbmxSVaDpgZq+Rpm8amAPiSftyfGk3Ykd eOdE8m4r0lBZCtRWSkwVrWqAeJPrW3XeVRNsHA4SmiwP58edhE8G0YcGaU7w3WxYB1px Nr11/dgeFlliDa4Gt2YTYgNm+vGCcs5IBvbJt06N3k3K2P7EWP0AISCehmhMK19hwh+S 2TfBh3hZBOcrD9SFfK49RoOuS6SDYXNuAVqQGXcrUXeO/SccWtgT8oyv3hMN8uM3B+QY G/TqgyHkFw1CAJOXpB/HRJ/ESj4c5MMZvvCLbpBDduq+k06V6035wfhJ0pOlBrU1ayam wyJA== X-Gm-Message-State: AGi0PuYLINfheUPWueSW4PYYmaiS9fmix9jN40VeDK59kep2G8C2PSVQ DPGuamzv7/8OkDgPdofgfjP6IA7cvuLpQmln2/U= X-Received: by 2002:a05:6e02:6cd:: with SMTP id p13mr16728576ils.150.1586098922818; Sun, 05 Apr 2020 08:02:02 -0700 (PDT) MIME-Version: 1.0 References: <20200405104913.22806-1-peron.clem@gmail.com> <20200405115138.vrrvv7spnv6ifm6x@core.my.home> <20200405145443.uycsh73kxmurdmil@core.my.home> In-Reply-To: <20200405145443.uycsh73kxmurdmil@core.my.home> From: =?UTF-8?B?Q2zDqW1lbnQgUMOpcm9u?= Date: Sun, 5 Apr 2020 17:01:51 +0200 Message-ID: Subject: Re: [linux-sunxi] [PATCH 0/7] Add support for Allwinner H6 DVFS To: =?UTF-8?Q?Ond=C5=99ej_Jirman?= , =?UTF-8?B?Q2zDqW1lbnQgUMOpcm9u?= , Maxime Ripard , Chen-Yu Tsai , Rob Herring , linux-arm-kernel , devicetree , linux-kernel , linux-sunxi Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On Sun, 5 Apr 2020 at 16:54, Ond=C5=99ej Jirman wrote: > > Hi, > > On Sun, Apr 05, 2020 at 04:33:37PM +0200, Cl=C3=A9ment P=C3=A9ron wrote: > > Hi Ond=C5=99ej, > > [ ... ] > > > Good point, this information should be added for both CPU and GPU regul= ator. > > This could be nice to confirm this point with a scope. > > > > Also I remark that Allwinner user higher temperature than what we set : > > alarm_low_temp =3D <105000>; > > alarm_high_temp =3D <110000>; > > alarm_temp_hysteresis =3D <15000>; > > shut_temp=3D <115000>; > > https://github.com/orangepi-xunlong/OrangePiH6_Linux4_9/blob/master/arc= h/arm64/boot/dts/sunxi/sun50iw6p1.dtsi#L1924 > > > > Don't you think that we can push a bit higher the temperature it's > > actually at 80=C2=B0C ? > > We probably can. But just 5=C2=B0C between high temp and criticla temp is= probably > not enough. I'd probably set our value to something like 90-100=C2=B0C so= that quick > temperature spike before regulation kicks in would not shutdown the CPU. OK I will push it to 85=C2=B0C and leave the critical to 100=C2=B0C. Test it again and will send a v2 Regards, Cl=C3=A9ment > > regards, > o. > > > Thanks for the review, > > Clement > >