From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755603AbdESGX7 (ORCPT ); Fri, 19 May 2017 02:23:59 -0400 Received: from mail-pf0-f171.google.com ([209.85.192.171]:34607 "EHLO mail-pf0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754853AbdESGX4 (ORCPT ); Fri, 19 May 2017 02:23:56 -0400 From: Joel Fernandes To: linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Joel Fernandes , Srinivas Pandruvada , Len Brown , "Rafael J . Wysocki" , Viresh Kumar , Ingo Molnar , Peter Zijlstra Subject: [PATCH v2 0/2] Make iowait_boost optional and default to policy Date: Thu, 18 May 2017 23:23:42 -0700 Message-Id: <20170519062344.27692-1-joelaf@google.com> X-Mailer: git-send-email 2.13.0.303.g4ebf302169-goog Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org iowait_boost is causing power regression on our arm64 SoC. Really going to max frequency is bad for power on mobile devices and not wise. These patches make it optional and default to what the policy suggests coming from the cpufreq driver as input to the governor. Here are some power numbers collected on an arm64 based Qualcomm SoC on a mobile device running a YouTube video for 30 seconds: Before: 8.042533 mWh After: 7.948377 mWh Energy savings is ~1.2% Joel Fernandes (2): cpufreq: Make iowait boost a policy option sched: Use iowait boost policy option in schedutil drivers/cpufreq/intel_pstate.c | 1 + include/linux/cpufreq.h | 3 +++ kernel/sched/cpufreq_schedutil.c | 32 ++++++++++++++++++++++++++++++++ 3 files changed, 36 insertions(+) Cc: Srinivas Pandruvada Cc: Len Brown Cc: Rafael J. Wysocki Cc: Viresh Kumar Cc: Ingo Molnar Cc: Peter Zijlstra -- 2.13.0.303.g4ebf302169-goog