Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp279795imu; Wed, 2 Jan 2019 19:54:54 -0800 (PST) X-Google-Smtp-Source: ALg8bN4rwypUMgEinFbJanIaarvBWV8/RDHaTdHTfvCmVlgzs8ub7AIMgzooVXEu5fHPF9Z+M8we X-Received: by 2002:a17:902:a5c3:: with SMTP id t3mr45112358plq.117.1546487694012; Wed, 02 Jan 2019 19:54:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1546487693; cv=none; d=google.com; s=arc-20160816; b=Bi66xfw77ox7dnr8Lvc/XgyETJ+0h+k56bJakh8Sv/gnGPH+42azKZ4qkhXuVaN4m+ eYoO1moNcEuq2uQJHSDXYbly/pLjDBDVyT/ENMXNxcj65xZrbbuzVGzrYkENeySQvput hGB0B/lbktgxKtBXLX4Fh5FaI8A4MgkbHxMBhrKoESjg6fE3ZSiUbr+vb0FftDudLJ37 3kCFyvqkQy2ipFsaKBENhb8EaaVE3mu1I4cg5vc/Ox5egS31Ju5LOYKvs6rY5iKmaSza 8O4wmt96NIHMv+uT/aCwf0C/6JtPYMz7xVYA2Y/IlwpEEJ9vefYsZjScyMVXMCrBh0DQ N3mw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=sAJieVoi5XUQ5JcBud0Rj/8tez+P3Glw2sAW++tQx28=; b=lFkeaoaqj14om3msd+uG9M20HQjAP/0IblavYVkqqirPV12Knrpl1bzGVey7XK9ChS KZgPUXDJsCRSKxixKtOIMuzsVEm7h2LRNB8gl0dFMOFC0jsPA+mRGEppDUw859lpmQW4 BWtvLezUTTKNHva71f8gLLRuDKJ7cfwhtAA+vX5jYNFlHsAx543ne902fPOxgp/RPD2D s7+nAExNAUlyqz7Xcx4OaYKIwaKQdXYLxGiD984IhWL5QA0HKpJc0KlvY2f5upTvzOs+ shJApsTjEZ3wg1SxhMAqfk64kIBDX3K72rEsEhf0wcmq5gX4f2lX0ZAl08Rw6QwPPzYM ig6g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a124si17383058pfb.263.2019.01.02.19.54.11; Wed, 02 Jan 2019 19:54:53 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729957AbfABWux (ORCPT + 99 others); Wed, 2 Jan 2019 17:50:53 -0500 Received: from mga12.intel.com ([192.55.52.136]:59273 "EHLO mga12.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726875AbfABWux (ORCPT ); Wed, 2 Jan 2019 17:50:53 -0500 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 02 Jan 2019 14:50:52 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,432,1539673200"; d="scan'208";a="122878216" Received: from kkubista-mobl1.amr.corp.intel.com (HELO [10.251.135.3]) ([10.251.135.3]) by FMSMGA003.fm.intel.com with ESMTP; 02 Jan 2019 14:50:51 -0800 Subject: Re: [alsa-devel] [PATCH v5 08/11] ASoC: Intel: atom: Make PCI dependency explicit To: Sinan Kaya Cc: Linux Next Mailing List , "moderated list:INTEL ASoC DRIVERS" , Takashi Iwai , Jie Yang , Liam Girdwood , ACPI Devel Mailing List , Mark Brown , open list References: <20190102181038.4418-1-okaya@kernel.org> <20190102181038.4418-9-okaya@kernel.org> <57ed1d94-7f89-20e8-3289-7ef7efd18c20@linux.intel.com> From: Pierre-Louis Bossart Message-ID: Date: Wed, 2 Jan 2019 16:50:51 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > This is pointing to a kconfig issue on ia64 arch. > > arch/ia64/Kconfig:128:error: recursive dependency detected! > arch/ia64/Kconfig:128: choice contains symbol IA64_HP_SIM > arch/ia64/Kconfig:202: symbol IA64_HP_SIM is part of choice PM > > IA64_HP_SIM is both a choice and is selected. > > I did allyesconfig and disabled PCI afterwards to find all the issues > on this patchset. Are you saying there's a newer series that fixes this issue for both allyesconfig and allmodconfig? if yes, then we're good. > >> 2. there are different patterns to express the dependency on PCI e.g. >> >> config MMC_SDHCI_ACPI >> tristate "SDHCI support for ACPI enumerated SDHCI controllers" >> depends on MMC_SDHCI && ACPI >> - select IOSF_MBI if X86 >> + select IOSF_MBI if (X86 && PCI) >> >> but >> >> config SND_SST_ATOM_HIFI2_PLATFORM_ACPI >> tristate "ACPI HiFi2 (Baytrail, Cherrytrail) Platforms" >> default ACPI >> - depends on X86 && ACPI >> + depends on X86 && ACPI && PCI >> select SND_SST_IPC_ACPI >> select SND_SST_ATOM_HIFI2_PLATFORM >> select SND_SOC_ACPI_INTEL_MATCH >> > I matched depends line to > > depends on X86 && ACPI && PCI > > for MMC_SDHCI_ACPI per feedback from Rafael on V5. This should resolve > the inconsistency. ok, I didn't see the delta > > >> IOSF is only needed for Baytrail-CR detection, and the code will compile >> fine without it, so maybe it'd be a better model if you used the >> following diff? >> >> diff --git a/sound/soc/intel/Kconfig b/sound/soc/intel/Kconfig >> index 2fd1b61e8331..68af0ea5c96c 100644 >> --- a/sound/soc/intel/Kconfig >> +++ b/sound/soc/intel/Kconfig >> @@ -95,7 +95,7 @@ config SND_SST_ATOM_HIFI2_PLATFORM_ACPI >> select SND_SST_IPC_ACPI >> select SND_SST_ATOM_HIFI2_PLATFORM >> select SND_SOC_ACPI_INTEL_MATCH >> - select IOSF_MBI >> + select IOSF_MBI if PCI >> >> 3. All the Intel machine drivers depend on X86_INTEL_LPSS which depends >> on PCI. But for Baytrail/Haswell/Broadwell we have only a dependency on >> ACPI, so we expose drivers that can be selected but fail on probe since >> there are no machine drivers. I am not sure if we want to be strict and >> only expose meaningful configurations, or allow for more compilations >> tests and corner cases? > Hopefully, v5 resolves this too with > > depends on X86 && ACPI && PCI > > Let me know otherwise. it doesn't but that's not a good enough reason to lay on the tracks. I'll follow-up with a cleanup for the Intel audio parts when this series is merged. The PCI dependency could be moved to the top-level since it's pretty much required for all platforms except for compilation tests, and there are multiple dependencies that repeated for no good reason, so FWIW Acked-by: Pierre-Louis Bossart