* [PATCH] PM / Kconfig: Do not select PM directly from Kconfig files
@ 2014-11-29 0:42 Rafael J. Wysocki
2014-12-01 9:21 ` Geert Uytterhoeven
2014-12-02 1:10 ` Kevin Hilman
0 siblings, 2 replies; 4+ messages in thread
From: Rafael J. Wysocki @ 2014-11-29 0:42 UTC (permalink / raw)
To: Linux PM list
Cc: Linux Kernel Mailing List, Tony Luck, linux-sh, Fenghua Yu,
linux-ia64, Kevin Hilman
From: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
It is not valid to select CONFIG_PM directly without selecting
CONFIG_PM_SLEEP or CONFIG_PM_RUNTIME too, because that breaks
dependencies (ia64 does that) and it is not necessary to select
CONFIG_PM directly if CONFIG_PM_SLEEP or CONFIG_PM_RUNTIME is
set, because it will be set automatically then (sh does that).
Fix those mistakes.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
---
arch/ia64/Kconfig | 1 -
arch/sh/Kconfig | 1 -
2 files changed, 2 deletions(-)
Index: linux-pm/arch/ia64/Kconfig
=================================--- linux-pm.orig/arch/ia64/Kconfig
+++ linux-pm/arch/ia64/Kconfig
@@ -11,7 +11,6 @@ config IA64
select PCI if (!IA64_HP_SIM)
select ACPI if (!IA64_HP_SIM)
select ARCH_MIGHT_HAVE_ACPI_PDC if ACPI
- select PM if (!IA64_HP_SIM)
select HAVE_UNSTABLE_SCHED_CLOCK
select HAVE_IDE
select HAVE_OPROFILE
Index: linux-pm/arch/sh/Kconfig
=================================--- linux-pm.orig/arch/sh/Kconfig
+++ linux-pm/arch/sh/Kconfig
@@ -222,7 +222,6 @@ config CPU_SHX3
config ARCH_SHMOBILE
bool
select ARCH_SUSPEND_POSSIBLE
- select PM
select PM_RUNTIME
config CPU_HAS_PMU
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] PM / Kconfig: Do not select PM directly from Kconfig files
2014-11-29 0:42 [PATCH] PM / Kconfig: Do not select PM directly from Kconfig files Rafael J. Wysocki
@ 2014-12-01 9:21 ` Geert Uytterhoeven
2014-12-01 22:42 ` Rafael J. Wysocki
2014-12-02 1:10 ` Kevin Hilman
1 sibling, 1 reply; 4+ messages in thread
From: Geert Uytterhoeven @ 2014-12-01 9:21 UTC (permalink / raw)
To: Rafael J. Wysocki
Cc: Linux PM list, Linux Kernel Mailing List, Tony Luck,
Linux-sh list, Fenghua Yu, linux-ia64@vger.kernel.org,
Kevin Hilman
On Sat, Nov 29, 2014 at 2:03 AM, Rafael J. Wysocki <rjw@rjwysocki.net> wrote:
> From: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
>
> It is not valid to select CONFIG_PM directly without selecting
> CONFIG_PM_SLEEP or CONFIG_PM_RUNTIME too, because that breaks
> dependencies (ia64 does that) and it is not necessary to select
> CONFIG_PM directly if CONFIG_PM_SLEEP or CONFIG_PM_RUNTIME is
> set, because it will be set automatically then (sh does that).
>
> Fix those mistakes.
>
> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
> ---
> arch/ia64/Kconfig | 1 -
> arch/sh/Kconfig | 1 -
For the sh part:
Acked-by: Geert Uytterhoeven <geert+renesas@glider.be>
Note that sh is orphaned, so you should resend your patch to Andrew Morton,
or queue it yourself.
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] PM / Kconfig: Do not select PM directly from Kconfig files
2014-12-01 9:21 ` Geert Uytterhoeven
@ 2014-12-01 22:42 ` Rafael J. Wysocki
0 siblings, 0 replies; 4+ messages in thread
From: Rafael J. Wysocki @ 2014-12-01 22:42 UTC (permalink / raw)
To: Geert Uytterhoeven
Cc: Linux PM list, Linux Kernel Mailing List, Tony Luck,
Linux-sh list, Fenghua Yu, linux-ia64@vger.kernel.org,
Kevin Hilman
On Monday, December 01, 2014 10:21:54 AM Geert Uytterhoeven wrote:
> On Sat, Nov 29, 2014 at 2:03 AM, Rafael J. Wysocki <rjw@rjwysocki.net> wrote:
> > From: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
> >
> > It is not valid to select CONFIG_PM directly without selecting
> > CONFIG_PM_SLEEP or CONFIG_PM_RUNTIME too, because that breaks
> > dependencies (ia64 does that) and it is not necessary to select
> > CONFIG_PM directly if CONFIG_PM_SLEEP or CONFIG_PM_RUNTIME is
> > set, because it will be set automatically then (sh does that).
> >
> > Fix those mistakes.
> >
> > Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
> > ---
> > arch/ia64/Kconfig | 1 -
> > arch/sh/Kconfig | 1 -
>
> For the sh part:
>
> Acked-by: Geert Uytterhoeven <geert+renesas@glider.be>
Thanks!
> Note that sh is orphaned, so you should resend your patch to Andrew Morton,
> or queue it yourself.
Since it depends on material already in my tree, I'm going to queue it up myself.
Rafael
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] PM / Kconfig: Do not select PM directly from Kconfig files
2014-11-29 0:42 [PATCH] PM / Kconfig: Do not select PM directly from Kconfig files Rafael J. Wysocki
2014-12-01 9:21 ` Geert Uytterhoeven
@ 2014-12-02 1:10 ` Kevin Hilman
1 sibling, 0 replies; 4+ messages in thread
From: Kevin Hilman @ 2014-12-02 1:10 UTC (permalink / raw)
To: Rafael J. Wysocki
Cc: Linux PM list, Linux Kernel Mailing List, Tony Luck, linux-sh,
Fenghua Yu, linux-ia64
"Rafael J. Wysocki" <rjw@rjwysocki.net> writes:
> From: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
>
> It is not valid to select CONFIG_PM directly without selecting
> CONFIG_PM_SLEEP or CONFIG_PM_RUNTIME too, because that breaks
> dependencies (ia64 does that) and it is not necessary to select
> CONFIG_PM directly if CONFIG_PM_SLEEP or CONFIG_PM_RUNTIME is
> set, because it will be set automatically then (sh does that).
>
> Fix those mistakes.
>
> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: Kevin Hilman <khilman@linaro.org>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2014-12-02 1:10 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-29 0:42 [PATCH] PM / Kconfig: Do not select PM directly from Kconfig files Rafael J. Wysocki
2014-12-01 9:21 ` Geert Uytterhoeven
2014-12-01 22:42 ` Rafael J. Wysocki
2014-12-02 1:10 ` Kevin Hilman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).