From patchwork Mon Jan 11 16:43:02 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jean Delvare X-Patchwork-Id: 8006711 X-Patchwork-Delegate: rjw@sisk.pl Return-Path: X-Original-To: patchwork-linux-pm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 3407B9F1C0 for ; Mon, 11 Jan 2016 16:43:20 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 6172A202DD for ; Mon, 11 Jan 2016 16:43:19 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 7D3FA2028D for ; Mon, 11 Jan 2016 16:43:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1761259AbcAKQnK (ORCPT ); Mon, 11 Jan 2016 11:43:10 -0500 Received: from mx2.suse.de ([195.135.220.15]:50217 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1761258AbcAKQnI (ORCPT ); Mon, 11 Jan 2016 11:43:08 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 16608AD71; Mon, 11 Jan 2016 16:43:06 +0000 (UTC) Date: Mon, 11 Jan 2016 17:43:02 +0100 From: Jean Delvare To: linux-pm@vger.kernel.org Cc: Thomas Gleixner , Zhang Rui , "Rafael J. Wysocki" , Daniel Lezcano Subject: [PATCH 3/3] cpuidle: Don't enable all governors by default Message-ID: <20160111174302.34294818@endymion.delvare> In-Reply-To: <20160111173915.63ec1bcd@endymion.delvare> References: <20160111173915.63ec1bcd@endymion.delvare> Organization: SUSE Linux X-Mailer: Claws Mail 3.10.1 (GTK+ 2.24.23; x86_64-suse-linux-gnu) MIME-Version: 1.0 Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Since commit d6f346f2d2 ("cpuidle: improve governor Kconfig options") the best cpuidle governor is selected automatically. There is little point in additionally selecting the other as it will not be used. So don't make it the default. Being able to select more than one governor is still good for developers booting with cpuidle_sysfs_switch. This fixes the second half of bug #65531: https://bugzilla.kernel.org/show_bug.cgi?id=65531 Signed-off-by: Jean Delvare Cc: "Rafael J. Wysocki" Cc: Daniel Lezcano Cc: Zhang Rui --- drivers/cpuidle/Kconfig | 2 -- 1 file changed, 2 deletions(-) --- linux-4.4.orig/drivers/cpuidle/Kconfig 2016-01-11 00:01:32.000000000 +0100 +++ linux-4.4/drivers/cpuidle/Kconfig 2016-01-11 17:06:44.294720023 +0100 @@ -19,11 +19,9 @@ config CPU_IDLE_MULTIPLE_DRIVERS config CPU_IDLE_GOV_LADDER bool "Ladder governor (for periodic timer tick)" - default y config CPU_IDLE_GOV_MENU bool "Menu governor (for tickless system)" - default y config DT_IDLE_STATES bool