Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp528797rwb; Wed, 18 Jan 2023 22:16:55 -0800 (PST) X-Google-Smtp-Source: AMrXdXvpaksnu48YxyiFdAtEUiDE9C1iI1YvFewGlgiR0UBilY8klKqzGxjIpal6fm/ZuZ/BmUms X-Received: by 2002:a17:903:2405:b0:194:5116:c3ee with SMTP id e5-20020a170903240500b001945116c3eemr11917190plo.37.1674109015315; Wed, 18 Jan 2023 22:16:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674109015; cv=none; d=google.com; s=arc-20160816; b=nZpouucZyO/kS/wNfAXtXP8d9hbkueGG6Kp+JOVNWXj46lyG7lRUxfSuHOUpVmksAB dmutqou8VgusPvqNNFBmZBXefRV8Gh8OpKk5CdqCzqFLTQYwGYByzU+RnLbKancncXfY AJwQT/lZr7diDsUWjvY4tOGakwHPtUpfiu5TJk4j9QDWj0OjqoECPicPKPS923USMoDA elETf48aGlN5aMP6iKOQ9+98KrKeMieud+Ka0dBoGeUJWW/3gj0YLfPutyMCnZSyx5Qi d9ZIsyiYs60CF3vtAYOiRYIM8YmM1XADcTedTCaDTOUWJlKzeEh13d9gtHF62khT7CTy gAmg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:to:from:dkim-signature; bh=p2/XB5nocOcz71QrQT5RaGDQw4mHrCDFlBceveHpJws=; b=q+d5GJeqzTqfl+dIAkSoHqyIf5HTtJpXr97TqleXmjIVMTEUDfQ2tAbgcbn04/mx4S Y3ixMWcTf0cXGZ1ry8Z9Vd/XBhQE3SIt3l++8ThV0HSDXmCuulirMFsgxZ7CA5i+2xC/ 09q9CcgJPxPc9sJbqk38foud/2LF0HgTWySuUVwfL54kPa7ZbQQtOBk3Ruf4o1MQMa4E TE20Z3QYR41DmqYzDPn1o1YO+Fiu1mddYiV7KlLZ47Up4GhIakGQND5UftjjkKkdLqK3 TOiN0AxDk8AVKLu9PuFK+KeiU07bsuwM70CzTsiINX5J82Sre/PzkNQ+fU9f2EHvXRe7 Wt/A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=fgDrE8OE; 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 u14-20020a170903124e00b00189c83914c7si38818018plh.89.2023.01.18.22.16.49; Wed, 18 Jan 2023 22:16:55 -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=fgDrE8OE; 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 S229887AbjASFay (ORCPT + 46 others); Thu, 19 Jan 2023 00:30:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58200 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229787AbjASFai (ORCPT ); Thu, 19 Jan 2023 00:30:38 -0500 Received: from mail-wm1-x335.google.com (mail-wm1-x335.google.com [IPv6:2a00:1450:4864:20::335]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 888632692; Wed, 18 Jan 2023 21:30:37 -0800 (PST) Received: by mail-wm1-x335.google.com with SMTP id k16so650443wms.2; Wed, 18 Jan 2023 21:30:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:from:to:cc:subject:date:message-id:reply-to; bh=p2/XB5nocOcz71QrQT5RaGDQw4mHrCDFlBceveHpJws=; b=fgDrE8OE636Axhvs8Lml+cCcuTQCUQ3tIQGZGfszJQbL15Y6MB1s5qgXmfdl/gtjcH 4f8H5rVpgBL88MNsCqOyrWE/SJpME1Rvm3qmPfYuyDf//rjSI1AlxZOsmFFv+RPG5Ip0 UwdT5DS96/BoAmZ4+dwGog+uvQvQKlZxX11OwT7AR5yYyxZNPcGQcFpdNtjn9dfVsU9T hzze1H8WwkdArdbeRUrL2cZyrXOLacd9q9mFtFGP62I9bHfpQm3/81p2XS5tRFVrAVNy IeeNfkB38/GWcaL9igVXh6v/UAMdfvU6qbEm9MuYOQ9RTkbxTlL9doZMIFKvhtiwCffE qqHA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=p2/XB5nocOcz71QrQT5RaGDQw4mHrCDFlBceveHpJws=; b=XTrb2xqpcQ3sfn3dTdyWM9tb1llTnlO5heP0FSTDj9Wc7ssw9+xmzceXvRH8Is7NKi 2M6LaOMsIkI+Xol1CT0o+6T92twrzAivzlHFF5SlkbNPXW8gEQV/ghhn3QGpmLCthgeS GZEIXU8FLl/5HKnzNKjUeRbkcTkeJVi5K7qOyl13TZeSv7Dk5hu+pepVS9VvuxPLtQTt SEKccOuUYES0dmKTqYFlOzA2wdCp/oUX4q4IF05CGxiLjcX0MYgFRXGq53XCB4tS1RLQ 0e2Ew8MCYXBRPhiyX59AvPCuZc1AwueJNP5xaXYG0+WIs9YHE3oSP2z+bf+HcQ39AWdc jSLw== X-Gm-Message-State: AFqh2koSgndyB6ePaLgkXoJopAZhdv0VIqEkQXzU7/tSroGwSbS/7N2L f1BPjM4ItmU6sGm3VAWo+N8= X-Received: by 2002:a05:600c:1c8b:b0:3db:fe:f84e with SMTP id k11-20020a05600c1c8b00b003db00fef84emr8654045wms.1.1674106236017; Wed, 18 Jan 2023 21:30:36 -0800 (PST) Received: from toolbox.. ([87.200.95.144]) by smtp.gmail.com with ESMTPSA id n42-20020a05600c3baa00b003d9f14e9085sm4235381wms.17.2023.01.18.21.30.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Jan 2023 21:30:35 -0800 (PST) From: Christian Hewitt To: Rob Herring , Krzysztof Kozlowski , Neil Armstrong , Kevin Hilman , Jerome Brunet , Martin Blumenstingl , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH] arm64: dts: meson: remove CPU opps below 1GHz for G12A boards Date: Thu, 19 Jan 2023 05:30:31 +0000 Message-Id: <20230119053031.21400-1-christianshewitt@gmail.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 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 G12A 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: b190056fa9ee ("arm64: dts: meson-g12a: add cpus OPP table") Signed-off-by: Christian Hewitt --- It seems we (me) forgot about G12A when pushing changes to remove opp points from G12B and SM1 boards in [0] and [1]. [0] https://github.com/torvalds/linux/commit/6c4d636bc00dc17c63ffb2a73a0da850240e26e3 [1] https://github.com/torvalds/linux/commit/fd86d85401c2049f652293877c0f7e6e5afc3bbc arch/arm64/boot/dts/amlogic/meson-g12a.dtsi | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi index fb0ab27d1f64..6eaceb717d61 100644 --- a/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi @@ -57,26 +57,6 @@ cpu_opp_table: opp-table { 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 <666666666>; - opp-microvolt = <731000>; - }; - opp-1000000000 { opp-hz = /bits/ 64 <1000000000>; opp-microvolt = <731000>; -- 2.34.1