All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thorsten Leemhuis <regressions@leemhuis.info>
To: Richard Fitzgerald <rf@opensource.cirrus.com>
Cc: Sergey <zagagyka@basealt.ru>,
	Alsa-devel <alsa-devel@alsa-project.org>,
	LKML <linux-kernel@vger.kernel.org>,
	"regressions@lists.linux.dev" <regressions@lists.linux.dev>,
	Takashi Iwai <tiwai@suse.com>, Jaroslav Kysela <perex@perex.cz>,
	Mark Brown <broonie@kernel.org>
Subject: [regression, 5.10.y] Bug 216861 - sound disappearance on Acer Swift 3 SF314-59-78UR after update to 5.10.157
Date: Fri, 30 Dec 2022 09:08:57 +0100	[thread overview]
Message-ID: <bebd692d-7d21-6648-6b7a-c91063bb51c2@leemhuis.info> (raw)

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 <rf@opensource.cirrus.com>
> 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

Ciao, Thorsten (wearing his 'the Linux kernel's regression tracker' hat)

P.S.: As the Linux kernel's regression tracker I deal with a lot of
reports and sometimes miss something important when writing mails like
this. If that's the case here, don't hesitate to tell me in a public
reply, it's in everyone's interest to set the public record straight.

WARNING: multiple messages have this Message-ID (diff)
From: Thorsten Leemhuis <regressions@leemhuis.info>
To: Richard Fitzgerald <rf@opensource.cirrus.com>
Cc: Alsa-devel <alsa-devel@alsa-project.org>,
	"regressions@lists.linux.dev" <regressions@lists.linux.dev>,
	Takashi Iwai <tiwai@suse.com>,
	LKML <linux-kernel@vger.kernel.org>,
	Mark Brown <broonie@kernel.org>, Sergey <zagagyka@basealt.ru>
Subject: [regression, 5.10.y] Bug 216861 - sound disappearance on Acer Swift 3 SF314-59-78UR after update to 5.10.157
Date: Fri, 30 Dec 2022 09:08:57 +0100	[thread overview]
Message-ID: <bebd692d-7d21-6648-6b7a-c91063bb51c2@leemhuis.info> (raw)

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 <rf@opensource.cirrus.com>
> 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

Ciao, Thorsten (wearing his 'the Linux kernel's regression tracker' hat)

P.S.: As the Linux kernel's regression tracker I deal with a lot of
reports and sometimes miss something important when writing mails like
this. If that's the case here, don't hesitate to tell me in a public
reply, it's in everyone's interest to set the public record straight.

             reply	other threads:[~2022-12-30  8:09 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-30  8:08 Thorsten Leemhuis [this message]
2022-12-30  8:08 ` [regression, 5.10.y] Bug 216861 - sound disappearance on Acer Swift 3 SF314-59-78UR after update to 5.10.157 Thorsten Leemhuis
2023-01-02 10:43 ` Salvatore Bonaccorso
2023-01-02 10:43   ` Salvatore Bonaccorso
2023-01-02 12:42   ` Takashi Iwai
2023-01-02 12:42     ` Takashi Iwai
2023-01-03 12:05     ` PÁLFFY Dániel
2023-01-03 13:04       ` PÁLFFY Dániel
2023-01-03 13:04         ` PÁLFFY Dániel
2023-01-03 14:48         ` Takashi Iwai
2023-01-03 14:48           ` Takashi Iwai
2023-01-03 16:26           ` Takashi Iwai
2023-01-03 16:26             ` Takashi Iwai
2023-01-04 10:11             ` Request for cherry-picks for sound (Re: [regression, 5.10.y] Bug 216861) Takashi Iwai
2023-01-04 10:11               ` Takashi Iwai
2023-01-04 10:35               ` Linux kernel regression tracking (#info)
2023-01-04 10:35                 ` Linux kernel regression tracking (#info)
2023-01-04 11:31               ` Greg Kroah-Hartman
2023-01-04 11:31                 ` Greg Kroah-Hartman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bebd692d-7d21-6648-6b7a-c91063bb51c2@leemhuis.info \
    --to=regressions@leemhuis.info \
    --cc=alsa-devel@alsa-project.org \
    --cc=broonie@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=perex@perex.cz \
    --cc=regressions@lists.linux.dev \
    --cc=rf@opensource.cirrus.com \
    --cc=tiwai@suse.com \
    --cc=zagagyka@basealt.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.