From patchwork Thu Feb 10 10:06:38 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christian Hewitt X-Patchwork-Id: 12741646 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 066E9C433F5 for ; Thu, 10 Feb 2022 10:07:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:List-Subscribe:List-Help: List-Post:List-Archive:List-Unsubscribe:List-Id:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=NvHBavZubh9GVp98mVFz8XZRxqb7VjRp2fiFg92cAFQ=; b=jjnYYGth6LRMMj LADdGql5S97r1wOSiUx2bxmgf/txeVDnzQJKIXYJy//OPksOBG/PLCr+P2wMKZ7YpB5X915P6TBx9 NrwRatpThF40prtX3hVdmABL8vwJcfKS8OUWrtvHC97P0NrOix3shWnF8aQgPpp5Q8iRIIs/ARHN2 zkIH+7YijQ+JpQHI4zCJ38NIUaEcVF2M6iNczUfyu4/PsZtwma7tW+M6G5dOxlC/6k3+fbn3yQhwj QpPMy+9uQbsTTW2zHc7uGdjujpNp6CMs4i/U/xkHbpbzHTvD9XL//ZKP3TfTws0bCq3ZmMA6ejDRZ xlRF5L8Q9xuHn+U3iOvw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nI6MD-003P1F-KS; Thu, 10 Feb 2022 10:07:21 +0000 Received: from mail-wm1-x332.google.com ([2a00:1450:4864:20::332]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nI6Lh-003OoP-3i; Thu, 10 Feb 2022 10:06:50 +0000 Received: by mail-wm1-x332.google.com with SMTP id bg21-20020a05600c3c9500b0035283e7a012so3564079wmb.0; Thu, 10 Feb 2022 02:06:48 -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=Y0ck2+Flg1Nv+YQQJK1Oj0F4moGp+OjHs+CYNxD2uz8=; b=a8P87qlqFA2/4FEtvmwzeI04KHyNPH7+FoKcSsiUykIs6yJnsgjWIEfGl0isyS0AF7 UVKWLkp7E/7V4BLJuADG13m9FJ0VkF8Em2nIIg0r5B4Xukfwkd8x321smxXu7gPWjZYF uI5qpYl28fMUIjslfV3PkD7e+o256HXnQb4iJJgcR9LhIYP+4z2oUUtXPxIPPyMsHWaz J+gbEXh4zMbr01YpqRcX3HYcyuBfy9DKL5SIOJ6tfr0n0nbEn5ZXosFqLexLT5sq6Sbh 2updAThX82ERiy8d4a3ocCBFPM2Q4usaLnKsHoZZlj62axCFkW2SVVFgwAnJ3BJEb6R0 RZHQ== 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=Y0ck2+Flg1Nv+YQQJK1Oj0F4moGp+OjHs+CYNxD2uz8=; b=y4etpHRS8p6kQBPa2dVh1sg0QFR01Jui+Z0E3gCA/yvdWl47xLWI2QdOHlv5dDG3k+ lmPMzLxZNyKM6uOgQnfZEkHrUO8mIXz3eRPIIgSKmrjJQp7BiACvF3ZVif3fN9rVtRMj sw41yNTHZ1ueU0d5hJ3OHmYFaT/TGiHCDKKZI7NdT21R6u6KYEfYEhBT8EyLB8f8emXS LQxcjvaXrVVT0/plG0xk9Ljg19rDvltdZCOvQ1edIZKYBCSW7DrDrbiyu0HPCfZ/2m7E luskjoHmE+pEx5rNu6t5ryNMTGrlVk+wWDeZYS/ZBbbAlMUBIGKBg3/qIPV9BruQGZ+t /Iww== X-Gm-Message-State: AOAM530Rsm/J/B983XrQmr7diXXCNcArPkMEbNNY/qEgkw+wf+X1kNiE HG/CbOpvEshjtwRtRUUzBFI= X-Google-Smtp-Source: ABdhPJythzp7JbMzxyxftp7l97OVurj1aMwR3pc9YOlmUz+tTRyenoz4dHM6xCWl5VM+txLC23vzOw== X-Received: by 2002:a7b:c201:: with SMTP id x1mr1546625wmi.102.1644487607336; Thu, 10 Feb 2022 02:06:47 -0800 (PST) Received: from localhost.localdomain ([87.200.95.144]) by smtp.gmail.com with ESMTPSA id g15sm18817494wri.82.2022.02.10.02.06.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Feb 2022 02:06:46 -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 2/2] arm64: dts: meson: remove CPU opps below 1GHz for SM1 boards Date: Thu, 10 Feb 2022 10:06:38 +0000 Message-Id: <20220210100638.19130-3-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-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220210_020649_178639_308811EF X-CRM114-Status: GOOD ( 11.85 ) X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+linux-amlogic=archiver.kernel.org@lists.infradead.org Amlogic SM1 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: 3d9e76483049 ("arm64: dts: meson-sm1-sei610: enable DVFS") Signed-off-by: Christian Hewitt Reviewed-by: Neil Armstrong --- arch/arm64/boot/dts/amlogic/meson-sm1.dtsi | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/arch/arm64/boot/dts/amlogic/meson-sm1.dtsi b/arch/arm64/boot/dts/amlogic/meson-sm1.dtsi index 3c07a89bfd27..80737731af3f 100644 --- a/arch/arm64/boot/dts/amlogic/meson-sm1.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-sm1.dtsi @@ -95,26 +95,6 @@ compatible = "operating-points-v2"; opp-shared; - opp-100000000 { - opp-hz = /bits/ 64 <100000000>; - opp-microvolt = <730000>; - }; - - opp-250000000 { - opp-hz = /bits/ 64 <250000000>; - opp-microvolt = <730000>; - }; - - opp-500000000 { - opp-hz = /bits/ 64 <500000000>; - opp-microvolt = <730000>; - }; - - opp-667000000 { - opp-hz = /bits/ 64 <666666666>; - opp-microvolt = <750000>; - }; - opp-1000000000 { opp-hz = /bits/ 64 <1000000000>; opp-microvolt = <770000>;