Re: linux-next: build warning after merge of the pm tree
From: Rafael J. Wysocki
Date: Mon Nov 17 2014 - 17:53:22 EST
On Monday, November 17, 2014 12:31:43 PM Paul Bolle wrote:
> On Mon, 2014-11-17 at 13:44 +1100, Stephen Rothwell wrote:
> > Hi Rafael,
> >
> > After merging the pm tree, today's linux-next build (arm multi_v7_defconfig)
> > produced this warning:
> >
> > kernel/power/Kconfig:132:error: recursive dependency detected!
> > kernel/power/Kconfig:132: symbol PM_RUNTIME is selected by PM_GENERIC_DOMAINS
> > kernel/power/Kconfig:272: symbol PM_GENERIC_DOMAINS is selected by PM_RUNTIME
> >
> > Caused by commit 9cdd5fd742e6 ("PM / domains: Kconfig: always enable
> > PM_RUNTIME when genpd enabled").
>
> This error also popped up when I fiddled with omap2plus_defconfig on top
> of next-20141117. Note that I ended up with a .config which has
> CONFIG_ARCH_MULTI_V7 set. The error appears to be triggered by the
> Kconfig entry for ARCH_EXYNOS (in arch/arm/mach-exynos/Kconfig). It
> contains
> select PM_GENERIC_DOMAINS if PM_RUNTIME
>
> (Perhaps the :272: line needs rephrasing in the error Stephen quoted. It
> confused me quite a bit.)
>
> Naively dropping that select statement from ARCH_EXYNOS triggered yet
> another error:
> kernel/power/Kconfig:145:error: recursive dependency detected!
> kernel/power/Kconfig:145: symbol PM depends on PM_RUNTIME
> kernel/power/Kconfig:132: symbol PM_RUNTIME is selected by PM_GENERIC_DOMAINS
> kernel/power/Kconfig:272: symbol PM_GENERIC_DOMAINS is selected by PM
>
> After that I admitted defeat.
I'll drop the commit for now, but this looks strange.
Had you cleaned up the kernel configuration after dropping the PM_RUNTIME select
from ARCH_EXYNOS?
Rafael
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/