From patchwork Mon Apr 25 09:16:45 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Amadeusz_S=C5=82awi=C5=84ski?= X-Patchwork-Id: 566170 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 D85E5C433FE for ; Mon, 25 Apr 2022 09:18:03 +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 10FFB167C; Mon, 25 Apr 2022 11:17:11 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 10FFB167C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1650878281; bh=YIXbn23XFVGqK+W1CJsF1EMzHhiZ+xq98kpIgWB3q0U=; h=From:To:Subject:Date:Cc:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From; b=uQOhSiFvyzV5la43MFGsgNqEY44Ul+Buqr5tUKs61RxuccH2GiQPK/2KcAKm4sAt3 cJoMwwgfu2ViMlzmrq07F47gravRr3BGmUfoimKgaQ0Jw2AKvq5sBQKCMI7QK2PqGL bcpZGLGFHqkYS+apyiKYz+FX5HVV05FX+VEidH4Y= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 84118F8016E; Mon, 25 Apr 2022 11:17:10 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 98DD1F8016B; Mon, 25 Apr 2022 11:17:08 +0200 (CEST) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) (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 4FA8DF8014B for ; Mon, 25 Apr 2022 11:17:00 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 4FA8DF8014B Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="Y2gSGJDR" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1650878222; x=1682414222; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=YIXbn23XFVGqK+W1CJsF1EMzHhiZ+xq98kpIgWB3q0U=; b=Y2gSGJDR2qUGOn+IviCfPL3iik/0nf6WesFKfmbwqG3c4pzLEeXsUkcs oYhjygkRs5rGYZvQdrDqTzC3g1LxqMuwJ3sZtGxf4B2+jpxulX/52k6kb bWJACL1EkAS1GlU0QN01/1CMNeD+5m0F63AYuRpfz2XzS5cZcdL8g4VQL 8Lirbv7mCTPwOfwXkJHv7nVidY6C5W/JF/sjD9B/NhcGUwLiGPcErBzK9 LgpA5KD8fmLE5sVgxkHTi0eBQUZgLIJtyqbmACwP6nn8QqCUUXK1g0lsw 2TkknpQk5XIgxTMwM7kazvgNr3ybxX12+3Wd/eIc+2UOjNImdwuk34izM A==; X-IronPort-AV: E=McAfee;i="6400,9594,10327"; a="351640276" X-IronPort-AV: E=Sophos;i="5.90,287,1643702400"; d="scan'208";a="351640276" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Apr 2022 02:16:57 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,287,1643702400"; d="scan'208";a="579185821" Received: from dev2.igk.intel.com ([10.237.148.94]) by orsmga008.jf.intel.com with ESMTP; 25 Apr 2022 02:16:40 -0700 From: =?utf-8?q?Amadeusz_S=C5=82awi=C5=84ski?= To: Liam Girdwood , Mark Brown Subject: [PATCH v2 1/2] ASoC: Intel: avs: Enable AVS driver only on x86 platforms Date: Mon, 25 Apr 2022 11:16:45 +0200 Message-Id: <20220425091646.545216-1-amadeuszx.slawinski@linux.intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Cc: Pierre-Louis Bossart , Cezary Rojewski , alsa-devel@alsa-project.org, Takashi Iwai , =?utf-8?q?Amadeusz_S=C5=82awi=C5=84ski?= 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" Only supported platform for AVS are x86 machines, so there is no reason for it to be enabled on other architectures. Allow exception for compile tests. Fixes: 274d79e51875 ("ASoC: Intel: avs: Configure modules according to their type") Reviewed-by: Cezary Rojewski Signed-off-by: Amadeusz Sławiński --- Changes in v2: * Actually fix the problem reported by kernel test robot in following patch * Add COMPILE_TEST to allow test building on other architectures --- sound/soc/intel/Kconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sound/soc/intel/Kconfig b/sound/soc/intel/Kconfig index c364ddf22267..4ef9a1fee121 100644 --- a/sound/soc/intel/Kconfig +++ b/sound/soc/intel/Kconfig @@ -211,7 +211,8 @@ config SND_SOC_INTEL_KEEMBAY config SND_SOC_INTEL_AVS tristate "Intel AVS driver" - depends on PCI && ACPI + depends on (X86 && ACPI) || COMPILE_TEST + depends on PCI depends on COMMON_CLK select SND_SOC_ACPI select SND_SOC_TOPOLOGY From patchwork Mon Apr 25 09:16:46 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Amadeusz_S=C5=82awi=C5=84ski?= X-Patchwork-Id: 565721 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 1BC5EC433EF for ; Mon, 25 Apr 2022 09:18:37 +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 1B79D16E5; Mon, 25 Apr 2022 11:17:45 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 1B79D16E5 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1650878315; bh=N/DuUqRGMyHy96Bytp4oxziXljWI+an5AESRzGZphA0=; h=From:To:Subject:Date:In-Reply-To:References:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=J84c3YmEC/CuGWnjAdcTuH8HYpUSQQzb6nNRJcrZoCeCiP27Dxm8ROq6XeCPXkoue QrvML1c+9C00ebBkMMz0GRWe1Sb0B1G8SHDLFNx1LsupeTsfoEjjByUqFOQwFK/Q4h GZHXblMC8/8ceL73RZm29Rej361+f02Ab6JYB7qc= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id D5A49F8016A; Mon, 25 Apr 2022 11:17:14 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 82F61F8016B; Mon, 25 Apr 2022 11:17:10 +0200 (CEST) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) (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 A1259F80152 for ; Mon, 25 Apr 2022 11:17:03 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz A1259F80152 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="eMn8C7Jl" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1650878224; x=1682414224; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=N/DuUqRGMyHy96Bytp4oxziXljWI+an5AESRzGZphA0=; b=eMn8C7Jl0I95AVOv2NsZUcgw070xDJQLuitXBiK5Q47eNXnilL/6V5Ke 2sHIt4urxDdIdogW5zoWhB97qUitflXmfGMQynr0O/pXqgFBiEpDfnW8H 3XpRiVCK8BH2bS3zxNe1mllaGORdhA2E1TGj3qwqjwUgUHa1lssg3G8aO KwiSI40gvR/Ep94+3q07q62LDqulcb8dMJ8jJmpJRY6jwu8E0RtqolRJU 4slBW6Ssp6p9piYmsl28MHh0BIFf/h7lgQpSI48O5Y8O3dVRy+MfQmZJ+ I8y3vNN8GhJTZvCECGKRGRHbL4IfpndVUsVq8unWBu/VMl5DRmKK64bxC A==; X-IronPort-AV: E=McAfee;i="6400,9594,10327"; a="351640277" X-IronPort-AV: E=Sophos;i="5.90,287,1643702400"; d="scan'208";a="351640277" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Apr 2022 02:16:58 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,287,1643702400"; d="scan'208";a="579185825" Received: from dev2.igk.intel.com ([10.237.148.94]) by orsmga008.jf.intel.com with ESMTP; 25 Apr 2022 02:16:42 -0700 From: =?utf-8?q?Amadeusz_S=C5=82awi=C5=84ski?= To: Liam Girdwood , Mark Brown Subject: [PATCH v2 2/2] ASoC: Intel: avs: Depend on SND_INTEL_DSP_CONFIG Date: Mon, 25 Apr 2022 11:16:46 +0200 Message-Id: <20220425091646.545216-2-amadeuszx.slawinski@linux.intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220425091646.545216-1-amadeuszx.slawinski@linux.intel.com> References: <20220425091646.545216-1-amadeuszx.slawinski@linux.intel.com> MIME-Version: 1.0 Cc: Pierre-Louis Bossart , Cezary Rojewski , kernel test robot , alsa-devel@alsa-project.org, Takashi Iwai , =?utf-8?q?Amadeusz_S=C5=82awi=C5=84ski?= 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" In order to enable NHLT support one must select SND_INTEL_DSP_CONFIG, which will select SND_INTEL_NHLT. Otherwise the file containing NHLT code doesn't get build leading to errors when linking. Fixes: 274d79e51875 ("ASoC: Intel: avs: Configure modules according to their type") Reported-by: kernel test robot Reviewed-by: Cezary Rojewski Signed-off-by: Amadeusz Sławiński --- sound/soc/intel/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/intel/Kconfig b/sound/soc/intel/Kconfig index 4ef9a1fee121..be42c4eff165 100644 --- a/sound/soc/intel/Kconfig +++ b/sound/soc/intel/Kconfig @@ -218,7 +218,7 @@ config SND_SOC_INTEL_AVS select SND_SOC_TOPOLOGY select SND_HDA_EXT_CORE select SND_HDA_DSP_LOADER - select SND_INTEL_NHLT + select SND_INTEL_DSP_CONFIG help Enable support for Intel(R) cAVS 1.5 platforms with DSP capabilities. This includes Skylake, Kabylake, Amberlake and