Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp2668421pxb; Thu, 10 Feb 2022 02:56:12 -0800 (PST) X-Google-Smtp-Source: ABdhPJzCi4lzwGAf+N3oIKuQKwQtqy+DybjP0RIulIIFtDjZMmOXh5lS6ckq81v4j1x1yepvt+sb X-Received: by 2002:a17:906:648a:: with SMTP id e10mr5779873ejm.608.1644490571741; Thu, 10 Feb 2022 02:56:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644490571; cv=none; d=google.com; s=arc-20160816; b=oP1VOr6Uelh9i6PImhbBi+layGszNEGdPvc566wMabVe/7Pcg8+rP1YhNHSLzVGEjx zXOK+74squ3ZK/gt0hvsNzooycbiReBWayfyC6tkqtZ+huYjVlTtf4FejWs3lw5d1qTU O4BPuD9jWhy+J5jrnGynryAculEMmjeD2l7IMKIjJLpWcBtBgUX3TuFnWkyX/OPUApkj MB0CFC8jVZdQsvICmPwtx/QM1iuGGPBcNQDD8sZEzo4pWDMAlmVvMPoklyiev9bwBug4 HSVFmOeKQAuWM+gH//kcH8WRpNq7bTyq+MapBBTq16sqHwo7VgMF8G3Sskd0JCm1cE8t 2iBw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from:dkim-signature; bh=AdLoWe4TJ+d53isrSfLXpob6bEFDfaz15GEr9DTK+5k=; b=N6mVijNLqekZJnkdDwJWoR68XUHNrjPuLu2OOHCcS9sgpj99MqFVQH52/zDXsXblYJ DJxLjiLAdQHXkdh3MheS6MyV9iNgrEg9kgCz5uedu4WKjfpGOImneUIp1qbVRCWqKPhR OqH09AS4bZCq/1ziJSvN2KP15PJo9p6JpcR9rgxsq2M+O8zfWZzevgDNKTtU4kAcOps+ PuKFsaoaIsxRSKvBIO1yCWTQ7L1mGKYI8AlOqaEtZrc53C7MLCF2uMcTPuYItxAXOxIt LJi6tPEX9gL42NfeprrAbBcz6jIQ6L1GiZWkNNOJ0EGxn9LQl1owIHlNWnOMMI8U116Z vqRg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=i5DEQyEG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a73si13455595edf.274.2022.02.10.02.55.47; Thu, 10 Feb 2022 02:56:11 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=i5DEQyEG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S239395AbiBJKGr (ORCPT + 99 others); Thu, 10 Feb 2022 05:06:47 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:52658 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236226AbiBJKGp (ORCPT ); Thu, 10 Feb 2022 05:06:45 -0500 Received: from mail-wr1-x430.google.com (mail-wr1-x430.google.com [IPv6:2a00:1450:4864:20::430]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0DF32C55; Thu, 10 Feb 2022 02:06:47 -0800 (PST) Received: by mail-wr1-x430.google.com with SMTP id s18so8559571wrv.7; Thu, 10 Feb 2022 02:06:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=AdLoWe4TJ+d53isrSfLXpob6bEFDfaz15GEr9DTK+5k=; b=i5DEQyEGksT5axCgpBQ1hQ2t5ZMnMcozV7HGcpy2jwPAYpT8q8dpUJ8/nSTFrRtnyM L3j0GOzou9gTl6wm4a42frUCbFNfR163XJko8qIlUEZYnxb2Ua7EOiNLGBdX75esOlWQ iUu0UC9xZYkYjFsKhsllEGVB6vxDqCxNb4e/XwBJg0vH1NxaslaAKqNZx8bFqO0VGzQ9 3Q0YZ7zOMn4Cxbj8eGJqkYxDHVdHznGS300aTWzKI8Y6RrX7AA5RnC9C4Rdq7XtToZEQ kzkJYX1oZ5DAcFLIGbOac9AhgRl8Pke6XWjKtu6dgjKC4hIkCnHtB1hpXVxgBrcy+nci GnKQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=AdLoWe4TJ+d53isrSfLXpob6bEFDfaz15GEr9DTK+5k=; b=oeU+8nGelARLCELrSdQnXAkHkJB3q7y7VsGMz2fUx3h9dwC+otN5LKdoC+AkAfBD2Q CxXRDSEm9uCmET+Q5GuREfC6Yej7bbkOCmXviipydBR3V5tjy5D5uuPko/4iNBlKEm4s Qi0APwUvxQF9lf9edC3mep8ao29b49Gx7sjE9YRlfc9NjNPlc8Pd9Egl8hs7LRaegL/z WAlgWvUrB7ZxgoXq+q9NyEkrli05affnDO9qUgLM19k4NZwUn26/EgY00HARIRYrL5GE ciMIcC1SaQoRJ5Kof4yAviWlCr0imUdVQ9HjrCSRmuQ5YPFR/TRU6fnAanBfFMg0nYKH I7XA== X-Gm-Message-State: AOAM530pKIZt/1RKt1VeZOdGy0OpUoQQjXzpmKrnwpdbl6pGwCuusCWB +0DW3aMzdo51qfx5lZXUCLs= X-Received: by 2002:a5d:48cb:: with SMTP id p11mr5875288wrs.229.1644487605013; Thu, 10 Feb 2022 02:06:45 -0800 (PST) Received: from localhost.localdomain ([87.200.95.144]) by smtp.gmail.com with ESMTPSA id g15sm18817494wri.82.2022.02.10.02.06.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Feb 2022 02:06:44 -0800 (PST) From: Christian Hewitt To: Rob Herring , Mark Rutland , Kevin Hilman , Neil Armstrong , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Christian Hewitt Subject: [PATCH v2 1/2] arm64: dts: meson: remove CPU opps below 1GHz for G12B boards Date: Thu, 10 Feb 2022 10:06:37 +0000 Message-Id: <20220210100638.19130-2-christianshewitt@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220210100638.19130-1-christianshewitt@gmail.com> References: <20220210100638.19130-1-christianshewitt@gmail.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Amlogic G12B devices experience CPU stalls and random board wedges when the system idles and CPU cores clock down to lower opp points. Recent vendor kernels include a change to remove 100-250MHz and other distro sources also remove the 500/667MHz points. Unless all 100-667Mhz opps are removed or the CPU governor forced to performance stalls are still observed, so let's remove them to improve stability and uptime. Fixes: b96d4e92709b ("arm64: dts: meson-g12b: support a311d and s922x cpu operating points") Signed-off-by: Christian Hewitt --- .../boot/dts/amlogic/meson-g12b-a311d.dtsi | 40 ------------------- .../boot/dts/amlogic/meson-g12b-s922x.dtsi | 40 ------------------- 2 files changed, 80 deletions(-) diff --git a/arch/arm64/boot/dts/amlogic/meson-g12b-a311d.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12b-a311d.dtsi index d61f43052a34..8e9ad1e51d66 100644 --- a/arch/arm64/boot/dts/amlogic/meson-g12b-a311d.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-g12b-a311d.dtsi @@ -11,26 +11,6 @@ compatible = "operating-points-v2"; opp-shared; - opp-100000000 { - opp-hz = /bits/ 64 <100000000>; - opp-microvolt = <731000>; - }; - - opp-250000000 { - opp-hz = /bits/ 64 <250000000>; - opp-microvolt = <731000>; - }; - - opp-500000000 { - opp-hz = /bits/ 64 <500000000>; - opp-microvolt = <731000>; - }; - - opp-667000000 { - opp-hz = /bits/ 64 <667000000>; - opp-microvolt = <731000>; - }; - opp-1000000000 { opp-hz = /bits/ 64 <1000000000>; opp-microvolt = <761000>; @@ -71,26 +51,6 @@ compatible = "operating-points-v2"; opp-shared; - opp-100000000 { - opp-hz = /bits/ 64 <100000000>; - opp-microvolt = <731000>; - }; - - opp-250000000 { - opp-hz = /bits/ 64 <250000000>; - opp-microvolt = <731000>; - }; - - opp-500000000 { - opp-hz = /bits/ 64 <500000000>; - opp-microvolt = <731000>; - }; - - opp-667000000 { - opp-hz = /bits/ 64 <667000000>; - opp-microvolt = <731000>; - }; - opp-1000000000 { opp-hz = /bits/ 64 <1000000000>; opp-microvolt = <731000>; diff --git a/arch/arm64/boot/dts/amlogic/meson-g12b-s922x.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12b-s922x.dtsi index 1e5d0ee5d541..44c23c984034 100644 --- a/arch/arm64/boot/dts/amlogic/meson-g12b-s922x.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-g12b-s922x.dtsi @@ -11,26 +11,6 @@ compatible = "operating-points-v2"; opp-shared; - opp-100000000 { - opp-hz = /bits/ 64 <100000000>; - opp-microvolt = <731000>; - }; - - opp-250000000 { - opp-hz = /bits/ 64 <250000000>; - opp-microvolt = <731000>; - }; - - opp-500000000 { - opp-hz = /bits/ 64 <500000000>; - opp-microvolt = <731000>; - }; - - opp-667000000 { - opp-hz = /bits/ 64 <667000000>; - opp-microvolt = <731000>; - }; - opp-1000000000 { opp-hz = /bits/ 64 <1000000000>; opp-microvolt = <731000>; @@ -76,26 +56,6 @@ compatible = "operating-points-v2"; opp-shared; - opp-100000000 { - opp-hz = /bits/ 64 <100000000>; - opp-microvolt = <751000>; - }; - - opp-250000000 { - opp-hz = /bits/ 64 <250000000>; - opp-microvolt = <751000>; - }; - - opp-500000000 { - opp-hz = /bits/ 64 <500000000>; - opp-microvolt = <751000>; - }; - - opp-667000000 { - opp-hz = /bits/ 64 <667000000>; - opp-microvolt = <751000>; - }; - opp-1000000000 { opp-hz = /bits/ 64 <1000000000>; opp-microvolt = <771000>; -- 2.17.1