Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp447514ybh; Wed, 18 Mar 2020 02:58:33 -0700 (PDT) X-Google-Smtp-Source: ADFU+vsf7Pa8Eib7WeA5uuPYqo9V88kbefkOC8oEpM8DWyXgrpXSyRQzxL3ta5Zhu+RnR8QmRuOt X-Received: by 2002:aca:5dc3:: with SMTP id r186mr2478305oib.137.1584525513712; Wed, 18 Mar 2020 02:58:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584525513; cv=none; d=google.com; s=arc-20160816; b=KoBPvKFhaOWoA0xcaOdY86ADIoO1xqSc9xs4Wx5RXC/GAR2BFXbHQLnNtF+0MqCE9r w428jzQEwC/Reev5zDemIyBgmSwhh5jGKgPxscjl/4zyJU+9+XWMooNmPkolcN5oV/cp iAG4IVymj04kqPpql2lvuZ83hO7r92HlDwlOKN5vVtecnDlFvR2uedljKwyN8ijngLEU wXOt4sDXnq7ePZsBLaozeDoabd+N8pSme0qbFB0PyPQDSoU7dM3SKQuKiXt2y0wo0XNy TaJ2UfUktCpN4HPj2ctOul93CDFp7GoS8AbUgOUlQwFADKsWeT0NyfGE9OOiWKpR74T9 QUuA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=IMbi6sarYy+pMUIewbSKXRZOtmUpCDQHBWBPayz8BiM=; b=aM2h+NJaY52VAECZUAj9Fl9KuWZGu3Nci7aOYq12LWI+MTPPZhojC7BSSXs9vh52j+ j0RNzoGkHszOk5/Ms3JzNbMaw6P/cQ8sKLFfhW1bwEAdyVxS8AjPkA2UnM8VorRug1Rl IOmOyI8QvhMtLRWWN8RHrr8LgyQ3KI8tEDA89AqF0MB+v52/fo49tZJ9CvSqswzJSXYQ rhlBnmcsp9hQ+XBGWb0bYaAAYij8brFCNbUf8dMcUOMFq3xSbsNt0XeKKsrJZmxTLAR9 3HyNbuLR3NkBi8Gj8CBVX5YmnnDsk8IwXeWAEmeDij7uje1B/ymS27FWbrxVIyH76vIO eOHg== 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 d10si3423291oif.30.2020.03.18.02.58.22; Wed, 18 Mar 2020 02:58:33 -0700 (PDT) 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 S1727521AbgCRJ6B (ORCPT + 99 others); Wed, 18 Mar 2020 05:58:01 -0400 Received: from isilmar-4.linta.de ([136.243.71.142]:49520 "EHLO isilmar-4.linta.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726310AbgCRJ6B (ORCPT ); Wed, 18 Mar 2020 05:58:01 -0400 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 light.dominikbrodowski.net (brodo.linta [10.1.0.102]) by isilmar-4.linta.de (Postfix) with ESMTPSA id C0687200ADE; Wed, 18 Mar 2020 09:57:59 +0000 (UTC) Received: by light.dominikbrodowski.net (Postfix, from userid 1000) id 2EFF320B19; Wed, 18 Mar 2020 10:57:45 +0100 (CET) Date: Wed, 18 Mar 2020 10:57:45 +0100 From: Dominik Brodowski To: Cezary Rojewski Cc: tiwai@suse.com, pierre-louis.bossart@linux.intel.com, liam.r.girdwood@linux.intel.com, yang.jie@linux.intel.com, broonie@kernel.org, perex@perex.cz, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org Subject: Re: snd_hda_intel/sst-acpi sound breakage on suspend/resume since 5.6-rc1 Message-ID: <20200318095745.GA133849@light.dominikbrodowski.net> References: <20200318063022.GA116342@light.dominikbrodowski.net> <66c719b3-a66e-6a9f-fab8-721ba48d7ad8@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <66c719b3-a66e-6a9f-fab8-721ba48d7ad8@intel.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Mar 18, 2020 at 10:41:42AM +0100, Cezary Rojewski wrote: > On 2020-03-18 07:30, Dominik Brodowski wrote: > > Hi! > > > > While 5.5.x works fine, mainline as of ac309e7744be (v5.6-rc6+) causes me > > some sound-related trouble: after boot, the sound works fine -- but once I > > suspend and resume my broadwell-based XPS13, I need to switch to headphone > > and back to speaker to hear something. But what I hear isn't music but > > garbled output. > > > > A few dmesg snippets from v5.6-rc6-9-gac309e7744be which might be of > > interest. I've highlighted the lines differing from v.5.5.x which might be > > of special interest: > > > > Thank you for the report, Dominik. You definitely got our attention. > > I've checked the market: Dell XPS 13 9343, yes? Once you confirm model id, > I'll order a piece immediately to our site. Thanks, for taking a look at this issue, Czarek. Indeed, it's a Dell Inc. XPS 13 9343/0TM99H, BIOS A19 12/24/2018 and IIRC there should be at least one of those already at the Linux sound team at Intel (you may want to check with Yang Jie and Han Lu; I was in contact with them relating to a different sound-related issue in 2015). > In regard to logs, thanks for highlighting important lines. Build is of 'rc' > so bugs can still be in plenty - any reason for switching to cutting-edge > kernel on production stuff? Our CI didn't detect any anomalies yet as it is > running on 5.5. Well, one has to test things to find bugs ;-) -- and as I sometimes contribute to the kernel, it is better to keep current on things. > I'll direct your ticket on todays meeting. On the first look, issue seems to > be connected with recent changes to /drivers/dma/dmaengine.c. DesignWare DMA > controller drv - which HSW/BDW makes use of - might not have been updated > accordingly. Will dig further on that. > > One more, just to make it clear for the rest of the viewers: > > > haswell-pcm-audio haswell-pcm-audio: Direct firmware load for intel/IntcPP01.bin failed with error -2 > > haswell-pcm-audio haswell-pcm-audio: fw image intel/IntcPP01.bin not available(-2) > > Back in the ancient days of DSP (HSW/BDW are actually the very first audio > DSP hws for Intel) topology was part of FW - SW could not configure it and > probably that's why library IntcPP01 is attempted to be loaded on every > boot, even if it's not part of configuration for given hw. Maybe we could > make it quieter though.. > > > > > (these last two messages already are printed a couple of time after boot, and then > > again during a suspend/resume cycle. On v.5.5.y, there are similar messages > > "no context buffer need to restore!"). Everything is built-in, no modules > > are loaded. > > > > Unfortunately, I cannot bisect this issue easily -- i915 was broken for > > quite some time on this system[*], prohibiting boot... > > Hmm, sounds like that issue is quite old. DSP for Haswell and Broadwell is > available for I2S devices only, so this relates directly to legacy HDA > driver. Compared to Skylake+, HDAudio controller for older platforms is > found within GPU. My advice is to notify the DRM guys about this issue. > > Takashi, are you aware of problems with HDMI on HSW/ BDW or should I just > loop Jani and other DRM peps here? Well, it works on v5.5, so this issue is not really "quite old" (the "no context buffer need to restore!" message seen there seems harmless). Thanks again, and best wishes, Dominik