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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D7F56C433F5 for ; Wed, 10 Nov 2021 19:45:30 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id B66256113E for ; Wed, 10 Nov 2021 19:45:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232256AbhKJTsR (ORCPT ); Wed, 10 Nov 2021 14:48:17 -0500 Received: from smtp-out2.suse.de ([195.135.220.29]:41692 "EHLO smtp-out2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230153AbhKJTsP (ORCPT ); Wed, 10 Nov 2021 14:48:15 -0500 Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out2.suse.de (Postfix) with ESMTP id 9A8641FD37; Wed, 10 Nov 2021 19:45:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1636573525; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=o8xCmnMhOL6iPCd3xrQhgU00KcYDRzr8OGC9/vZUdO8=; b=guvBhcTzueegbhWNrJ/guQhoexEQkil0/ImtARv9Vxua5VMpzQ7+GG9FsTI8SaRR92gBEQ MTR/NUl4tZ9lx2pf2A/sFvRjul0UmXtKZgDPAJK4E5p0o83qECT/D5ySzZW71X0bKtLjw1 O7CQZEkouUssIroZ1NgXrVVy0skyhTk= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1636573525; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=o8xCmnMhOL6iPCd3xrQhgU00KcYDRzr8OGC9/vZUdO8=; b=IDsMLUeR1lCr9gcYyeORICGljIoOAkjsDXCJJloVL5kKNbbyjeO/LUjv6afI8p4qogmg+W 2iRlj5RsrvjtqsCg== Received: from alsa1.suse.de (alsa1.suse.de [10.160.4.42]) by relay2.suse.de (Postfix) with ESMTP id 936D2A3B81; Wed, 10 Nov 2021 19:45:24 +0000 (UTC) Date: Wed, 10 Nov 2021 20:45:24 +0100 Message-ID: From: Takashi Iwai To: Scott Branden Cc: perex@perex.cz, tiwai@suse.com, ranjani.sridharan@linux.intel.com, broonie@kernel.org, kai.vehmanen@linux.intel.com, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, regressions@leemhuis.info Subject: Re: 5.15 Linux Regression in sound hda In-Reply-To: <34d3e1cb-d40d-3232-d323-3f4cbeaa0e07@broadcom.com> References: <063e2397-7edb-5f48-7b0d-618b938d9dd8@broadcom.com> <34d3e1cb-d40d-3232-d323-3f4cbeaa0e07@broadcom.com> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL/10.8 Emacs/25.3 (x86_64-suse-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 10 Nov 2021 19:53:53 +0100, Scott Branden wrote: > > Hi Takashi, > > On 2021-11-10 6:33 a.m., Takashi Iwai wrote: > > On Tue, 09 Nov 2021 22:12:30 +0100, > > Scott Branden wrote: > >> > >> I'm reporting a new WARN_ON in sound/hda/hdac_bus.c that was not > >> present in 5.15. Sorry, I don't have time to bisect this right now > >> but report is below. > >> > >> dmesg in 5.14 kernel was: > >> snd_hda_intel 0000:00:1f.3: bound 0000:00:02.0 (ops 0xffffffffaa2ac520) > >> GACT probability on > >> Mirror/redirect action on > >> Simple TC action Loaded > >> u32 classifier > >> Performance counters on > >> input device check on > >> Actions configured > >> hdaudio hdaudioC0D0: Unable to bind the codec > >> hdaudio hdaudioC0D2: Unable to bind the codec > >> > >> dmesg in 5.15 kernel produces WARN_ON in sound/hda/hdac_bus.c > >> snd_hda_intel 0000:00:1f.3: bound 0000:00:02.0 (ops 0xffffffffad8b02a0) > >> GACT probability on > >> Mirror/redirect action on > >> Simple TC action Loaded > >> u32 classifier > >> Performance counters on > >> input device check on > >> Actions configured > >> snd_hda_intel 0000:00:1f.3: Cannot probe codecs, giving up > >> Initializing XFRM netlink socket > >> ------------[ cut here ]------------ > >> NET: Registered PF_INET6 protocol family > >> WARNING: CPU: 14 PID: 186 at sound/hda/hdac_bus.c:73 > > > > This indicates the leftover codecs on the bus, and it's likely > > triggered by the recent change to allow retrying the codec probes. > > > > Did this HD-audio stuff work at all before 5.15? The codec bind error > > itself shouldn't be brought by that change. > I don't know if HD-audio works at all on this system - we don't test > HD-audio but parse the dmesg for issues so detected this new one. OK. > > The warning itself can be solved by the patch below, I suppose > > (note: totally untested!) > > I tested your patch below and can confirm the WARN_ON is not produced > on boot. Good, then I'll submit and merge the proper patch. Thanks! Takashi