Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp10589361rwl; Mon, 2 Jan 2023 05:14:39 -0800 (PST) X-Google-Smtp-Source: AMrXdXs3ezVjpvLdmiBlqzaxu0ypltug5kG5kptUrBFf4k8xUlACvBc1K99Lt2ik4/rq6QbtQZmN X-Received: by 2002:a05:6402:1055:b0:467:c3cb:49aa with SMTP id e21-20020a056402105500b00467c3cb49aamr34838302edu.4.1672665279134; Mon, 02 Jan 2023 05:14:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672665279; cv=none; d=google.com; s=arc-20160816; b=vecqS2dZUwW7uoRoHV5ld+3v5EzDz40aaQBIuYttQiwuxGfWVUMUs5ChJXfMYl6p6t FPL3+Kz6zo7U9nSgsut5lPh7P8eYPOBmBU6009vRpEKr+D65Maxhf9O37LqyVrC3sNnA lQfnAETYh1NDoOghOwZ0csTyjZwOHsFDOtc3oMp2bX29ZYe1HJSwuVdHD64cFX/EEgii oFh0m1UpwuCsq98R4Cu//lHmfp2hK35RGZQX+8d1pRXZQuTStO699GyM3T+p3aE/9M9d vwHBGygPEyLRC7qAJzLSeZNPJ6GjEM7q/m+tnk9ELh7+gjb8wFk/K+JejbRd8WRhMlWT g9Qw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:subject:cc:to:from:message-id :date:dkim-signature:dkim-signature; bh=1sg7BmNN8+RDm1eojWN+wOBEZpkzt9WjUrPrxXXU8Oo=; b=uHadg9qavMCnnNREEsOkAdGYPQ4DvyExBkalWsIiLxC/Ywh+7/fSkdVVgMoMhndwXt 6QVQSA6T4PInqRuFX8GIm1P9SPTNoT3gL1S04AWe5OW/HiI5+XFNnzyYswe+xCL9IPcu GKF3PNSpxjnfQeg8NfefB+V8m+D6ltzW+jHkM2UX9A+D2s1g4bU84nW3o5hRk66K/7Gg 2VYGP5DsfTNFc0Lr4KU/KQjir0wDW3GyTwqs736DReZULCSo6HnTAKlX+y2tFlg7vKdT sYYBzpllO9Zg3PfQHHDwhRr98v28WH8dL3ntFVtgUwSsf3hfASLbINP+XftIZfp5p2LP /hZw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=Z1yYj+u7; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b=zjGIYVhE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h7-20020a05640250c700b004876785ef7esi16847524edb.489.2023.01.02.05.14.24; Mon, 02 Jan 2023 05:14:39 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=Z1yYj+u7; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b=zjGIYVhE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232050AbjABMmy (ORCPT + 61 others); Mon, 2 Jan 2023 07:42:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50560 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229494AbjABMmw (ORCPT ); Mon, 2 Jan 2023 07:42:52 -0500 Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D7EADC49 for ; Mon, 2 Jan 2023 04:42:51 -0800 (PST) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id 4524820EE5; Mon, 2 Jan 2023 12:42:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1672663370; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=1sg7BmNN8+RDm1eojWN+wOBEZpkzt9WjUrPrxXXU8Oo=; b=Z1yYj+u7YbKVfLCniHq0g9pR1Utx3LIE2GOuUdANXf65nOnGb4Rp/dFZ2GHHU/b1+7pkRa xzG7Vpw+Td3omGiMB8eoW4wcbjHlbUUj42QDQaS8ZdRcyGUWglFNYKOZjU1zhclMX6GUqx Ge58qGAP+J3Hc/3l5aCgZ7c0+On+siA= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1672663370; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=1sg7BmNN8+RDm1eojWN+wOBEZpkzt9WjUrPrxXXU8Oo=; b=zjGIYVhEPt+kSK4f6vsoobHVlYjiVW06dOZ5AehbDtWDjK/2X4vIXpbbU5zXsVxsF8YUW+ l1f0BBTSi+L+2yBg== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 16C0213427; Mon, 2 Jan 2023 12:42:50 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id lVXpBErRsmP2FwAAMHmgww (envelope-from ); Mon, 02 Jan 2023 12:42:50 +0000 Date: Mon, 02 Jan 2023 13:42:49 +0100 Message-ID: <87wn65umye.wl-tiwai@suse.de> From: Takashi Iwai To: Salvatore Bonaccorso Cc: Thorsten Leemhuis , Alsa-devel , "regressions@lists.linux.dev" , LKML , Takashi Iwai , Richard Fitzgerald , Mark Brown , =?ISO-8859-1?Q?P=C1LFFY_D=E1niel?= , Sergey Subject: Re: [regression, 5.10.y] =?ISO-8859-1?Q?Bug=A0216861?= - sound disappearance on Acer Swift 3 SF314-59-78UR after update to 5.10.157 In-Reply-To: References: User-Agent: Wanderlust/2.15.9 (Almost Unreal) Emacs/27.2 Mule/6.0 MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 02 Jan 2023 11:43:36 +0100, Salvatore Bonaccorso wrote: > > Hi, > > [Adding as well Richard Fitzgerald and P?LFFY D?niel to recipients] > > On Fri, Dec 30, 2022 at 09:08:57AM +0100, Thorsten Leemhuis wrote: > > Hi, this is your Linux kernel regression tracker speaking. > > > > I noticed a regression report in bugzilla.kernel.org. As many (most?) > > kernel developer don't keep an eye on it, I decided to forward it by > > mail. Quoting from https://bugzilla.kernel.org/show_bug.cgi?id=216861 : > > > > > Sergey 2022-12-29 10:07:51 UTC > > > > > > Created attachment 303497 [details] > > > pulseaudio.log > > > > > > Sudden sound disappearance was reported for some laptops, e.g. > > > > > > Acer Swift 3 SF314-59-78UR 11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz > > > > > > # lspci > > > 0000:00:1f.3 Multimedia audio controller: Intel Corporation Tiger Lake-LP Smart Sound Technology Audio Controller (rev 20) > > > Subsystem: Acer Incorporated [ALI] Device 148c > > > Flags: bus master, fast devsel, latency 32, IRQ 197, IOMMU group 12 > > > Memory at 601f270000 (64-bit, non-prefetchable) [size=16K] > > > Memory at 601f000000 (64-bit, non-prefetchable) [size=1M] > > > Capabilities: [50] Power Management version 3 > > > Capabilities: [80] Vendor Specific Information: Len=14 > > > Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit+ > > > Kernel driver in use: sof-audio-pci > > > > > > I am attaching the pulseaudio and dmesg logs > > > > > > This bug started reproducing after updating the kernel from 5.10.156 to 5.10.157 > > > > > > Bisection revealed the commit being reverted: > > > > > > c34db0d6b88b1da95e7ab3353e674f4f574cccee is the first bad commit > > > commit c34db0d6b88b1da95e7ab3353e674f4f574cccee > > > Author: Richard Fitzgerald > > > Date: Fri Nov 4 13:22:13 2022 +0000 > > > > > > ASoC: soc-pcm: Don't zero TDM masks in __soc_pcm_open() > > > > > > [ Upstream commit 39bd801d6908900e9ab0cdc2655150f95ddd4f1a ] > > > > > > The DAI tx_mask and rx_mask are set by snd_soc_dai_set_tdm_slot() > > > and used by later code that depends on the TDM settings. So > > > __soc_pcm_open() should not be obliterating those mask values. > > > > > > [...] > > > Original bug report: https://bugzilla.altlinux.org/44690 > > > > See the ticket for more details. > > > > BTW, let me use this mail to also add the report to the list of tracked > > regressions to ensure it's doesn't fall through the cracks: > > > > #regzbot introduced: c34db0d6b88b1d > > https://bugzilla.kernel.org/show_bug.cgi?id=216861 > > #regzbot title: sound: asoc: sudden sound disappearance > > #regzbot ignore-activity > > FWIW, we had as well reports in Debian after having updated the kernel > from 5.10.149 based one to 5.10.158 based one in the last point > releases, they are at least: > > https://bugs.debian.org/1027483 > https://bugs.debian.org/1027430 I got another report while the commit was backported to 5.14-based openSUSE Leap kernel, and I ended up with dropping it. So, IMO, it's safer to drop this patch from the older stable trees. As far as I see, 5.15.y and 5.10.y got this. Unless anyone gives a better fix, I'm going to submit a revert patch for those trees. thanks, Takashi