Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp2021256ybz; Sun, 26 Apr 2020 09:21:05 -0700 (PDT) X-Google-Smtp-Source: APiQypLqLyUDZr8wJ/34CO5ZRAgw0fZG+zizL9TEmwmIQLN6wveR3N+KCdZQKjAOGilTOSxndrtO X-Received: by 2002:a50:c3c2:: with SMTP id i2mr14991771edf.93.1587918064948; Sun, 26 Apr 2020 09:21:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587918064; cv=none; d=google.com; s=arc-20160816; b=ZgBurkPLtxbacRpTpbg5LoyQk0Ls3W8tWHD9ShOAi5KdPkbWsM84EhIGfVF+2Gsa03 sAcef82tKU7zXnt8XcjBueoyHtujbFRgTVSsu9tpM/5ylyLB2g1Ls8X+A/O8LFlGXM23 R5g51BO8atHx0tgBjcA+Z/Isxw7GuzgclnsZR3T7m4UtGnZoeP8XKrJ/QBs1wP/lGGZ+ eOSlSxPkviX51Q4htGjfTarsEHBosTDqKV+Crhd9lrsVpyPlhBYwDH4aRewLm3jp54QE pxCM2BTyGB65cXTuE/uTk75P8rytBZaKBWbuQ9b8Bq9O0TLzCmli6m2KO4IPRzDwfAuZ W7LQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=Pj77SUe5CaP0v/pGWWFayVD62/A8i5UvOJukuyc5CVo=; b=sf5PF8Pk9InUkqKC25XYOWqq5nGk3Zih/K9tWX+5bJx9cfbrv8XVf7KltBi0QGfHL8 Z8quUlZXh3g6u/vD14fndsYQ+I0NCr0/tM811kLcZHl0mwl0sTkKJAxuJS1oyRT8Fj0h bCaVWeemjwSzU/rfI41CPXNk/9RhS4Fd67DyWNmwnYO9OXn6vYBDEigtjdDdVYgvsH3l 8GLDhW4iaZWr8Pg1iHg8kO3tHN4HqgSQ27Lqer5rv9ypmDjdUf7VZdOU7q0y+l2NFIOO HAhg/9h0joDhcjYGjUlOD0PE1oZCzvYL+U4hLYU7K8A74EoqOWiuZlfpor8VLis+bZ1r vPvw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=SIwT+DkV; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i35si6846667edc.308.2020.04.26.09.20.41; Sun, 26 Apr 2020 09:21:04 -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=@gmail.com header.s=20161025 header.b=SIwT+DkV; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726182AbgDZQTG (ORCPT + 99 others); Sun, 26 Apr 2020 12:19:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53854 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726146AbgDZQTG (ORCPT ); Sun, 26 Apr 2020 12:19:06 -0400 Received: from mail-ot1-x344.google.com (mail-ot1-x344.google.com [IPv6:2607:f8b0:4864:20::344]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 43222C061A0F; Sun, 26 Apr 2020 09:19:06 -0700 (PDT) Received: by mail-ot1-x344.google.com with SMTP id e20so21834446otk.12; Sun, 26 Apr 2020 09:19:06 -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 :cc; bh=Pj77SUe5CaP0v/pGWWFayVD62/A8i5UvOJukuyc5CVo=; b=SIwT+DkVtRJGCGDj8udPoICtBFP7hrscvBQWiU0tS87Hi5Ub3I1cYpvxxILSYGE4mX MlfGSgGmoKDKR+oBhDomOElD2/kvt1RWQwS8rofoR3mG9BLTlgM1Zyb+Ud4o+KY6zy3Y LrWRcaznHY/gjdDzpHdFmNK2YPN/SnoAzv7eUtCZJbgVgYlIcjonkoh4AXWFMoKRaW+f edblil7K6KgdjdQXccDkJuWlnZr6A0Nbl2HRRU43++iafGWFdzM3iv2CUX3Nx/HF7p8W Tyi1v4Lw5TcsD8B2kMJeeuBpQePpEdWfHYh0muGgmhrqB7dtKAk8LOn0bnH9+eHzOPWD /qVQ== 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:cc; bh=Pj77SUe5CaP0v/pGWWFayVD62/A8i5UvOJukuyc5CVo=; b=c6CFeRWvP6i2LDnfXMrDrj+3Pen3nukJ/H69e4Ma1oey1389HQ83RUBPLHiMWSSNzO XkAw4XEnhsLuSminfDqsEa6LhX6vsOeTfB47RJYsAgvXGBXBMFhourB4H2GvSdr5MhLN vrbL5A4+4fELeputX76fpIXJiVyBGtxqkGupbxBShcUG5Ro+XuwWePiK6B25WXwhKfKo ISoIaPbSQhPsHqyQEBtQH2lAksMnXvCRHuHwITDV2zutEv8TyXUhig+kA1tL8cGuOcOb IlQb+qqYERGi6Udym3X/+yYPHi67jsuEY8U/UJcnyLkiJ2XSl9a0TXTGfITsAGqGvA7I aUhg== X-Gm-Message-State: AGi0PuYUECRbuoBU8/IbBirbX3zHkvuSi82DZDx6QY3bzTCdthgMsg9b HWxexmrxa/KgfS4gazzngqMzGe1zgg8NpJeMc99SqILD X-Received: by 2002:a9d:21ca:: with SMTP id s68mr15145763otb.15.1587917945530; Sun, 26 Apr 2020 09:19:05 -0700 (PDT) MIME-Version: 1.0 References: <20200422233928.GA2816@imac> <8255d8b1-f652-9ece-67d2-68c30a5cfbac@baylibre.com> In-Reply-To: <8255d8b1-f652-9ece-67d2-68c30a5cfbac@baylibre.com> From: Tim Lewis Date: Sun, 26 Apr 2020 12:18:54 -0400 Message-ID: Subject: Re: [PATCH v3] arm64: dts: meson: S922X: extend cpu opp-points To: Neil Armstrong Cc: khilman@baylibre.com, Christian Hewitt , joy.cho@hardkernel.com, tobetter , linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, mark.rutland@arm.com, robh+dt@kernel.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Oops, will fix in v4. On Thu, Apr 23, 2020 at 3:40 AM Neil Armstrong wrote: > > On 23/04/2020 01:39, Tim Lewis wrote: > > HardKernel supports overclock through the addition to extra opp points > > in their official kernel sources for odroid-n2 [1]. Christian tested > > on other S922X devices with "no obvious issues". Neil thinks dvfs and > > thermal managementis can keep other S922X devices safe. > --------------/\ > management > > > > > [1] https://github.com/hardkernel/linux/commit/f86cd9487c7483b2a05f448b9ebacf6bd5a2ad2f > > Tested-by: Christian Hewitt > > Signed-off-by: Tim Lewis > > > > --- > > arch/arm64/boot/dts/amlogic/meson-g12b-s922x.dtsi | 15 +++++++++++++++ > > 1 files changed, 15 insertions(+) > > > > diff --git a/arch/arm64/boot/dts/amlogic/meson-g12b-s922x.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12b-s922x.dtsi > > index 046cc332d..1e5d0ee5d 100644 > > --- a/arch/arm64/boot/dts/amlogic/meson-g12b-s922x.dtsi > > +++ b/arch/arm64/boot/dts/amlogic/meson-g12b-s922x.dtsi > > @@ -65,6 +65,11 @@ > > opp-hz = /bits/ 64 <1896000000>; > > opp-microvolt = <981000>; > > }; > > + > > + opp-1992000000 { > > + opp-hz = /bits/ 64 <1992000000>; > > + opp-microvolt = <1001000>; > > + }; > > }; > > > > cpub_opp_table_1: opp-table-1 { > > @@ -120,5 +125,15 @@ > > opp-hz = /bits/ 64 <1704000000>; > > opp-microvolt = <891000>; > > }; > > + > > + opp-1800000000 { > > + opp-hz = /bits/ 64 <1800000000>; > > + opp-microvolt = <981000>; > > + }; > > + > > + opp-1908000000 { > > + opp-hz = /bits/ 64 <1908000000>; > > + opp-microvolt = <1022000>; > > + }; > > }; > > }; > > > > The patch is well formed but I can only test on Odroid-N2. > > Anyway, Christian did a test other S922X boxes and it doesn't crash. > > Reviewed-by: Neil Armstrong > > Neil