From patchwork Thu Nov 13 22:28:21 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kevin Hilman X-Patchwork-Id: 40790 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f198.google.com (mail-wi0-f198.google.com [209.85.212.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 09B6824493 for ; Thu, 13 Nov 2014 22:28:45 +0000 (UTC) Received: by mail-wi0-f198.google.com with SMTP id n3sf325403wiv.5 for ; Thu, 13 Nov 2014 14:28:44 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=1b8kFQKQ2hfbeRFR19vHVF5QYAfVuUrIPYZo95tP3I0=; b=Q42YW8oyAs07PFJJXlh94tE64qTvIUN3er2Y9AglBTLxI4pC0nlHBJrapUK8kCR28h e8Fu4dVDqbUZPRP4qd/ifyMViYA6nnK5sU7YYQzVQdHm9KswKwc6V0N0oAalBTqx8h5n W8CAvFKq/iXWKPPUKNEkoJDLtqME8d/5+kkiBw2UaGidNs6VEzHJMNleTsK8UQ+ctfAl jEKC+H/H0hUlK1pbTMmfC5HjwvGgfO+BrVSGx5HlJXCe6yM+au5F3s7d4s+ZRCFbahES cBc9/fnotSU8NbiPqjwN1fGPm2wnkU9+6rgI96fwJoJ+bxTasWPeNhVMy1yBztoGVPBM /NSg== X-Gm-Message-State: ALoCoQkhQiLCoJmrZLTs6XGA7kvb4LH/bHReUxv158OfjFTkKdDb4iAKKj+qvrxVQOJhHUIayTmr X-Received: by 10.194.134.193 with SMTP id pm1mr176533wjb.4.1415917724348; Thu, 13 Nov 2014 14:28:44 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.30.103 with SMTP id r7ls255892lah.93.gmail; Thu, 13 Nov 2014 14:28:44 -0800 (PST) X-Received: by 10.152.88.8 with SMTP id bc8mr4951345lab.64.1415917724061; Thu, 13 Nov 2014 14:28:44 -0800 (PST) Received: from mail-lb0-f180.google.com (mail-lb0-f180.google.com. [209.85.217.180]) by mx.google.com with ESMTPS id pt7si39717255lbb.120.2014.11.13.14.28.44 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 13 Nov 2014 14:28:44 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.180 as permitted sender) client-ip=209.85.217.180; Received: by mail-lb0-f180.google.com with SMTP id z11so5174075lbi.11 for ; Thu, 13 Nov 2014 14:28:43 -0800 (PST) X-Received: by 10.152.29.41 with SMTP id g9mr4836923lah.83.1415917723947; Thu, 13 Nov 2014 14:28:43 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.184.201 with SMTP id ew9csp675126lbc; Thu, 13 Nov 2014 14:28:43 -0800 (PST) X-Received: by 10.70.45.16 with SMTP id i16mr3781480pdm.91.1415917722360; Thu, 13 Nov 2014 14:28:42 -0800 (PST) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id er3si26669574pac.235.2014.11.13.14.28.41 for ; Thu, 13 Nov 2014 14:28:42 -0800 (PST) Received-SPF: none (google.com: linux-kernel-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934658AbaKMW2k (ORCPT + 26 others); Thu, 13 Nov 2014 17:28:40 -0500 Received: from mail.kernel.org ([198.145.19.201]:36727 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934350AbaKMW20 (ORCPT ); Thu, 13 Nov 2014 17:28:26 -0500 Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 59BB120149; Thu, 13 Nov 2014 22:28:25 +0000 (UTC) Received: from localhost (c-67-160-101-93.hsd1.wa.comcast.net [67.160.101.93]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 67961201FA; Thu, 13 Nov 2014 22:28:24 +0000 (UTC) From: Kevin Hilman To: "Rafael J. Wysocki" Cc: Ulf Hansson , Geert Uytterhoeven , linux-pm@vger.kernel.org, linaro-kernel@lists.linaro.org, Kevin Hilman , Grygorii Strashko , Len Brown , Pavel Machek , linux-kernel@vger.kernel.org (open list) Subject: [PATCH] PM / domains: Kconfig: always enable PM_RUNTIME when genpd enabled Date: Thu, 13 Nov 2014 14:28:21 -0800 Message-Id: <1415917702-6742-2-git-send-email-khilman@kernel.org> X-Mailer: git-send-email 2.1.3 In-Reply-To: <1415917702-6742-1-git-send-email-khilman@kernel.org> References: <1415917702-6742-1-git-send-email-khilman@kernel.org> X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, UNPARSEABLE_RELAY autolearn=ham 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 Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: linux-kernel-owner@vger.kernel.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.180 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , From: Kevin Hilman It makes little sense to use generic power domains without runtime PM. Also, since the complexities of handling the !PM_RUNTIME case are causing more trouble and confusion than they're worth, let's simplify the world by making genpd always enable runtime PM. Cc: Ulf Hansson Cc: Geert Uytterhoeven Cc: Grygorii Strashko Signed-off-by: Kevin Hilman Acked-by: Kevin Hilman Tested-by: Geert Uytterhoeven --- kernel/power/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/power/Kconfig b/kernel/power/Kconfig index 3d39cc0228e9..2a8c64d0a43c 100644 --- a/kernel/power/Kconfig +++ b/kernel/power/Kconfig @@ -271,7 +271,7 @@ config PM_CLK config PM_GENERIC_DOMAINS bool - depends on PM + select PM_RUNTIME config WQ_POWER_EFFICIENT_DEFAULT bool "Enable workqueue power-efficient mode by default"