Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp2408245pxb; Wed, 9 Feb 2022 18:36:13 -0800 (PST) X-Google-Smtp-Source: ABdhPJyUyaHGu/mmwxsEojcWYp1rmBcvCoz8/SEbrseCZuUfU94V/ZjTAopaxVxo/eb/rnOYv6OZ X-Received: by 2002:a17:907:7ba1:: with SMTP id ne33mr2186397ejc.1.1644460572911; Wed, 09 Feb 2022 18:36:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644460572; cv=none; d=google.com; s=arc-20160816; b=qrsmA1ptEba2Qyi65n4wXYqGniJIYOzOFohZ36Te2nW3OdmVdEKE23ORXWr6zOlDQe 6Ym8hWSj66DxBydN+lm0UzZ1a1U2NqV1j0UmN98uob/pnqlbZBjL3OElYN9Td9ehHCwf ZHuLgBGJvWpOrs8idnzelX0i24URIP+lD0nasr5jC68QtjmHrfGP9DfgPc5f0cTId3Wb UbkrKolzuBBdM0LC6G1OVd7F5L/yrwrKnt+H1yolzSuIbpWrRiZTnGUXjOInH8GQpacV MtekPLqWXMVFHyUxXmkQ6SKicKweHDqRk+PU3Jz6pLNq7tfCNhv8VvzramArxQ0hd7Bn z/+w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:references:message-id :content-transfer-encoding:cc:date:in-reply-to:from:subject :mime-version:dkim-signature; bh=4hS/S8hMrcbzcsd090a7H7Kvjs/YdvSJTEAtKUvaT0c=; b=UDYnf0xcukAZ8a6zTqDYGCfYYlpuVvyASSxB6e94Ycd9MqgY5t8TV7BibMhN73mAo1 9+XBVyezaMaHBO3SBRgAjsiXz6SQFnkPV0iJqPljqIk8jrmSsDsiGkeF9hAa781J/L/v hprEcEUGO/ZsCcSVDApmzj3RFAlO31gnRq3zRRtqRyzwSzrw0luRv1jaoKGpEnWnWyK2 Ch/Lq61fW2xBAh66dI25GVHiAD9t3AesaBVytfgt4h3Xi2UTfWs9GbuW9LBSM8Kr6wrD 8MHvk/dFirP4ASrL8/G3s4a/nQneOLj8TXfH66gdit4DU069UDBfLE/qU4W81Zv0wZL8 5QCg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=UPYGrhCe; 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 gn15si3482819ejc.616.2022.02.09.18.35.48; Wed, 09 Feb 2022 18:36:12 -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=UPYGrhCe; 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 S233672AbiBJB7y (ORCPT + 99 others); Wed, 9 Feb 2022 20:59:54 -0500 Received: from gmail-smtp-in.l.google.com ([23.128.96.19]:33578 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233973AbiBJB7S (ORCPT ); Wed, 9 Feb 2022 20:59:18 -0500 Received: from mail-wm1-x336.google.com (mail-wm1-x336.google.com [IPv6:2a00:1450:4864:20::336]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C9B1F2B6BB; Wed, 9 Feb 2022 17:46:57 -0800 (PST) Received: by mail-wm1-x336.google.com with SMTP id n8so2540555wmk.3; Wed, 09 Feb 2022 17:46:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=4hS/S8hMrcbzcsd090a7H7Kvjs/YdvSJTEAtKUvaT0c=; b=UPYGrhCeCFm3efuGmjPifYeeiF7tS6LK1qydpI2IDkk1Uyj6ukty8Ilq89fPV6xRU3 9B/pMZFIo6eJSe3vNfaKlgF8eyd+ddXhQ0ATCCvxbAG1wuizheGGNhDMmj9R87miJYQZ WhrcDBc029TwMvUu7wseFf/eDcC+sX6pHoqUM2Y+R1odRKiTtdjl6zDsc8I4KTcrjd7a nxM/Tdz3fDGJXvp1B5bnITLrXq5nk+fQYawpVH9SkMFvRZmAaK09WpU8klRnwQsWZmyK RxY65xjlwdfRo7vGPWcxVK1FambKB9+nMXBayPjmeMuaDeuMmYHt1/aB5oblhJ2f9iUi U0sg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=4hS/S8hMrcbzcsd090a7H7Kvjs/YdvSJTEAtKUvaT0c=; b=2akjj/i8wW6knVfp589p3IlRsNA6FhwOlNUpFWyZY4w+seZ6KN3liLQp7OhfXg0QfX UnMFgka1HRhm3cq0GtniDeDV8e3rVW6+TRlOIFP0PFtRGRpIJXowSz16UA6mPNtYWZ1p YBR1RA6hBJQ8YCfzuajh+3bR3qdJwPSxcOqImLYG0/8Ym0KviuTUhAQljkmFNHudrKqS VYc2AhSNlbNQ3zYbV2oBGBKor/8e+i0koQF7YCUB1M9W2AOdGDA9oo4ZMMryaGSirfIe 8nUEqjRVwZeNcPu7IEHrS9JQjBFljn87kF6wMtfAtqvtRiMiUgY5W8NSFOpaZIj6RBdk FaGQ== X-Gm-Message-State: AOAM532Yldb5gLkd137PxqxMBI0F5oreRs/YDqXdjUKlJfTqsiXmdbgW 3Ydh4yDCet3Ma4EzXLkvhfdT1cTrNSYswg== X-Received: by 2002:a05:600c:4f85:: with SMTP id n5mr160081wmq.64.1644457616199; Wed, 09 Feb 2022 17:46:56 -0800 (PST) Received: from smtpclient.apple ([167.99.200.149]) by smtp.gmail.com with ESMTPSA id m5sm84571wms.4.2022.02.09.17.46.54 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 09 Feb 2022 17:46:55 -0800 (PST) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 15.0 \(3693.40.0.1.81\)) Subject: Re: [PATCH] arm64: dts: meson: remove CPU opps below 1GHz for G12B/SM1 From: Christian Hewitt In-Reply-To: <7h7da3o6cg.fsf@baylibre.com> Date: Thu, 10 Feb 2022 05:46:52 +0400 Cc: Rob Herring , Mark Rutland , Neil Armstrong , devicetree , linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <20220209135535.29547-1-christianshewitt@gmail.com> <7h7da3o6cg.fsf@baylibre.com> To: Kevin Hilman X-Mailer: Apple Mail (2.3693.40.0.1.81) 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 > On 10 Feb 2022, at 5:31 am, Kevin Hilman wrote: >=20 > Christian Hewitt writes: >=20 >> Amlogic G12B and 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 >> (with no explanation) [0] but other downstream sources also remove >> the 500/667MHz points (also with no explanation). Unless 100-667Mhz >> opps are removed or the CPU governor forced to performance, stalls >> are observed, so let's remove them an improve stability/uptime. >=20 > Just curious: what CPUfreq governor do you use by default for the > LibreELEC kernel? LE uses ondemand. One of the original clues on the problem us that the issue isn=E2=80=99t seen in some of the retro-gaming forks on LE's = codebase which use the performance governor (and overclocks, etc.) > Your patch greatly improves the stability I'm seeing, but doesn't = quite > elimitate it. >=20 > I'm testing suspend/resume in a loop on VIM3, and with schedutil > (default) or ondemand, it eventually hangs. With either powersave or > performance it's stable. =20 >=20 > Kevin