Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750975AbaK0RAW (ORCPT ); Thu, 27 Nov 2014 12:00:22 -0500 Received: from mail-la0-f45.google.com ([209.85.215.45]:52849 "EHLO mail-la0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750861AbaK0RAU (ORCPT ); Thu, 27 Nov 2014 12:00:20 -0500 MIME-Version: 1.0 In-Reply-To: <2907778.ZNoNjGGGYl@vostro.rjw.lan> References: <37310416.jZXoh5nfSC@vostro.rjw.lan> <2907778.ZNoNjGGGYl@vostro.rjw.lan> Date: Thu, 27 Nov 2014 18:00:17 +0100 X-Google-Sender-Auth: E5xPfuMmfqOAyp-aZlmGIhOGipw Message-ID: Subject: Re: [PATCH 0/4] PM: Use CONFIG_PM instead of CONFIG_PM_RUNTIME in core code From: Geert Uytterhoeven To: "Rafael J. Wysocki" Cc: Ulf Hansson , Linux PM list , Linux PCI , Linux Kernel Mailing List , ACPI Devel Maling List , Alan Stern , Bjorn Helgaas , Kevin Hilman Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Rafael, On Thu, Nov 27, 2014 at 5:52 PM, Rafael J. Wysocki wrote: >> I have also tested the two Kconfig options; CONFIG_PM_SLEEP (which >> selects CONFIG_PM_RUNTIME) and for CONFIG_PM_RUNTIME (with >> CONFIG_PM_SLEEP unset). >> >> That brings me to a raise a question; why do we need to keep these two >> configurations options? Couldn't we also have CONFIG_PM_RUNTIME to >> select CONFIG_PM_SLEEP, that will further simplify things? > > My plan is different. I'm going to eliminate PM_RUNTIME from the code > and then replace it with PM as a selectable option. Then, PM_SLEEP will > select PM (directly) and PM_RUNTIME can be entirely dropped. What's your rationale for keeping PM_SLEEP, and not consolidating both PM_RUNTIME and PM_SLEEP into PM? I.e. what am I missing, still considering myself a PM newbie? > So in the end we'll have one Kconfig option less, which is a win IMO. Having two less may be a bigger win ;-) Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/