From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752620AbaKQLbs (ORCPT ); Mon, 17 Nov 2014 06:31:48 -0500 Received: from cpsmtpb-ews10.kpnxchange.com ([213.75.39.15]:52653 "EHLO cpsmtpb-ews10.kpnxchange.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751513AbaKQLbq (ORCPT ); Mon, 17 Nov 2014 06:31:46 -0500 Message-ID: <1416223903.22252.11.camel@x220> Subject: Re: linux-next: build warning after merge of the pm tree From: Paul Bolle To: "Rafael J. Wysocki" Cc: Stephen Rothwell , linux-next@vger.kernel.org, linux-kernel@vger.kernel.org, Kevin Hilman Date: Mon, 17 Nov 2014 12:31:43 +0100 In-Reply-To: <20141117134414.7f4d8d21@canb.auug.org.au> References: <20141117134414.7f4d8d21@canb.auug.org.au> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.10.4 (3.10.4-4.fc20) Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 17 Nov 2014 11:31:43.0757 (UTC) FILETIME=[104D7BD0:01D0025A] X-RcptDomain: vger.kernel.org Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. Paul Bolle