Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp2504168pxb; Tue, 9 Mar 2021 04:21:58 -0800 (PST) X-Google-Smtp-Source: ABdhPJyx9rQ6aPuS6E8UbRVzird3pICrMmYLzrGfYDtEmMTieagrB99KtCqDHJSlOqfWZNp496rB X-Received: by 2002:aa7:d3d8:: with SMTP id o24mr3738304edr.165.1615292517876; Tue, 09 Mar 2021 04:21:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615292517; cv=none; d=google.com; s=arc-20160816; b=ZUS5fDGbUsDaMvMHXe9IgtzL2IpyElIonljnBtqsw7DwOBda69C2LHAO6dryclskg4 rQGICaQZdqhqFvwbN8Zilke4vsK3r2pLHpiJegi37zbasbqGW562GlsoNHs9cWEbKdZ5 W81xa9Y3zQgKeJBXzIIVjZdG+uWD/MyZ3BSJ+vZeX9ZyYimN/b2lzzywZ+/p6QgR470i jKDxf5F5ZEcE4+PSOVLh2ydBGjCg8Wo3UZdAD7H2zFHfYn2n42O3HhQTggEu7fuzWtY3 s5hB4c7QvoQ6+Z1jEkJT1+Bz7b4mqm1BKokszkpC83s5CMi34UqYCIX9UhpiBDzZSUo1 rrUA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:mime-version; bh=kyuouq159+7INzRG8WSfkepPVZJgFcOh7phpyb9bAxU=; b=G5bA91ictiNCXIG2iMnU4VD4TxSEKbikP8DRdfOFV/X8RSUpg+iUKsBYZNdG9ecbKx 8QAuJAls47BUS9CGiznW7M48+WE4cEzS6GEz9NGWcBzzo32xiIK39tPxlaa3tU2wizkM BEa9l2Or2RTvNPJ3qWEKjHOkR9OqeVHDC4iYM6FgoVbNgeoarXL2PynAFe3RHHSyJKFN W88Xf8JBtFSXWdmcsIkPkJorxR4OL8XoEzm4JYyopTRQRW8kHJLkZFMa3Hl2PBYV/xdQ xZjPDMcMuRgDZ7gpYOxxaAo5S5iHCVuSwZ8wQgp+EpuHDB3e5kFvmSbWgNqIKiNIiUjL UbSw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=canonical.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q17si3309743ejj.672.2021.03.09.04.21.34; Tue, 09 Mar 2021 04:21:57 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=canonical.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230394AbhCIMU1 (ORCPT + 99 others); Tue, 9 Mar 2021 07:20:27 -0500 Received: from youngberry.canonical.com ([91.189.89.112]:38079 "EHLO youngberry.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230150AbhCIMT4 (ORCPT ); Tue, 9 Mar 2021 07:19:56 -0500 Received: from mail-oo1-f69.google.com ([209.85.161.69]) by youngberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1lJbL9-0001C9-BB for linux-kernel@vger.kernel.org; Tue, 09 Mar 2021 12:19:55 +0000 Received: by mail-oo1-f69.google.com with SMTP id p5so6838001oot.21 for ; Tue, 09 Mar 2021 04:19:55 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=kyuouq159+7INzRG8WSfkepPVZJgFcOh7phpyb9bAxU=; b=Mbe6xb7Ln1o0tY/pyZxok4Bv7xYbKRItyc1hSQps20t6JIkhzkm5Jry7EgVlrzXiZn fJxJql53K0/rMrGXXBn+N1XQMWNiQ5jLUhFMqaW6Is4LSOga5kx2xqbNEB5K7dtiMVaU WhjW4570ZTSEP/uouSA8ySG67gEBcb/TYDx8K9B006xcOMsV+6WrLFoabhPcNTPoXZbo BeA06eJKILVcJydYU8CJAw6cX1/JUO4x7dSLpApIJtwuh3JVXAVUSMIJgSlOmJLz1l3o 3SkPBRJuCEaMCCfcUUWIQ/KqiyHOLZMteZg3+boEp1FXYnU499JbqKf83E+A0QgvMa2J hHtA== X-Gm-Message-State: AOAM532R046IcjWyxUGm2cJUxyuEHZGvq5Be31u7fo9zgdFu/zOgWFj7 iXNb8qRd2ip21jvpihJVExte1XTjGQbKKGRMLtvI4T/lDR3eWs5VU0VDTjIvTuBCCrxaQz46dan xyaO3Nt2C7FqTcP/LB9r7fqnDtwxl5aj+QZ4TQw2cGvCkC7EZYFWqXCpmmA== X-Received: by 2002:aca:5ac3:: with SMTP id o186mr1337194oib.169.1615292394262; Tue, 09 Mar 2021 04:19:54 -0800 (PST) X-Received: by 2002:aca:5ac3:: with SMTP id o186mr1337173oib.169.1615292394015; Tue, 09 Mar 2021 04:19:54 -0800 (PST) MIME-Version: 1.0 From: Chris Chiu Date: Tue, 9 Mar 2021 20:19:43 +0800 Message-ID: Subject: No sound cards detected on Kabylake laptops after upgrade to kernel 5.8 To: pierre-louis.bossart@linux.intel.com, cezary.rojewski@intel.com, liam.r.girdwood@linux.intel.com, yang.jie@linux.intel.com, broonie@kernel.org, Takashi Iwai Cc: alsa-devel@alsa-project.org, Linux Kernel Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Guys, We have received reports that on some Kabylake laptops (Acer Swift SF314-54/55 and Lenovo Yoga C930...etc), all sound cards no longer be detected after upgrade to kernel later than 5.8. These laptops have one thing in common, all of them have Realtek audio codec and connect the internal microphone to DMIC of the Intel SST controller either [8086:9d71] or [8086:9dc8]. Please refer to https://bugzilla.kernel.org/show_bug.cgi?id=201251#c246 and https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1915117. From the dmesg from kernel 5.8, the sound related parts only show as follows but the expected snd_hda_codec_realtek and the snd_soc_skl are not even loaded then. [ 13.357495] snd_hda_intel 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040100 [ 13.357500] snd_hda_intel 0000:00:1f.3: Digital mics found on Skylake+ platform, using SST driver Building the kernel with the CONFIG_SND_SOC_INTEL_KBL removed can load the snd_hda_codec_realtek successfully and the pulseaudio and alsa-utils can detect the sound cards again. The result of bisecting between kernel 5.4 and 5.8 also get similar result, reverting the commit "ALSA: hda: Allow SST driver on SKL and KBL platforms with DMIC" can fix the issue. I tried to generate the required firmware for snd_soc_skl but it did not help. Please refer to what I did in https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1915117/comments/14 and https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1915117/comments/18. Since the skl_hda_dsp_generic-tplg.bin and dfw_sst.bin are not in the linux-firmware. The Intel SST support for Skylake family is not yet complete. Can we simply revert the "ALSA: hda: Allow SST driver on SKL and KBL platforms with DMIC" in the current stage and wait for SOF support for Skylake family? Or please suggest a better solution for this. Thanks Chris