Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp4966449rdb; Fri, 29 Dec 2023 23:28:07 -0800 (PST) X-Google-Smtp-Source: AGHT+IEOxoI6RdoJ4GIO9IQuVtIJACdwlVnRjF4+Nw2wF2PLuzjNLeGELIWbDpP+lDAck+Rf/JtI X-Received: by 2002:a05:622a:11c4:b0:428:1232:31b8 with SMTP id n4-20020a05622a11c400b00428123231b8mr512597qtk.70.1703921286860; Fri, 29 Dec 2023 23:28:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703921286; cv=none; d=google.com; s=arc-20160816; b=xDejFCeEVrMAJz9qlHh4t/fmdjOaRwPou/iSUuq9LBp5L59gnEaH0IKnC3Yd3dVfjE A5AeXBYE8+pW/EHQGa/8kTzilIIX6wgNxmo++V3WKIpNpyXz5UEO7ii/jm1sksSN+dMR UZuIPt0CE8dM8Fhq2RcJcOmAU+1Gsmahp2Yiua5MTM3Tpp9pe0Z8Dklwh6Dz1N8fSEHh emBF+GEDllUt/3I7+DlUeXjdtS1GO48KSEZFdpkVxCCli4ESDfnQmgG8zgN9OCMt8Jo1 CcE4jPmsmPxLtzp3gHxNVYaQ14bgROaf1mgfZ1iEiwd7QhzfPj3u/2b5Kzhl66xhe3eM 3gcA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date; bh=9BWJTFp5DCIOaA9iD2JCvb/A0vzyLREdMl9adWbnRq8=; fh=G/6x1eLyaGu6gxvF0B4kC1wFINqMIwBk3j60kDbwUzg=; b=gC+pEecNolnXTOamNq/0MafoAfyU3GUoXobulM0fYGPovMLXfW6nQl4e017DLFcJ23 JvFSgh07lsUUyGc8SCizQQhsjeHVKBDONNd1FIrSEAnjOQA4ajOGYwOKDPblOeByLz+M n8ch4lfSARzuQtVFbDQy1UFMH1AxqHWlsdkS+wATZLtaIIt+oM8r1FyQTYR1YIPjEXq5 pTxVsKelrKYSoEOdhwmU2yLgmsVqfJOlmr8uBPm1kMHTwXUxU4n9CA71nWOJg8hDiQsg rG6I6rcaa3UxzcY42UjJxsfQVLpoAOwCDGkCxpnIHYFhyE2RRpYC2vjC7JBXhgVbSW6q FUog== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-13352-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-13352-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id cj15-20020a05622a258f00b00427eaa83194si8185493qtb.216.2023.12.29.23.28.06 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Dec 2023 23:28:06 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-13352-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-13352-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-13352-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 96F001C20BAD for ; Sat, 30 Dec 2023 07:28:06 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id ECDEA2104; Sat, 30 Dec 2023 07:27:59 +0000 (UTC) X-Original-To: linux-kernel@vger.kernel.org Received: from isilmar-4.linta.de (isilmar-4.linta.de [136.243.71.142]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6BB5B63D5; Sat, 30 Dec 2023 07:27:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=dominikbrodowski.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=dominikbrodowski.net X-isilmar-external: YES X-isilmar-external: YES X-isilmar-external: YES X-isilmar-external: YES X-isilmar-external: YES X-isilmar-external: YES X-isilmar-external: YES X-isilmar-external: YES X-isilmar-external: YES X-isilmar-external: YES X-isilmar-external: YES X-isilmar-external: YES X-isilmar-external: YES Received: from shine.dominikbrodowski.net (shine.brodo.linta [10.2.0.112]) by isilmar-4.linta.de (Postfix) with ESMTPSA id 5CD412002DB; Sat, 30 Dec 2023 07:27:53 +0000 (UTC) Received: by shine.dominikbrodowski.net (Postfix, from userid 1000) id 1B011A0083; Sat, 30 Dec 2023 08:27:43 +0100 (CET) Date: Sat, 30 Dec 2023 08:27:43 +0100 From: Dominik Brodowski To: Takashi Iwai Cc: peter.ujfalusi@linux.intel.com, lgirdwood@gmail.com, broonie@kernel.org, perex@perex.cz, tiwai@suse.com, alsa-devel@alsa-project.org, linux-sound@vger.kernel.org, pierre-louis.bossart@linux.intel.com, kai.vehmanen@linux.intel.com, ranjani.sridharan@linux.intel.com, linux-kernel@vger.kernel.org, regressions@lists.linux.dev Subject: Re: Oops in hdac_hda_dev_probe (6.7-rc7) Message-ID: References: <87sf3lxiet.wl-tiwai@suse.de> <874jg1x7ao.wl-tiwai@suse.de> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <874jg1x7ao.wl-tiwai@suse.de> Am Fri, Dec 29, 2023 at 06:11:43PM +0100 schrieb Takashi Iwai: > On Fri, 29 Dec 2023 16:24:18 +0100, > Dominik Brodowski wrote: > > > > Hi Takashi, > > > > many thanks for your response. Your patch helps half-way: the oops goes > > away, but so does the sound... With your patch, the decisive lines in dmesg > > are: > > > > sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware info: version 2:2:0-57864 > > sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware: ABI 3:22:1 Kernel ABI 3:23:0 > > sof_sdw sof_sdw: ASoC: CODEC DAI intel-hdmi-hifi1 not registered > > sof_sdw sof_sdw: snd_soc_register_card failed -517 > > sof_sdw sof_sdw: ASoC: CODEC DAI intel-hdmi-hifi1 not registered > > sof_sdw sof_sdw: snd_soc_register_card failed -517 > > platform sof_sdw: deferred probe pending > > > > With a revert of the a0575b4add21, it is: > > > > sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware info: version 2:2:0-57864 > > sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware: ABI 3:22:1 Kernel ABI 3:23:0 > > sof-audio-pci-intel-tgl 0000:00:1f.3: Topology: ABI 3:22:1 Kernel ABI 3:23:0 > > sof_sdw sof_sdw: ASoC: Parent card not yet available, widget card binding deferred > > sof_sdw sof_sdw: hda_dsp_hdmi_build_controls: no PCM in topology for HDMI converter 3 > > input: sof-soundwire HDMI/DP,pcm=5 as /devices/pci0000:00/0000:00:1f.3/sof_sdw/sound/card0/input14 > > input: sof-soundwire HDMI/DP,pcm=6 as /devices/pci0000:00/0000:00:1f.3/sof_sdw/sound/card0/input15 > > input: sof-soundwire HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:1f.3/sof_sdw/sound/card0/input16 > > > > Maybe this helps a bit further? > > Thanks for quick testing. > It shows at least that my guess wasn't wrong. > > The problem could be the initialization order in the caller side. > Can the patch below work instead? Unfortunately, no: sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware info: version 2:2:0-57864 sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware: ABI 3:22:1 Kernel ABI 3:23:0 sof_sdw sof_sdw: ASoC: CODEC DAI intel-hdmi-hifi1 not registered sof_sdw sof_sdw: snd_soc_register_card failed -517 sof_sdw sof_sdw: ASoC: CODEC DAI intel-hdmi-hifi1 not registered sof_sdw sof_sdw: snd_soc_register_card failed -517 platform sof_sdw: deferred probe pending Thanks, Dominik