Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp435131ybh; Wed, 18 Mar 2020 02:42:23 -0700 (PDT) X-Google-Smtp-Source: ADFU+vvmQJpAq3umQSZ4OnPbPQaSOqdB+9JlR77PiVhwU6t3NU52+nR4uRMy1beTbpddZwlHE4Um X-Received: by 2002:a9d:65ca:: with SMTP id z10mr3295410oth.244.1584524543719; Wed, 18 Mar 2020 02:42:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584524543; cv=none; d=google.com; s=arc-20160816; b=oxiXu8pj9OKGk6ISgSYMgQg/o3EZQx9zQeDNr4jqCeXLeH6u/cF6/0mzV1dZcMJHou 5yBNo5IgWuxnLKhwYe9h1YoziJaXuxhgR0B1x/whkywD3XF9m1ukbqtVuJ6Gi1+v3epc sUsXKmXoLawsj/8rYlMFp2o6FxFyTO/L+F+a+W5vBhod8yLZxB0hDzogFzLrdWaFqFLc 79XOhAU4mt5wllmT5pnjvcoej+s6/xUVUBR8vNljiJkGb37nROL6dVRZMceCVRXxIWsl Ooz6ExeFdTTjJM7SS7LOs1x+bnC3PgJoyNr1Su+WlHCMKvlItaus4lff/w0b3pyVbNTU i3hQ== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:ironport-sdr:ironport-sdr; bh=MxWXoGXaIZs5R62EWCpCOZsGuiNUbypr5HQk4Xy5oQY=; b=EDZcbhsH2UN0Zb/Ypcbiarub3NkeNDR7xd0mdwNXDep3ymHvJvkfM8XJRmgJ+8NZOx DSpw0WjsDxEUIbpVvnN+LElCIddVcQNfuZfoRXf+oYZ1v15QX03QPMFn1QtLyeUyOmbA v51AI7PO8w+W2uhXUB61hPOk5dfWayF9dPleYpjXU5WMvCBKhMXGmj3YUNtZ7Bfhd8eL QumIQDLfRsNgodBeAbk5WBYDeVs3s4hasb58S4wczpOzAyuzYBISfmPVKHWAyt8Yht9H lfDePk+YD/O8rZUjictwZ3EZ9MOz5duXs3tDuDQ105Ppsx27qxWvRgK9t1pSAE2cqowb 29Mg== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x189si3294133oia.270.2020.03.18.02.42.11; Wed, 18 Mar 2020 02:42:23 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727540AbgCRJlr (ORCPT + 99 others); Wed, 18 Mar 2020 05:41:47 -0400 Received: from mga09.intel.com ([134.134.136.24]:32288 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726994AbgCRJlr (ORCPT ); Wed, 18 Mar 2020 05:41:47 -0400 IronPort-SDR: mUEOjIbPACRYj1nzmCBLTuxLmJibW9swawMSSt7jE05SUMMReCnJWlXX95nfK5ZfEVR1J5S2B1 oJlA3cuowBfQ== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Mar 2020 02:41:46 -0700 IronPort-SDR: ORroYAM1KHIe5G6nl1CYBrtbrzPa8jYhFyIQ6qqrD+QGHGs+Q8O/LQlNvfrX8z0P0CccpA88s0 Om4sJrb4I/Sw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.70,566,1574150400"; d="scan'208";a="248117273" Received: from crojewsk-mobl1.ger.corp.intel.com (HELO [10.249.155.222]) ([10.249.155.222]) by orsmga006.jf.intel.com with ESMTP; 18 Mar 2020 02:41:43 -0700 Subject: Re: snd_hda_intel/sst-acpi sound breakage on suspend/resume since 5.6-rc1 To: Dominik Brodowski , tiwai@suse.com Cc: 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 References: <20200318063022.GA116342@light.dominikbrodowski.net> From: Cezary Rojewski Message-ID: <66c719b3-a66e-6a9f-fab8-721ba48d7ad8@intel.com> Date: Wed, 18 Mar 2020 10:41:42 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 MIME-Version: 1.0 In-Reply-To: <20200318063022.GA116342@light.dominikbrodowski.net> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. 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. 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? Czarek