Received: by 10.223.185.116 with SMTP id b49csp1836485wrg; Sat, 17 Feb 2018 06:23:48 -0800 (PST) X-Google-Smtp-Source: AH8x226FPimR0WDZ6M/oxbTohiS7o3ICy6Zbw1oGam1+owTyQvt534PhKvEw0h/AXLPA1dij5rrH X-Received: by 2002:a17:902:8f90:: with SMTP id z16-v6mr9088311plo.370.1518877428655; Sat, 17 Feb 2018 06:23:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518877428; cv=none; d=google.com; s=arc-20160816; b=k8VzdaQfGBFPxVAmGKV0EybRAV99Z06BAIa0rEBt/cdttBEXtgN2K3Rw6BLhw+RKcD rzENVGGSqSdEL/u3/+KWqmM11f+kE3xfNVNoDrSu82vqprAC2Jq1WL4Xdi5PWdJBReYf Qdfew4gqjSrdkUmaOcVFopG+ItcGCJVtekvfUwrBzlLyFTWosI0V6Audrk90iltpLJzN qkD2OT3wKgObjCbn6EIoXU4+hnRD3I5cfY2nFt/Btzg3/u/yfc1akvYNU3MWPMxyJs9/ EHc2Q8HaWZ7SXnwIjHuAt24Yrrl80wNVKxYuYw4VCNGoLbdyfEI4J4AVvcch3aV4vg29 sJPw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=wDbn0XfylD6S87dTo9oN2WUpPBcaxYnYl2nwYyy7pN8=; b=HsTbSMs4Fz8vwNWH1VBnkOQFgFl0QQfyoBUN/+v7BfBt0DlmWm9eu5M42xXoSj0G4I N/lLLxRfpaPZEJajhRuyIMvjAzr6EAke5nw0tH8pguDqd4C123jSfhj1EK5U30IOnFG4 +Ib0DgzedDA7BK0/LldbzxckbOUlZTAUFq/OviVcE8hLQyIR8RrTVuBJyR+vafC6Gen5 VnMX5dXGaAUVx5a70/6joT5pU9qOCWVIJ+ZE5+ljyWOAnIz03Toca4B/HhQWLr8htqSf dxIIEqbTBY/J6KncFUA2CfTFI/ijCHJmAmYcHLS0Q+y7IaLHGkD3BWJGKRFa6R8emPHV uBKw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=TwJTzXoF; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z79si1407720pfi.381.2018.02.17.06.23.34; Sat, 17 Feb 2018 06:23:48 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=TwJTzXoF; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1751148AbeBQOWj (ORCPT + 99 others); Sat, 17 Feb 2018 09:22:39 -0500 Received: from mail-wr0-f193.google.com ([209.85.128.193]:40364 "EHLO mail-wr0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751065AbeBQOWi (ORCPT ); Sat, 17 Feb 2018 09:22:38 -0500 Received: by mail-wr0-f193.google.com with SMTP id o76so5456719wrb.7 for ; Sat, 17 Feb 2018 06:22:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=wDbn0XfylD6S87dTo9oN2WUpPBcaxYnYl2nwYyy7pN8=; b=TwJTzXoF5B98NyCRTxNKOP6Wcq628rvlFQMY+iakxagNT4CeJKAeCzWhpwO+BQ+fTs 3r0sHDx/4g9qyyOglEh9VUFjDNTQ/5LWHHCkLX1KuEHB/vRUMoKqMIIrvPzBJPZG6XKH orlUtBZ7SAgDme8rOhxjtOuwjmmHPmkdtY+DyxmkVjBLFUzPmAw6pWVfrLiTdD6sicBL j3cbP8rbObg3dhPMvuj+3TqMbmktjsSq5pQoNcd5JUWrCv7A4zxV1lYTZvBFtHZKzlFv IErBftKJ8kVqP1igGM3Y6a9OgZdytHIEdcx5Y4PZGdlh3bia5TKykYv+rCjUBRdkM2sO UHzg== 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; bh=wDbn0XfylD6S87dTo9oN2WUpPBcaxYnYl2nwYyy7pN8=; b=XiNzICTV9NgxxIdNu+ardrcX5tsgHyEkcm/QD7D5GZqct8F0RnDO9e4GXiIdid4JmM fZZdXzFqxBmWKO3MZjNaMT+00jscBCWqr+8QDIsanKo2iWXmy+ahLvFbNsgm7ml/rmH8 Fy+DqQB0xEP4xmXig07bbKplV7ytjy2O7LVrFkzdbwG73cxnfF0bfO9dc4yQ/7XWPvdi aIdeBBd2MaJYaweJkoAWGuD+gV0n6JSPslNT0C0VbQXgEbxDDEDlM/4NtXb2BHIvFlab bwLzCCZpbwswVZv1/SZqfLGQnSEzn3CRhNTM9igxtQnijfwSTqP0oXcwEEmMJuZtCrAG lmug== X-Gm-Message-State: APf1xPB41bNqrz2lrBVufCMfp9lZjI/LhDJT97Af2D21SURkI1LiJl0O 1mTNr1KidtdgigGODWWRmHY= X-Received: by 10.223.158.10 with SMTP id u10mr30966wre.165.1518877357312; Sat, 17 Feb 2018 06:22:37 -0800 (PST) Received: from debian-laptop.fritz.box (p578F04D2.dip0.t-ipconnect.de. [87.143.4.210]) by smtp.gmail.com with ESMTPSA id v202sm7327189wmv.29.2018.02.17.06.22.36 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 17 Feb 2018 06:22:36 -0800 (PST) From: Philipp Rossak To: linux@armlinux.org.uk, maxime.ripard@free-electrons.com, wens@csie.org, davem@davemloft.net, arnd@arndb.de, mchehab@kernel.org, clabbe.montjoie@gmail.com, rask@formelder.dk, krzk@kernel.org, sean@mess.org Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-sunxi@googlegroups.com Subject: [RFC PATCH] ARM: configs: sunxi: Set ondemand govenor as default Date: Sat, 17 Feb 2018 15:22:35 +0100 Message-Id: <20180217142235.28541-1-embed3d@gmail.com> X-Mailer: git-send-email 2.11.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Right now the performance govenor is the default frequency govenor on sunxi devices. This causes some general problems. When the cpu is idle the cpu runs with its maximum frequency. This causes a higher cpu temperature in the idle state. When the cpu is now under load the cpu gets with that higher idle temperature now faster to its thermal limits. An other big problem of the performace govenor is the missing thermal throttling. Some tests with cpuburn resulted in a system crash when the soc reached its thermal limits since no thermal throttling occurred. With this patch we set the default frequency govenor to ondemand mode and reduce the temperature when the cpu is idle and activate the thermal throtteling. Signed-off-by: Philipp Rossak --- arch/arm/configs/sunxi_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/sunxi_defconfig b/arch/arm/configs/sunxi_defconfig index df433abfcb02..e5812851091c 100644 --- a/arch/arm/configs/sunxi_defconfig +++ b/arch/arm/configs/sunxi_defconfig @@ -14,6 +14,7 @@ CONFIG_CMA=y CONFIG_ARM_APPENDED_DTB=y CONFIG_ARM_ATAG_DTB_COMPAT=y CONFIG_CPU_FREQ=y +CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y CONFIG_CPUFREQ_DT=y CONFIG_VFP=y CONFIG_NEON=y -- 2.11.0