From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id E4B08C433EF for ; Wed, 11 May 2022 19:51:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1347291AbiEKTvy (ORCPT ); Wed, 11 May 2022 15:51:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51726 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1347223AbiEKTvs (ORCPT ); Wed, 11 May 2022 15:51:48 -0400 Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 264295716B for ; Wed, 11 May 2022 12:51:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1652298708; x=1683834708; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=PWCSb4NhiQKxZ/rI2pj7f++Br5JH9wBBOHOhy4AXXKA=; b=c0ytaQO4UFmrRH8Cb7WzGQLYf+DvyEplmSRoJGTi0N2quCclMzKHQUvL QWPZ9DvkE+kFN5R8ueOcSW2UUEKPATZmV66jylDjzsS9W8na7/TNWhCa7 kJyYmcQS1dUxDLQy/jRtrkTAXTRTl/z8ecrsCQYkkgXFhWZ7pxwx+9+R+ UYGTcWYtOzssdjXyMIoyDkLbNCYMO+HE/42t50hvokACbNf3h3iWiRpFf tr2wO+H0GNADF3Hx/7LULkzQgYxERW6p1X4OSsRntf/6WlZ2v0MasjGGI r2i/lGe6OO5/Q9JiW8g7FKjYOqPvdKDihuhA2X6HFgvpgCVISmA3LgmIS Q==; X-IronPort-AV: E=McAfee;i="6400,9594,10344"; a="295043710" X-IronPort-AV: E=Sophos;i="5.91,218,1647327600"; d="scan'208";a="295043710" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 May 2022 12:51:47 -0700 X-IronPort-AV: E=Sophos;i="5.91,218,1647327600"; d="scan'208";a="711624389" Received: from tssurap-mobl1.amr.corp.intel.com (HELO [10.255.229.68]) ([10.255.229.68]) by fmsmga001-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 May 2022 12:51:47 -0700 Message-ID: Date: Wed, 11 May 2022 14:51:46 -0500 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0 Thunderbird/91.5.0 Subject: Re: kismet: WARNING: unmet direct dependencies detected for SND_SOC_MAX98357A when selected by SND_SOC_INTEL_SOF_CS42L42_MACH Content-Language: en-US To: kernel test robot , Brent Lu Cc: kbuild-all@lists.01.org, Linux Kernel Mailing List , Mark Brown , paul@pgazz.com, fazilyildiran@gmail.com, ALSA Development Mailing List References: <202205110550.80rLRw2L-lkp@intel.com> From: Pierre-Louis Bossart In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 5/10/22 22:36, kernel test robot wrote: > tree:   > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master > head:   feb9c5e19e913b53cb536a7aa7c9f20107bb51ec > commit: 5a7f27a624d9e33262767b328aa7a4baf7846c14 ASoC: Intel: add > sof-cs42l42 machine driver > date:   1 year ago > config: (attached as .config) > reproduce: >         # > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=5a7f27a624d9e33262767b328aa7a4baf7846c14 > >         git remote add linus > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git >         git fetch --no-tags linus master >         git checkout 5a7f27a624d9e33262767b328aa7a4baf7846c14 >         # 1. reproduce by kismet >            # install kmax per https://github.com/paulgazz/kmax/README.md >            kismet --linux-ksrc=linux --selectees > CONFIG_SND_SOC_MAX98357A --selectors > CONFIG_SND_SOC_INTEL_SOF_CS42L42_MACH -a=x86_64 >         # 2. reproduce by make >            # save the config file to linux source tree >            cd linux >            make ARCH=x86_64 olddefconfig > > If you fix the issue, kindly add following tag as appropriate > Reported-by: kernel test robot > > > kismet warnings: (new ones prefixed by >>) >>> kismet: WARNING: unmet direct dependencies detected for > SND_SOC_MAX98357A when selected by SND_SOC_INTEL_SOF_CS42L42_MACH > >    WARNING: unmet direct dependencies detected for SND_SOC_MAX98357A >      Depends on [n]: SOUND [=y] && !UML && SND [=y] && SND_SOC [=y] && > GPIOLIB [=n] >      Selected by [y]: >      - SND_SOC_INTEL_SOF_CS42L42_MACH [=y] && SOUND [=y] && !UML && SND > [=y] && SND_SOC [=y] && SND_SOC_INTEL_MACH [=y] && (SND_SOC_SOF_HDA_LINK > [=y] || SND_SOC_SOF_BAYTRAIL [=n]) && I2C [=y] && ACPI [=y] && > SND_HDA_CODEC_HDMI [=y] && SND_SOC_SOF_HDA_AUDIO_CODEC [=y] && > (MFD_INTEL_LPSS [=y] || COMPILE_TEST [=n]) I can reproduce this, but I question the hard dependency on GPIOLIB in the amplifier Kconfig: max98357a->sdmode = devm_gpiod_get_optional(&pdev->dev, "sdmode", GPIOD_OUT_LOW); If the gpio is optional, max98357a.c should build and compile without GPIOLIB, no? >    WARNING: unmet direct dependencies detected for SND_SOC_DMIC >      Depends on [n]: SOUND [=y] && !UML && SND [=y] && SND_SOC [=y] && > GPIOLIB [=n] >      Selected by [y]: >      - SND_SOC_INTEL_SOF_CS42L42_MACH [=y] && SOUND [=y] && !UML && SND > [=y] && SND_SOC [=y] && SND_SOC_INTEL_MACH [=y] && (SND_SOC_SOF_HDA_LINK > [=y] || SND_SOC_SOF_BAYTRAIL [=n]) && I2C [=y] && ACPI [=y] && > SND_HDA_CODEC_HDMI [=y] && SND_SOC_SOF_HDA_AUDIO_CODEC [=y] && > (MFD_INTEL_LPSS [=y] || COMPILE_TEST [=n]) I can't reproduce this one with Mark's for-next branch, this was fixed I believe. From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id F3CA8C433F5 for ; Wed, 11 May 2022 19:52:55 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 45F7E1AA6; Wed, 11 May 2022 21:52:03 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 45F7E1AA6 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1652298773; bh=PWCSb4NhiQKxZ/rI2pj7f++Br5JH9wBBOHOhy4AXXKA=; h=Date:Subject:To:References:From:In-Reply-To:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=vGvAEw/cWhcYZL3lIVBQ3ul09BVAg7Dl8wWcXfvjQ7X9E1r+089Y8XMDo2F+ynCa7 RWNS5D1E1qKLGiQW+RiXqOHQzN7kplY6WQsIuHwkBV/BmS0aUXnSdRNpqg3Mh90muf Jn2O0ujVGZoMMRFt7IXHUCB8XDSvuu4sTa7v25J8= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id DBA18F804B2; Wed, 11 May 2022 21:52:02 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 97316F804CA; Wed, 11 May 2022 21:52:00 +0200 (CEST) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id C6524F8011C for ; Wed, 11 May 2022 21:51:54 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz C6524F8011C Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="iJS2xVPf" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1652298717; x=1683834717; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=PWCSb4NhiQKxZ/rI2pj7f++Br5JH9wBBOHOhy4AXXKA=; b=iJS2xVPfrtYmR3OnDsVYBWDG6wdg1S6BouesOHgAu4YAS0Ml+Vbjc1TE +jteajyYAffspuBm5VqInK+kc0BKyoaBhmFs7jfhiph/Ac49A/9tcCUrO ERZjaSKjha5V2qeb5ELJltpkLPwWphzt1L0NH4a2e0b9PyECRLoXYCteu /9yfQBrUGBRqXcHGBWlr1NbnPmd+xQJ+rBuoCX5xVOQMEBWKm1TbVE8nE 3N0Qg5fOug/Lo+vNYSrQW+jWit0GCW+8nGCqjEfm7WFOBWaH27EydAtLb /ERfcuBNr4rQbYnrlBbK77Xlm4Uxao+J7hqu7V2FgsZA4Sxfx+Icxqsi/ Q==; X-IronPort-AV: E=McAfee;i="6400,9594,10344"; a="332835868" X-IronPort-AV: E=Sophos;i="5.91,218,1647327600"; d="scan'208";a="332835868" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 May 2022 12:51:48 -0700 X-IronPort-AV: E=Sophos;i="5.91,218,1647327600"; d="scan'208";a="711624389" Received: from tssurap-mobl1.amr.corp.intel.com (HELO [10.255.229.68]) ([10.255.229.68]) by fmsmga001-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 May 2022 12:51:47 -0700 Message-ID: Date: Wed, 11 May 2022 14:51:46 -0500 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0 Thunderbird/91.5.0 Subject: Re: kismet: WARNING: unmet direct dependencies detected for SND_SOC_MAX98357A when selected by SND_SOC_INTEL_SOF_CS42L42_MACH Content-Language: en-US To: kernel test robot , Brent Lu References: <202205110550.80rLRw2L-lkp@intel.com> From: Pierre-Louis Bossart In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: ALSA Development Mailing List , kbuild-all@lists.01.org, paul@pgazz.com, fazilyildiran@gmail.com, Linux Kernel Mailing List , Mark Brown X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" On 5/10/22 22:36, kernel test robot wrote: > tree:   > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master > head:   feb9c5e19e913b53cb536a7aa7c9f20107bb51ec > commit: 5a7f27a624d9e33262767b328aa7a4baf7846c14 ASoC: Intel: add > sof-cs42l42 machine driver > date:   1 year ago > config: (attached as .config) > reproduce: >         # > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=5a7f27a624d9e33262767b328aa7a4baf7846c14 > >         git remote add linus > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git >         git fetch --no-tags linus master >         git checkout 5a7f27a624d9e33262767b328aa7a4baf7846c14 >         # 1. reproduce by kismet >            # install kmax per https://github.com/paulgazz/kmax/README.md >            kismet --linux-ksrc=linux --selectees > CONFIG_SND_SOC_MAX98357A --selectors > CONFIG_SND_SOC_INTEL_SOF_CS42L42_MACH -a=x86_64 >         # 2. reproduce by make >            # save the config file to linux source tree >            cd linux >            make ARCH=x86_64 olddefconfig > > If you fix the issue, kindly add following tag as appropriate > Reported-by: kernel test robot > > > kismet warnings: (new ones prefixed by >>) >>> kismet: WARNING: unmet direct dependencies detected for > SND_SOC_MAX98357A when selected by SND_SOC_INTEL_SOF_CS42L42_MACH > >    WARNING: unmet direct dependencies detected for SND_SOC_MAX98357A >      Depends on [n]: SOUND [=y] && !UML && SND [=y] && SND_SOC [=y] && > GPIOLIB [=n] >      Selected by [y]: >      - SND_SOC_INTEL_SOF_CS42L42_MACH [=y] && SOUND [=y] && !UML && SND > [=y] && SND_SOC [=y] && SND_SOC_INTEL_MACH [=y] && (SND_SOC_SOF_HDA_LINK > [=y] || SND_SOC_SOF_BAYTRAIL [=n]) && I2C [=y] && ACPI [=y] && > SND_HDA_CODEC_HDMI [=y] && SND_SOC_SOF_HDA_AUDIO_CODEC [=y] && > (MFD_INTEL_LPSS [=y] || COMPILE_TEST [=n]) I can reproduce this, but I question the hard dependency on GPIOLIB in the amplifier Kconfig: max98357a->sdmode = devm_gpiod_get_optional(&pdev->dev, "sdmode", GPIOD_OUT_LOW); If the gpio is optional, max98357a.c should build and compile without GPIOLIB, no? >    WARNING: unmet direct dependencies detected for SND_SOC_DMIC >      Depends on [n]: SOUND [=y] && !UML && SND [=y] && SND_SOC [=y] && > GPIOLIB [=n] >      Selected by [y]: >      - SND_SOC_INTEL_SOF_CS42L42_MACH [=y] && SOUND [=y] && !UML && SND > [=y] && SND_SOC [=y] && SND_SOC_INTEL_MACH [=y] && (SND_SOC_SOF_HDA_LINK > [=y] || SND_SOC_SOF_BAYTRAIL [=n]) && I2C [=y] && ACPI [=y] && > SND_HDA_CODEC_HDMI [=y] && SND_SOC_SOF_HDA_AUDIO_CODEC [=y] && > (MFD_INTEL_LPSS [=y] || COMPILE_TEST [=n]) I can't reproduce this one with Mark's for-next branch, this was fixed I believe.