From patchwork Wed Aug 2 15:01:01 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pierre-Louis Bossart X-Patchwork-Id: 709630 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 E20F6C05051 for ; Wed, 2 Aug 2023 15:14:33 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 9FDAF82B; Wed, 2 Aug 2023 17:13:41 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 9FDAF82B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1690989271; bh=YTpU3YPygDX+4cqxAGZDUye/uEWEAh28w5ZEcpcqEhE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=SByv2fj/tvH3P8iPMX43NNCA/WDMEGr5n8FNDCzwdx52TeoB8lqaCC9xs4SjP/+7W WhFtn/iigLLyk9S/r5ObM5R4xWg9J23WRjbO++SmGaYeHsTh3fnN4JFB7udigxpToo uauRaoREIVhqoCPwWluJ1LTveUzRH6oprCIIyNII= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 448C1F8055B; Wed, 2 Aug 2023 17:12:53 +0200 (CEST) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id 87C60F801D5; Wed, 2 Aug 2023 17:12:52 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 34848F8025A; Wed, 2 Aug 2023 17:12:47 +0200 (CEST) Received: from mgamail.intel.com (unknown [192.55.52.115]) (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 4DBCEF80149 for ; Wed, 2 Aug 2023 17:12:42 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 4DBCEF80149 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key, unprotected) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=S40naXgu DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1690989163; x=1722525163; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=YTpU3YPygDX+4cqxAGZDUye/uEWEAh28w5ZEcpcqEhE=; b=S40naXguh23w/I82r9FpoRqOIeiDgziWT01I3d8gTeuuhgayNpDxfUxQ C6hM2w2leAx0uVDEyD64jkBW1DIsNd2qxeDF8XMpNxGkcecS0AO0TIKfc meS/TBJrW351G05zz5obUdCoFppmrg3vxDRsm4SHSAlrKqYhweFjGHfPt O3e0hALcF6wtshGbAs1tMsB+sZ953lwHQk3QzbgJtvO5Cog0HN9p5e031 neFZt4PERMJKvq/p7jC+J+BshsC7m3DqofMn4Im6C9QM7V46c78HndBO4 F4twSmcg+C1YWTdcJH/X6EJkYJLj4+hxL+PndO6Uel8QaO7kJ25BzPhQL w==; X-IronPort-AV: E=McAfee;i="6600,9927,10790"; a="369607254" X-IronPort-AV: E=Sophos;i="6.01,249,1684825200"; d="scan'208";a="369607254" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Aug 2023 08:01:14 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10790"; a="732428672" X-IronPort-AV: E=Sophos;i="6.01,249,1684825200"; d="scan'208";a="732428672" Received: from rickylop-mobl1.amr.corp.intel.com (HELO pbossart-mobl3.intel.com) ([10.212.125.114]) by fmsmga007-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Aug 2023 08:01:13 -0700 From: Pierre-Louis Bossart To: alsa-devel@alsa-project.org Cc: tiwai@suse.de, broonie@kernel.org, Bjorn Helgaas , linux-pci@vger.kernel.org, Pierre-Louis Bossart , Ranjani Sridharan , Bard Liao Subject: [PATCH 1/5] PCI: add ArrowLake-S PCI ID for Intel HDAudio subsystem. Date: Wed, 2 Aug 2023 10:01:01 -0500 Message-Id: <20230802150105.24604-2-pierre-louis.bossart@linux.intel.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230802150105.24604-1-pierre-louis.bossart@linux.intel.com> References: <20230802150105.24604-1-pierre-louis.bossart@linux.intel.com> MIME-Version: 1.0 Message-ID-Hash: S577I5Q5BJ5NMANCPY3L55PUXUXW3JCU X-Message-ID-Hash: S577I5Q5BJ5NMANCPY3L55PUXUXW3JCU X-MailFrom: pierre-louis.bossart@linux.intel.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-alsa-devel.alsa-project.org-0; header-match-alsa-devel.alsa-project.org-1; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.8 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Add part ID to common include file Signed-off-by: Pierre-Louis Bossart Reviewed-by: Ranjani Sridharan Reviewed-by: Bard Liao --- include/linux/pci_ids.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/pci_ids.h b/include/linux/pci_ids.h index 3066660cd39b..a6411aa4c331 100644 --- a/include/linux/pci_ids.h +++ b/include/linux/pci_ids.h @@ -3058,6 +3058,7 @@ #define PCI_DEVICE_ID_INTEL_HDA_RPL_S 0x7a50 #define PCI_DEVICE_ID_INTEL_HDA_ADL_S 0x7ad0 #define PCI_DEVICE_ID_INTEL_HDA_MTL 0x7e28 +#define PCI_DEVICE_ID_INTEL_HDA_ARL_S 0x7f50 #define PCI_DEVICE_ID_INTEL_SCH_LPC 0x8119 #define PCI_DEVICE_ID_INTEL_SCH_IDE 0x811a #define PCI_DEVICE_ID_INTEL_HDA_POULSBO 0x811b From patchwork Wed Aug 2 15:01:02 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pierre-Louis Bossart X-Patchwork-Id: 709210 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 5C64EC07E8F for ; Wed, 2 Aug 2023 15:14:39 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id A096D7F4; Wed, 2 Aug 2023 17:13:47 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz A096D7F4 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1690989277; bh=9bjYS8EbcpbOLglUOTbR7e45YjiztEBMTDXiB90OGkM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=gA4ePc2O5oTsb7xaZ18+YwjDtAJ1GBSquuXwt06SC6F/GzPrHZsg2apBrSpIa0/0K YJrifoV8KKWBvCxCBYD67fvLqmaxpcfpaQhIhryie14lexVQCNUl2RCxakLUz9oAao MUyw9G/jxuLkD+97KMUP47yUYnS6z0SLPOvc6d7c= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 55918F80571; Wed, 2 Aug 2023 17:12:55 +0200 (CEST) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id 8349BF80557; Wed, 2 Aug 2023 17:12:54 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id B8333F80520; Wed, 2 Aug 2023 17:12:48 +0200 (CEST) Received: from mgamail.intel.com (unknown [192.55.52.115]) (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 895C6F802BE for ; Wed, 2 Aug 2023 17:12:44 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 895C6F802BE Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key, unprotected) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=YVJd4bhT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1690989165; x=1722525165; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=9bjYS8EbcpbOLglUOTbR7e45YjiztEBMTDXiB90OGkM=; b=YVJd4bhTfZD4amjHTceLkjQAjudI43VuRLDFGi0cDoB03xgvzHRnU8uJ JuTasjNBjNTzA1q93hqDK0AO8Ao+C4zg7PhE4RF9JRSClSTOS7XvN4KhO JOZ8/kGzap5APdQMswLrRqsWdualBDbcratJXj2MUcl4zuYjqw4D320OL GHI8AIPOsQJMZ52DSTtuqMh8kNsmWBhoGNWGsI2+0HWhHrFawio5EEbMd 4/Sh0S0qWLpMsFLw0BgDgiz4npfdQrIhLZjvt4En4KePWPTo/KQZLsOVk SJa8UhgO3fK0PxzCMJwQMZ1mirt6wpONaQ65l4e94M8Ygqj0lRcLpwCkU g==; X-IronPort-AV: E=McAfee;i="6600,9927,10790"; a="369607259" X-IronPort-AV: E=Sophos;i="6.01,249,1684825200"; d="scan'208";a="369607259" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Aug 2023 08:01:15 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10790"; a="732428680" X-IronPort-AV: E=Sophos;i="6.01,249,1684825200"; d="scan'208";a="732428680" Received: from rickylop-mobl1.amr.corp.intel.com (HELO pbossart-mobl3.intel.com) ([10.212.125.114]) by fmsmga007-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Aug 2023 08:01:14 -0700 From: Pierre-Louis Bossart To: alsa-devel@alsa-project.org Cc: tiwai@suse.de, broonie@kernel.org, Bjorn Helgaas , linux-pci@vger.kernel.org, Kai Vehmanen , Ranjani Sridharan , Bard Liao , Pierre-Louis Bossart Subject: [PATCH 2/5] ALSA: hda: add HD Audio PCI ID for Intel Arrow Lake-S Date: Wed, 2 Aug 2023 10:01:02 -0500 Message-Id: <20230802150105.24604-3-pierre-louis.bossart@linux.intel.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230802150105.24604-1-pierre-louis.bossart@linux.intel.com> References: <20230802150105.24604-1-pierre-louis.bossart@linux.intel.com> MIME-Version: 1.0 Message-ID-Hash: X7EMBIPFLVWDTV6PVHOSF63YXBN5UFC7 X-Message-ID-Hash: X7EMBIPFLVWDTV6PVHOSF63YXBN5UFC7 X-MailFrom: pierre-louis.bossart@linux.intel.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-alsa-devel.alsa-project.org-0; header-match-alsa-devel.alsa-project.org-1; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.8 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: Kai Vehmanen Add HD Audio PCI ID for Intel Arrow Lake-S platform. Reviewed-by: Ranjani Sridharan Reviewed-by: Bard Liao Signed-off-by: Kai Vehmanen Signed-off-by: Pierre-Louis Bossart --- sound/pci/hda/hda_intel.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sound/pci/hda/hda_intel.c b/sound/pci/hda/hda_intel.c index 176567f0d0e0..765d95e79861 100644 --- a/sound/pci/hda/hda_intel.c +++ b/sound/pci/hda/hda_intel.c @@ -2499,6 +2499,8 @@ static const struct pci_device_id azx_ids[] = { { PCI_DEVICE_DATA(INTEL, HDA_MTL, AZX_DRIVER_SKL | AZX_DCAPS_INTEL_SKYLAKE) }, /* Lunarlake-P */ { PCI_DEVICE_DATA(INTEL, HDA_LNL_P, AZX_DRIVER_SKL | AZX_DCAPS_INTEL_SKYLAKE) }, + /* Arrow Lake-S */ + { PCI_DEVICE_DATA(INTEL, HDA_ARL_S, AZX_DRIVER_SKL | AZX_DCAPS_INTEL_SKYLAKE) }, /* Apollolake (Broxton-P) */ { PCI_DEVICE_DATA(INTEL, HDA_APL, AZX_DRIVER_SKL | AZX_DCAPS_INTEL_BROXTON) }, /* Gemini-Lake */ From patchwork Wed Aug 2 15:01:03 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pierre-Louis Bossart X-Patchwork-Id: 709209 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 48ABFC04E69 for ; Wed, 2 Aug 2023 15:15:21 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 8A44F823; Wed, 2 Aug 2023 17:14:29 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 8A44F823 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1690989319; bh=BuzkKf/B/48DR4bVThwdqAiUG/Lv68wDwSaqjsCi8YE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=QCk9ykgcXtKAikZ3PFlLvYx6C3Mbl4XG59g3g8AHj2JIZuBP2GL/IRlLiwd7Haj0G QdJt4gVghhU3W/JgAvwXZaMdcSr87zSIJRKizZhcNWNrDRxQSfIWBwMVhPGmiYfw2c soXk9ah1WCovtwShK+DnPbZdTfS9fZoMeqXtba9w= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 8318AF8057F; Wed, 2 Aug 2023 17:13:01 +0200 (CEST) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id C1D45F8058C; Wed, 2 Aug 2023 17:13:00 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 4C433F80553; Wed, 2 Aug 2023 17:12:52 +0200 (CEST) Received: from mgamail.intel.com (unknown [192.55.52.115]) (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 A7988F80149 for ; Wed, 2 Aug 2023 17:12:43 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz A7988F80149 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key, unprotected) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=NEnaaMG7 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1690989168; x=1722525168; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=BuzkKf/B/48DR4bVThwdqAiUG/Lv68wDwSaqjsCi8YE=; b=NEnaaMG7YwGa7T2aPqj9vNYANJrmACXtU/f8jYUw3VJun2b6tOCw9Srf DKu7l7p4qGWlDVTXh04Cd94CY+uAQu7rVVmHHHwU555/ttDTN8NvVgq9x MpcfdE4E7YQenOyWPXOtzcVLcsq9hqC2rOQBmtRaxAUatX9kGu8EVuXyk 6np7sBV4lpbvKi639sRN9COX/a7rc/LrMB3Dxlxre1Y/IekslF77zXSw0 AVa0Yij4tlBqgvZCaxDuz0perLx5W7UAdwiLhJ5mR5YpnIJ6vT96i/dDz kcwZX8cHO5gT8RxDztn5ut+RdV7PJMgnOCBUSVBYYplpt0Qcak/vq8uYo g==; X-IronPort-AV: E=McAfee;i="6600,9927,10790"; a="369607269" X-IronPort-AV: E=Sophos;i="6.01,249,1684825200"; d="scan'208";a="369607269" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Aug 2023 08:01:15 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10790"; a="732428683" X-IronPort-AV: E=Sophos;i="6.01,249,1684825200"; d="scan'208";a="732428683" Received: from rickylop-mobl1.amr.corp.intel.com (HELO pbossart-mobl3.intel.com) ([10.212.125.114]) by fmsmga007-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Aug 2023 08:01:14 -0700 From: Pierre-Louis Bossart To: alsa-devel@alsa-project.org Cc: tiwai@suse.de, broonie@kernel.org, Bjorn Helgaas , linux-pci@vger.kernel.org, Pierre-Louis Bossart , Ranjani Sridharan , Bard Liao Subject: [PATCH 3/5] ALSA: hda: intel-dsp-cfg: use common include for MeteorLake Date: Wed, 2 Aug 2023 10:01:03 -0500 Message-Id: <20230802150105.24604-4-pierre-louis.bossart@linux.intel.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230802150105.24604-1-pierre-louis.bossart@linux.intel.com> References: <20230802150105.24604-1-pierre-louis.bossart@linux.intel.com> MIME-Version: 1.0 Message-ID-Hash: 4DC4LPNOSY4FEYOVV6O6KVQGMU2VQBG2 X-Message-ID-Hash: 4DC4LPNOSY4FEYOVV6O6KVQGMU2VQBG2 X-MailFrom: pierre-louis.bossart@linux.intel.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-alsa-devel.alsa-project.org-0; header-match-alsa-devel.alsa-project.org-1; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.8 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: This was not updated in Commit 0cd0a7c2c599 ("ALSA: intel-dsp-config: Convert to PCI device IDs defines") Signed-off-by: Pierre-Louis Bossart Reviewed-by: Ranjani Sridharan Reviewed-by: Bard Liao --- sound/hda/intel-dsp-config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/hda/intel-dsp-config.c b/sound/hda/intel-dsp-config.c index 48bd1fb06f26..1abe65f0ba1b 100644 --- a/sound/hda/intel-dsp-config.c +++ b/sound/hda/intel-dsp-config.c @@ -461,7 +461,7 @@ static const struct config_entry config_table[] = { /* Meteorlake-P */ { .flags = FLAG_SOF | FLAG_SOF_ONLY_IF_DMIC_OR_SOUNDWIRE, - .device = 0x7e28, + .device = PCI_DEVICE_ID_INTEL_HDA_MTL, }, #endif From patchwork Wed Aug 2 15:01:04 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pierre-Louis Bossart X-Patchwork-Id: 709628 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 135A5C001DF for ; Wed, 2 Aug 2023 15:15:26 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 072E6857; Wed, 2 Aug 2023 17:14:34 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 072E6857 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1690989324; bh=AUNY4fOKGSINjHCvUnG98cy9TPxbQGOZ0uRCfqLy5bE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=FGi6MREdtUjwlhHPTbRsnP8fmT5zbjHAuHs6OfY7qpuIdfxwhuzH/n74EFgPdu6HQ efzjYQwxNdOo3t0S2H0GTDlOJj5gtMCz3DZFAy5DlwlugusibpnSeGIos7GRtaAe+K K0VW9uPixjIIGWEbky6Lgr37Ly91skrjv++NVwxQ= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 35281F805AC; Wed, 2 Aug 2023 17:13:04 +0200 (CEST) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id 86FB9F8058C; Wed, 2 Aug 2023 17:13:03 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 7DD4AF80563; Wed, 2 Aug 2023 17:12:53 +0200 (CEST) Received: from mgamail.intel.com (unknown [192.55.52.115]) (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 7E698F8016D for ; Wed, 2 Aug 2023 17:12:45 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 7E698F8016D Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key, unprotected) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=Q8bHS5Yb DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1690989167; x=1722525167; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=AUNY4fOKGSINjHCvUnG98cy9TPxbQGOZ0uRCfqLy5bE=; b=Q8bHS5YbMN6TarAiDC4X39CzftTypk8oj9qUun498adDUj5YYFmcp0Pj 3znEVn2bsx8cXD5etp1i6yxTdedHmb3moYCci/ITXIs7C7DYr6i7xirb0 CnwiXlG5Qos7nHM3gaHluLDsZk+8yzPiOmEw5fJQAEtr8JIlaieyrHnN6 /mMUiIT8Rka8leczKkri5YQnCoW7MLOuOX61GNdHG/GUamV0kcTaCoato bmjnqWTl1nv09HcYsC8zwTRKtgZUa8eVgzZnnzLcMkAAbj/fwXxJBOiCt FEdY2t3lpOEnREftUPmlqoqVTnBwMMzFwl+XDcqJuc8mLX8KwSY5qb8nT g==; X-IronPort-AV: E=McAfee;i="6600,9927,10790"; a="369607277" X-IronPort-AV: E=Sophos;i="6.01,249,1684825200"; d="scan'208";a="369607277" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Aug 2023 08:01:16 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10790"; a="732428688" X-IronPort-AV: E=Sophos;i="6.01,249,1684825200"; d="scan'208";a="732428688" Received: from rickylop-mobl1.amr.corp.intel.com (HELO pbossart-mobl3.intel.com) ([10.212.125.114]) by fmsmga007-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Aug 2023 08:01:15 -0700 From: Pierre-Louis Bossart To: alsa-devel@alsa-project.org Cc: tiwai@suse.de, broonie@kernel.org, Bjorn Helgaas , linux-pci@vger.kernel.org, Pierre-Louis Bossart , Ranjani Sridharan , Bard Liao Subject: [PATCH 4/5] ALSA: hda: intel-dsp-cfg: add LunarLake support Date: Wed, 2 Aug 2023 10:01:04 -0500 Message-Id: <20230802150105.24604-5-pierre-louis.bossart@linux.intel.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230802150105.24604-1-pierre-louis.bossart@linux.intel.com> References: <20230802150105.24604-1-pierre-louis.bossart@linux.intel.com> MIME-Version: 1.0 Message-ID-Hash: APSJOOXBKJQREUIISZFGURPWZDHQZWS4 X-Message-ID-Hash: APSJOOXBKJQREUIISZFGURPWZDHQZWS4 X-MailFrom: pierre-louis.bossart@linux.intel.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-alsa-devel.alsa-project.org-0; header-match-alsa-devel.alsa-project.org-1; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.8 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: One more PCI ID for the road. Signed-off-by: Pierre-Louis Bossart Reviewed-by: Ranjani Sridharan Reviewed-by: Bard Liao --- sound/hda/intel-dsp-config.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/sound/hda/intel-dsp-config.c b/sound/hda/intel-dsp-config.c index 1abe65f0ba1b..dcf2453138a5 100644 --- a/sound/hda/intel-dsp-config.c +++ b/sound/hda/intel-dsp-config.c @@ -465,6 +465,14 @@ static const struct config_entry config_table[] = { }, #endif +/* Lunar Lake */ +#if IS_ENABLED(CONFIG_SND_SOC_SOF_LUNARLAKE) + /* Lunarlake-P */ + { + .flags = FLAG_SOF | FLAG_SOF_ONLY_IF_DMIC_OR_SOUNDWIRE, + .device = PCI_DEVICE_ID_INTEL_HDA_LNL_P, + }, +#endif }; static const struct config_entry *snd_intel_dsp_find_config From patchwork Wed Aug 2 15:01:05 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pierre-Louis Bossart X-Patchwork-Id: 709629 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 028E0C04A6A for ; Wed, 2 Aug 2023 15:14:59 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 08D601D6; Wed, 2 Aug 2023 17:14:08 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 08D601D6 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1690989298; bh=znXh8jhk50KTy9cQHFdBDmGE/L6ZUCXCnIswbewkii8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=FUk0akfw2p4y2sjC02QupIx6MeLnozLkap2l9Oq68zC+lxvhkju68Qx9GFFkuvzlF TZNVI5rU92MQCxPMbjuEqIggnkQ7jaJn6WETpjI1hTc4MY/Xq5UmxULN9nCrTMX+Zf 4CEuNXxpoXQFHk7RHV23pm92561+RBSL+cA79lqA= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 4F0C7F8057E; Wed, 2 Aug 2023 17:12:58 +0200 (CEST) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id C5105F8057F; Wed, 2 Aug 2023 17:12:57 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id C81AAF80553; Wed, 2 Aug 2023 17:12:50 +0200 (CEST) Received: from mgamail.intel.com (unknown [192.55.52.115]) (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 9C94BF801D5 for ; Wed, 2 Aug 2023 17:12:46 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 9C94BF801D5 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key, unprotected) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=LLg1o+gv DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1690989167; x=1722525167; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=znXh8jhk50KTy9cQHFdBDmGE/L6ZUCXCnIswbewkii8=; b=LLg1o+gvgEXeW0uvfLHmH11dzAtoOCYZqn15F0wHhDv54FCPaoleuKML VlU5aTodVX4aU0N/CDPQLqBHWM5X52OFak40aJv0ERS3RAg73Qpt4n64Q 8F30q/IlgtdLUrI2I5114PyXqLGwS5F8UIQjhHpASB8dWBvidJvpQXbrr lq61lyWzn6VpgFCsvR6IA2cbGcLui17/a0w79BU/0Yp8Y6vJzn8fWxdl7 CY44dfDdq61alIRKF3pYmlzT21cIDe8qtaBa44mo1MY/YPfrfmOvoSOhJ JCYo43q9S/Oy1W1aDIkqTKh5Gx7DAg22Ah5xMGsOPrKecGqdxExMEBdNp A==; X-IronPort-AV: E=McAfee;i="6600,9927,10790"; a="369607285" X-IronPort-AV: E=Sophos;i="6.01,249,1684825200"; d="scan'208";a="369607285" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Aug 2023 08:01:16 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10790"; a="732428698" X-IronPort-AV: E=Sophos;i="6.01,249,1684825200"; d="scan'208";a="732428698" Received: from rickylop-mobl1.amr.corp.intel.com (HELO pbossart-mobl3.intel.com) ([10.212.125.114]) by fmsmga007-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Aug 2023 08:01:16 -0700 From: Pierre-Louis Bossart To: alsa-devel@alsa-project.org Cc: tiwai@suse.de, broonie@kernel.org, Bjorn Helgaas , linux-pci@vger.kernel.org, Kai Vehmanen , Bard Liao , "T, Arun" , Pierre-Louis Bossart Subject: [PATCH 5/5] ALSA: hda/i915: extend connectivity check to cover Intel ARL Date: Wed, 2 Aug 2023 10:01:05 -0500 Message-Id: <20230802150105.24604-6-pierre-louis.bossart@linux.intel.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230802150105.24604-1-pierre-louis.bossart@linux.intel.com> References: <20230802150105.24604-1-pierre-louis.bossart@linux.intel.com> MIME-Version: 1.0 Message-ID-Hash: LRFJDGBPZ2EKBQCV5T44LLZLSQI4KHSE X-Message-ID-Hash: LRFJDGBPZ2EKBQCV5T44LLZLSQI4KHSE X-MailFrom: pierre-louis.bossart@linux.intel.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-alsa-devel.alsa-project.org-0; header-match-alsa-devel.alsa-project.org-1; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.8 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: Kai Vehmanen Expand the HDA/I915 connectivity check to correctly handle the PCI topology used in some Intel Arrow Lake products. Reviewed-by: Bard Liao Tested-by: "T, Arun" Signed-off-by: Kai Vehmanen Signed-off-by: Pierre-Louis Bossart --- sound/hda/hdac_i915.c | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/sound/hda/hdac_i915.c b/sound/hda/hdac_i915.c index 2a451ff4fe6a..b428537f284c 100644 --- a/sound/hda/hdac_i915.c +++ b/sound/hda/hdac_i915.c @@ -75,16 +75,22 @@ static bool connectivity_check(struct pci_dev *i915, struct pci_dev *hdac) if (bus_a == bus_b) return true; + bus_a = bus_a->parent; + bus_b = bus_b->parent; + + /* connected via parent bus (may be NULL!) */ + if (bus_a == bus_b) + return true; + + if (!bus_a || !bus_b) + return false; + /* * on i915 discrete GPUs with embedded HDA audio, the two * devices are connected via 2nd level PCI bridge */ bus_a = bus_a->parent; bus_b = bus_b->parent; - if (!bus_a || !bus_b) - return false; - bus_a = bus_a->parent; - bus_b = bus_b->parent; if (bus_a && bus_a == bus_b) return true;