From patchwork Wed Apr 14 08:45:06 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 1466076 X-Patchwork-Delegate: hauke@hauke-m.de Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.openwrt.org (client-ip=2001:8b0:10b:1:d65d:64ff:fe57:4e05; helo=desiato.infradead.org; envelope-from=openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=desiato.20200630 header.b=WUcy+nbq; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=uzO4ypoh; dkim-atps=neutral Received: from desiato.infradead.org (desiato.infradead.org [IPv6:2001:8b0:10b:1:d65d:64ff:fe57:4e05]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4FKx161fc0z9sPf for ; Wed, 14 Apr 2021 18:47:06 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version: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:In-Reply-To:References:List-Owner; bh=6tfP7bpRyad0oliS99hjPoM4PyV4gNh/6afGNyYkaKg=; b=WUcy+nbqoht2itr0ncvXQji1Tk z3RfBbCMp7o5Es27rcya5Vt/dw3X9rHV07qcW25WQemR/R1McbIELHPvwPZty2IJFlT+V5Dyv7apK 8vJCAWxLL0YJqDhvirxRRMV9kqrAPDwqw3ptjgrGEU7ftTLnboFKgw7DubVaFNHW/sS9TeWvxr1IF Qi3pgi7EhQkDqVLzrylP9UWsw4JZUDh4MBUDCbLEERAUMnDILL5J42l0OBLgHVWKmqTD1OJgGZiWN bNkCjly3YVYvjSLskxjX3FYeZ7AXchi1fw584a5Cw70ypBEppCEEemeOZPj+P3SaywDsSiw4PlcI7 0VNfVKPg==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lWb9B-00C2N9-9h; Wed, 14 Apr 2021 08:45:17 +0000 Received: from mail-lf1-x12e.google.com ([2a00:1450:4864:20::12e]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lWb94-00C2Ln-Si for openwrt-devel@lists.openwrt.org; Wed, 14 Apr 2021 08:45:13 +0000 Received: by mail-lf1-x12e.google.com with SMTP id r8so31743932lfp.10 for ; Wed, 14 Apr 2021 01:45:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=eltXiXpdZnS9ULgzoTLun7V1m6maPvwZe8lk87q0fco=; b=uzO4ypohXPOOCngz6KO2g3pvjaiVc/UqPIWoM+DXTbODiQixgAOcxwEKM1BoRXHdAD nosvj2Ds4OxN76CLW21sASBK90LI9GQZJDuodA3pswThK14oy5OfoMZR3tqrZcC3enjQ a5fUSp74NltZ7AhCuHAZpQMr1vSWxDy88z/Vlb54TbXud+aAy9UC4kNY89qSHzZ2/7oZ 1ig/OziNNNK7nnLkIPGpb4mkgwU6J/EmHtWuEDYyG0P5k1VrLJe1Vk8OC7eGthSzhXI8 XuNxK/V7iBKOxNMGmA5JPxvMDv3AQMIGA/XpwOqoUtzbTYajKJ9481ELI8pNXZXoQeBa m4iQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=eltXiXpdZnS9ULgzoTLun7V1m6maPvwZe8lk87q0fco=; b=V/668rW8lMfdlbULrtGBRMfUWAgNzumCNM/HKsd3RT2RXHp1G1Cir9RLBANxdoi+qn bGeWmPq7o/5Z/A9Px4oEGsceJrK1QDLIBQBauxw/ZlJB/6MGUoeY8QpKDNBKineMDVYP gbK6L+MnRcIFhxL361bugTmt8ocDdY5M/fuduJSQDllV6SmZ21BVNoePc+PQloG8F9jr 7MR/3H/FeKvmlorQWg3s4HgtUfP2Lv1RM3J03g2ZxSBDXU+2T2Jx0Sr1WyLhm57nQfPN u1xLIM/y5S0td+qH4YpUK0H7Qdlt1T2tLgfbwQ5QzhCFK4iLZdEHXFzQPvDMiH2lplAG cc0w== X-Gm-Message-State: AOAM532szuOtVSMmPXVj3nQ5CZmnkO6RpEcqej/ifJonzFwzgCTif0Ar z8X6ddPaBEBpbjo7x3ZafrFhdKpS6tOpBg== X-Google-Smtp-Source: ABdhPJzCeo2LuzVIyq5cPDs6RJZe+zv9B+r7XPtGI3t56EeKIk8gUwyNkmeL8NCsKvpCMfAvb4P4Dw== X-Received: by 2002:ac2:41c4:: with SMTP id d4mr24574404lfi.334.1618389908539; Wed, 14 Apr 2021 01:45:08 -0700 (PDT) Received: from localhost.localdomain (c-fdcc225c.014-348-6c756e10.bbcust.telenor.se. [92.34.204.253]) by smtp.gmail.com with ESMTPSA id i188sm692959lfd.280.2021.04.14.01.45.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Apr 2021 01:45:08 -0700 (PDT) From: Linus Walleij To: Roman Yeryomin , Sebastian Luft , Hans Ulli Kroll , Hauke Mehrtens , Christian Lamparter Cc: Florian Fainelli , openwrt-devel@lists.openwrt.org, Linus Walleij Subject: [PATCH] kernel: Disable CPU_THERMAL by default Date: Wed, 14 Apr 2021 10:45:06 +0200 Message-Id: <20210414084506.2293477-1-linus.walleij@linaro.org> X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210414_094511_261940_063325FE X-CRM114-Status: UNSURE ( 8.84 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.2 (/) X-Spam-Report: Spam detection software, running on the system "desiato.infradead.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: This config is for platforms that have: A) CONFIG_THERMAL set (we disable it by default) B) Has thermal zones that need to control cpufreq This is not suitable for default config, it needs to be enabled on a per-target basis in individual configs. Content analysis details: (-0.2 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:12e listed in] [list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: OpenWrt Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "openwrt-devel" Errors-To: openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org This config is for platforms that have: A) CONFIG_THERMAL set (we disable it by default) B) Has thermal zones that need to control cpufreq This is not suitable for default config, it needs to be enabled on a per-target basis in individual configs. Signed-off-by: Linus Walleij --- target/linux/generic/config-5.10 | 1 + 1 file changed, 1 insertion(+) diff --git a/target/linux/generic/config-5.10 b/target/linux/generic/config-5.10 index a52fa1e6812b..2de25a4abd0d 100644 --- a/target/linux/generic/config-5.10 +++ b/target/linux/generic/config-5.10 @@ -979,6 +979,7 @@ CONFIG_CONSTRUCTORS=y CONFIG_CPU_LITTLE_ENDIAN=y # CONFIG_CPU_NO_EFFICIENT_FFS is not set CONFIG_CPU_SW_DOMAIN_PAN=y +# CONFIG_CPU_THERMAL is not set # CONFIG_CRAMFS is not set CONFIG_CRAMFS_BLOCKDEV=y # CONFIG_CRAMFS_MTD is not set