Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp4057573ybx; Mon, 4 Nov 2019 07:11:25 -0800 (PST) X-Google-Smtp-Source: APXvYqwqSI2DP3PyHE5jhtdvuIm9y8l7zG8KXlcUdq8AFwiW+Qzi0ujqO9EBulO+QZzP5K4vxhzh X-Received: by 2002:a50:8871:: with SMTP id c46mr30016090edc.24.1572880284775; Mon, 04 Nov 2019 07:11:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1572880284; cv=none; d=google.com; s=arc-20160816; b=rs63rOVxNa0T2RwXbNQnHMgE70GnbLJbt/ADX9Nr1cXSVw1E67haytRzP91nuXt7ev PqFQqxkTdA631khDo0/hyLHs1UNoTWbLAbjMWj6+y5RGSTLvqukza8vb9YbjlQrRzaFW QBFM9qrzoHbzAs/skQicm9/adEo7ZwJxrtJXHZNiQVho9Wy/laJV45nC7nLcAw/r3urm o6LojYxpHceTcp2ZMwGAydubcj8QJEcX7wbwjpL7o+ml2p8mgMcjXZ1/G1Y4H6IXvasu o+dcJG2uALSsNiULL4HxPpkEjLfIEhHDKqMAdtaP4a8PS2Mr5/Cpbzh5NhdjPzl7bPQa SwiQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:subject:cc:to:from:message-id :date; bh=H0jHeJWs+ZpFdHXXzIJ05DpbVyeAOM+60b+Fuu0Gbew=; b=0MCJYJ+OGQ5/xH5BoY4zanVokNX4kfFYyj6/n6TBH/1Abg/eas1Mcrde3ZB3Rvk3zT BuoMdQvXMN53Xv0vu5sxA0kYse+I/TYTAj9gimus77eEXQwvTSy2+k3dyBdjhKBPACsd HBu4xK8qx6qwyl8F80e0+JpIzMe4gRP9rWRKTnnpR2b9R6ftew8Bmv6IJxcD+74iSLRd fF104vVQ3POaMD0FjyDy9DpZ+TyhlUk9L0YO/uUdtzPT3jULljuLeejiWzc1PlCzQp9x OQJrwjokoHcReuazEyaRgSR8g475MRRmEJ94U/ixkBXtgxj9LGOQs45a+B0yE857EneO sD1Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d2si10978408ejk.301.2019.11.04.07.11.01; Mon, 04 Nov 2019 07:11:24 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728558AbfKDPI3 (ORCPT + 99 others); Mon, 4 Nov 2019 10:08:29 -0500 Received: from mx2.suse.de ([195.135.220.15]:36680 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727891AbfKDPI3 (ORCPT ); Mon, 4 Nov 2019 10:08:29 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id B7584ADB5; Mon, 4 Nov 2019 15:08:26 +0000 (UTC) Date: Mon, 04 Nov 2019 16:08:26 +0100 Message-ID: From: Takashi Iwai To: Mika Westerberg Cc: Takashi Iwai , Paul Menzel , Andreas Noever , Michael Jamet , Yehezkel Bernat , Christian Kellner , intel-gfx@lists.freedesktop.org, Linux Kernel Mailing List , Mario Limonciello Subject: Re: snd_hda_intel 0000:00:1f.3: No response from codec, resetting bus: last cmd= In-Reply-To: <20191104145825.GE2552@lahna.fi.intel.com> References: <20191104131024.GB2552@lahna.fi.intel.com> <20191104145825.GE2552@lahna.fi.intel.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=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 04 Nov 2019 15:58:25 +0100, Mika Westerberg wrote: > > On Mon, Nov 04, 2019 at 02:19:21PM +0100, Takashi Iwai wrote: > > On Mon, 04 Nov 2019 14:10:24 +0100, > > Mika Westerberg wrote: > > > > > > Hi, > > > > > > On Mon, Nov 04, 2019 at 01:57:54PM +0100, Paul Menzel wrote: > > > > Dear Linux folks, > > > > > > > > > > > > On the Dell XPS 13 9380 with Debian Sid/unstable with Linux 5.3.7 > > > > resuming0with Dell’s Thunderbolt TB16 dock connected, Linux spews > > > > the errors below. > > > > > > I have this machine here so can try to reproduce it as well. > > > > > > > ``` > > > > [ 0.000000] Linux version 5.3.0-1-amd64 (debian-kernel@lists.debian.org) (gcc version 9.2.1 20191008 (Debian 9.2.1-9)) #1 SMP Debian 5.3.7-1 (2019-10-19) > > > > […] > > > > [ 1.596619] pci 0000:00:1f.3: Adding to iommu group 12 > > > > [ 14.536274] snd_hda_intel 0000:00:1f.3: enabling device (0000 -> 0002) > > > > [ 14.544100] snd_hda_intel 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915]) > > > > [ 14.760751] input: HDA Intel PCH Headphone Mic as /devices/pci0000:00/0000:00:1f.3/sound/card0/input16 > > > > [ 14.760790] input: HDA Intel PCH HDMI as /devices/pci0000:00/0000:00:1f.3/sound/card0/input17 > > > > [ 156.614284] snd_hda_intel 0000:00:1f.3: No response from codec, disabling MSI: last cmd=0x20270503 > > > > [ 157.622232] snd_hda_intel 0000:00:1f.3: No response from codec, resetting bus: last cmd=0x20270503 > > > > [ 158.626371] snd_hda_intel 0000:00:1f.3: No response from codec, resetting bus: last cmd=0x20370503 > > > > [ 159.634102] snd_hda_intel 0000:00:1f.3: No response from codec, resetting bus: last cmd=0x201f0500 > > > > [ 161.678121] snd_hda_intel 0000:00:1f.3: No response from codec, resetting bus: last cmd=0x20270503 > > > > [ 162.682272] snd_hda_intel 0000:00:1f.3: No response from codec, resetting bus: last cmd=0x20370503 > > > > [ 163.694234] snd_hda_intel 0000:00:1f.3: No response from codec, resetting bus: last cmd=0x201f0500 > > > > [ 165.730142] snd_hda_intel 0000:00:1f.3: No response from codec, resetting bus: last cmd=0x20270503 > > > > […] > > > > ``` > > > > > > > > In the bug report *[Intel Ice Lake, snd-hda-intel, HDMI] "No > > > > response from codec" (after display hotplug?)* [1], note it’s a > > > > different model, Takashi comments that this is a Thunderbolt or > > > > i915 issue. > > > > > > 0000:00:1f.3 is on PCH so not sure how it could be related to > > > Thunderbolt, well or i915 for that matter. > > > > It's the HD-audio controller PCI device and both HDMI and onboard > > codecs are on that bus. HDMI codec a shadow device of GPU, so it has > > a strong dependency on i915 GPU driver. The power of HD-audio bus and > > codec is controlled over DRM audio component ops, so the power-on must > > have been notified to GPU side, but still something seems missing. > > ANd, with the dock, the other parties come to play into the game, so > > it becomes more complex... > > OK, thanks for explaining. Then I guess i915 may be related. However, > that traffic for sure does not go over Thunderbolt fabric (PCIe and DP > does). Well, here HDMI codec I meant is for both HDMI and DP. Its audio device is common for both display types. thanks, Takashi