From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796396223; b=LKU3DuFic89VQI23oZ6gChHHdz9BAHe1V8lYTDPtg5sqqo8Nj4MRxBxqYxnN/FV9grE0 t1ZnZ+uMOyv2syHwQzAxOh6SONEg8IY9bdggcAzkgJOOLPbwCL0UVLCUIKKIY6TRv5DQB sc7mTCGWHKtYdEQoFeJQFlzH+0gljLf1OH6/EtCHCREI7CVuHcfZ6/eoNZCgejs72WHyO wVkpkikEW/UpgeA+f15gEsBMcRiWPo/tl5vi+4OpaZma9uK14NhByrYUPmyZb2Kiv1E3E OJDeOG+BxEOuyDuM2OZl3d8fA4lA1i/GnXKDffMtywporPgu/vhAIlIp00D4vsxaSSA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796396223; h=Received:DKIM-Signature:Message-ID:From:Subject:Reply-To:To:Cc: In-Reply-To:References:Content-Type:Content-Transfer-Encoding:Date; bh=2d749XcJrxs2qFue7jZP+868EuCB89GSkdBX9vYIw6Y=; b=Hhoj83NxsDf7fKLOwhrvMQPaUn/9DctCqn8HyUV49iaruK+B60YjtVbXCcoVOVqp5byo PPI7duYetET2ylQWMbsssP+9Pv0PkQeRQP8PfODyukCgkrLHj5x8z7Ly+xRIZnhhv9G9e htBzQrG3cI3ah7SJWiqbPbTEZlHEMXpf9ZeBuGAvGbwpCfmSMrXuGPxc6W92bRFFjzk6+ FOtXPZ4hXul39jPSzgJRikYXxphfjjjCYtgVicp6OI1/Tku9RUTbJvPzsx67w94R2jSu7 4Q1PLDlK6uAuqegMV6gzjKZ0y/irxlbUor/ciRBfh+deYv7bwPmJy++CTCKuLBaycfA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=iqOmavvT; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 66FE3606A689 for ; Fri, 4 Dec 2026 14:57:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=iqOmavvT Received: by smtp.kernel.org (Postfix) with ESMTPSA id E337A1F000C2; Fri, 4 Dec 2026 14:57:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796396223; bh=2d749XcJrxs2qFue7jZP+868EuCB89GSkdBX9vYIw6Y=; h=From:Subject:Reply-To:To:Cc:In-Reply-To:References:Date; b=iqOmavvTwqSyr/N9zF/pDmL40Hj4I5/40AHr6Navzo1N99ua5N+nt23YJMxwRnUdd iYXVW+ZnjcYeC8oIcmx9Gahxgh5Ox5TdPE9Fv5jCRNYwnpiYHH1+bbIB/rvwoOpyed skCDiCi9tz1ecyLSioizcoOICUQwh+fk4CU0S1HKCimd0GqfUr9rG2mIWdTJAf3lZu ITU3APpD3Q5ya7Xl9ys6P4VAnleyA8KHeoIjmfpfH541b4mIo0miSSp58l3vVmesxc gDyq+hSR5PX42OmDkj0qPOLeQLfxv2VGWTseJ/LepPJwnBzUUOju20r/ZGWVCSy+oY fXoTqZsw9hPag== Message-ID: From: sashiko-bot@kernel.org Subject: Re: [PATCH] ASoC: Intel: soc-acpi-intel-arl-match: use dummy topology for cs42l43 + cs35l56 Reply-To: sashiko-reviews@lists.linux.dev To: "Bard Liao" Cc: linux-sound@vger.kernel.org In-Reply-To: <20261204143720.3631183-1-yung-chuan.liao@linux.intel.com> References: <20261204143720.3631183-1-yung-chuan.liao@linux.intel.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Fri, 04 Dec 2026 14:57:02 +0000 X-Mailing-List: linux-sound@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list Thank you for your contribution! Sashiko AI review found 2 potential issues to consider: - [Medium] ASoC: Intel: dummy tplg drops monolithic fallback in snd_sof_load_topology() - [Low] ASoC: Intel: commit message omits root cause for ARL dummy tplg switch -- commit 778f084a7928198db8afa0d404eb123cbd557c6a Author: Bard Liao > ASoC: Intel: soc-acpi-intel-arl-match: use dummy topology for cs42l43 + c= s35l56 > > The ARL cs42l43 on link 0 + cs35l56 on links 2/3 entries use > sof-arl-cs42l43-l0-cs35l56-l23.tplg as the topology name. With a > non-dummy topology name, sof_sdw_get_tplg_files() gives up on function > topologies as soon as one dai link has no matching function topology, > and SOF falls back to the monolithic topology. > > Use sof-arl-dummy.tplg instead. A dummy topology name means there is > no monolithic fallback, so the card is formed from function topologies > on a best-effort basis, skipping the dai links that have no function > topology instead of falling back to the monolithic topology. > > Link: https://github.com/thesofproject/linux/issues/5916 > Signed-off-by: Bard Liao > Reviewed-by: Charles Keepax [Severity: Low] Could the commit message explain which DAI link lacks a matching function topology and why falling back to sof-arl-cs42l43-l0-cs35l56-l23.tplg is a problem here? Relying on the external GitHub link leaves the root cause and the reason for dropping monolithic fallback on these three entries out of the git history. > diff --git a/sound/soc/intel/common/soc-acpi-intel-arl-match.c b/sound/so= c/intel/common/soc-acpi-intel-arl-match.c > index bddeb1225e5df..837be1e6cdc78 100644 > --- a/sound/soc/intel/common/soc-acpi-intel-arl-match.c > +++ b/sound/soc/intel/common/soc-acpi-intel-arl-match.c > @@ -665,21 +665,21 @@ struct snd_soc_acpi_mach snd_soc_acpi_intel_arl_sdw= _machines[] =3D { > .link_mask =3D BIT(0) | BIT(2) | BIT(3), > .links =3D arl_cs42l43_l0_cs35l56_l23, > .drv_name =3D "sof_sdw", > - .sof_tplg_filename =3D "sof-arl-cs42l43-l0-cs35l56-l23.tplg", > + .sof_tplg_filename =3D "sof-arl-dummy.tplg", > .get_function_tplg_files =3D sof_sdw_get_tplg_files, > }, > { > .link_mask =3D BIT(0) | BIT(2) | BIT(3), > .links =3D arl_cs42l43_l0_cs35l56_2_l23, > .drv_name =3D "sof_sdw", > - .sof_tplg_filename =3D "sof-arl-cs42l43-l0-cs35l56-l23.tplg", > + .sof_tplg_filename =3D "sof-arl-dummy.tplg", > .get_function_tplg_files =3D sof_sdw_get_tplg_files, > }, > { > .link_mask =3D BIT(0) | BIT(2) | BIT(3), > .links =3D arl_cs42l43_l0_cs35l56_3_l23, > .drv_name =3D "sof_sdw", > - .sof_tplg_filename =3D "sof-arl-cs42l43-l0-cs35l56-l23.tplg", > + .sof_tplg_filename =3D "sof-arl-dummy.tplg", > .get_function_tplg_files =3D sof_sdw_get_tplg_files, > }, > { [Severity: Medium] Does switching these existing entries to sof-arl-dummy.tplg break audio probe on systems without function topologies? In snd_sof_load_topology(), a "dummy" filename disables monolithic fallback and returns -EINVAL when tplg_cnt is 0. ARL laptops with an older sof-firmware package (or snd_sof.disable_function_topology=3D1) will now fail probe instead of using sof-arl-cs42l43-l0-cs35l56-l23.tplg. Because best_effort is also enabled for dummy filenames, sof_sdw_get_tplg_files() skips any missing fragment rather than returning 0, so a partial function topology set can also leave speakers or the headset jack silently missing. Decoupling best-effort skipping of unsupported DAI links from the dummy no-fallback check in snd_sof_load_topology() would preserve monolithic fallback for these entries. --=20 Sashiko AI review =C2=B7 https://sashiko.dev/#/patchset/20261204143720.3631= 183-1-yung-chuan.liao@linux.intel.com?part=3D1