diff mbox series

ALSA: hda - Add two more machines to the power_save_blacklist

Message ID 20190408013535.6423-1-hui.wang@canonical.com (mailing list archive)
State New, archived
Headers show
Series ALSA: hda - Add two more machines to the power_save_blacklist | expand

Commit Message

Hui Wang April 8, 2019, 1:35 a.m. UTC
Recently we set CONFIG_SND_HDA_POWER_SAVE_DEFAULT to 1 when
configuring the kernel, then two machines were reported to have noise
after installing the new kernel. Put them in the blacklist, the
noise disappears.

https://bugs.launchpad.net/bugs/1821663
Cc: <stable@vger.kernel.org>
Signed-off-by: Hui Wang <hui.wang@canonical.com>
---
 sound/pci/hda/hda_intel.c | 3 +++
 1 file changed, 3 insertions(+)

Comments

Jaroslav Kysela April 8, 2019, 7:23 a.m. UTC | #1
Dne 08. 04. 19 v 3:35 Hui Wang napsal(a):
> Recently we set CONFIG_SND_HDA_POWER_SAVE_DEFAULT to 1 when
> configuring the kernel, then two machines were reported to have noise
> after installing the new kernel. Put them in the blacklist, the
> noise disappears.

Please, place the new entries sorted using the PCI IDs...

					Jaroslav Kysela

> 
> https://bugs.launchpad.net/bugs/1821663
> Cc: <stable@vger.kernel.org>
> Signed-off-by: Hui Wang <hui.wang@canonical.com>
> ---
>  sound/pci/hda/hda_intel.c | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/sound/pci/hda/hda_intel.c b/sound/pci/hda/hda_intel.c
> index ece256a3b48f..f62fb8b16c49 100644
> --- a/sound/pci/hda/hda_intel.c
> +++ b/sound/pci/hda/hda_intel.c
> @@ -2150,6 +2150,9 @@ static struct snd_pci_quirk power_save_blacklist[] = {
>  	SND_PCI_QUIRK(0x17aa, 0x367b, "Lenovo IdeaCentre B550", 0),
>  	/* https://bugzilla.redhat.com/show_bug.cgi?id=1572975 */
>  	SND_PCI_QUIRK(0x17aa, 0x36a7, "Lenovo C50 All in one", 0),
> +	/* https://bugs.launchpad.net/bugs/1821663 */
> +	SND_PCI_QUIRK(0x1631, 0xe017, "Packard Bell NEC IMEDIA 5204", 0),
> +	SND_PCI_QUIRK(0x8086, 0x2064, "Intel Laptop 8086:2064", 0),
>  	{}
>  };
>  #endif /* CONFIG_PM */
>
Hui Wang April 8, 2019, 7:29 a.m. UTC | #2
On 2019/4/8 下午3:23, Jaroslav Kysela wrote:
> Dne 08. 04. 19 v 3:35 Hui Wang napsal(a):
>> Recently we set CONFIG_SND_HDA_POWER_SAVE_DEFAULT to 1 when
>> configuring the kernel, then two machines were reported to have noise
>> after installing the new kernel. Put them in the blacklist, the
>> noise disappears.
> Please, place the new entries sorted using the PCI IDs...
>
> 					Jaroslav Kysela

Got it, will fix it in the V2.

Thanks,

Hui.


>> https://bugs.launchpad.net/bugs/1821663
>> Cc: <stable@vger.kernel.org>
>> Signed-off-by: Hui Wang <hui.wang@canonical.com>
>> ---
>>  sound/pci/hda/hda_intel.c | 3 +++
>>  1 file changed, 3 insertions(+)
>>
>> diff --git a/sound/pci/hda/hda_intel.c b/sound/pci/hda/hda_intel.c
>> index ece256a3b48f..f62fb8b16c49 100644
>> --- a/sound/pci/hda/hda_intel.c
>> +++ b/sound/pci/hda/hda_intel.c
>> @@ -2150,6 +2150,9 @@ static struct snd_pci_quirk power_save_blacklist[] = {
>>  	SND_PCI_QUIRK(0x17aa, 0x367b, "Lenovo IdeaCentre B550", 0),
>>  	/* https://bugzilla.redhat.com/show_bug.cgi?id=1572975 */
>>  	SND_PCI_QUIRK(0x17aa, 0x36a7, "Lenovo C50 All in one", 0),
>> +	/* https://bugs.launchpad.net/bugs/1821663 */
>> +	SND_PCI_QUIRK(0x1631, 0xe017, "Packard Bell NEC IMEDIA 5204", 0),
>> +	SND_PCI_QUIRK(0x8086, 0x2064, "Intel Laptop 8086:2064", 0),
>>  	{}
>>  };
>>  #endif /* CONFIG_PM */
>>
>
Sasha Levin April 8, 2019, 7:29 p.m. UTC | #3
Hi,

[This is an automated email]

This commit has been processed because it contains a -stable tag.
The stable tag indicates that it's relevant for the following trees: all

The bot has tested the following trees: v5.0.7, v4.19.34, v4.14.111, v4.9.168, v4.4.178, v3.18.138.

v5.0.7: Build OK!
v4.19.34: Build OK!
v4.14.111: Failed to apply! Possible dependencies:
    721f1e6c1fd1 ("ALSA: hda - add Lenovo IdeaCentre B550 to the power_save_blacklist")
    dd6dd5365404 ("ALSA: hda: Add Intel NUC7i3BNB to the power_save blacklist")

v4.9.168: Failed to apply! Possible dependencies:
    721f1e6c1fd1 ("ALSA: hda - add Lenovo IdeaCentre B550 to the power_save_blacklist")
    dd6dd5365404 ("ALSA: hda: Add Intel NUC7i3BNB to the power_save blacklist")

v4.4.178: Failed to apply! Possible dependencies:
    721f1e6c1fd1 ("ALSA: hda - add Lenovo IdeaCentre B550 to the power_save_blacklist")
    dd6dd5365404 ("ALSA: hda: Add Intel NUC7i3BNB to the power_save blacklist")

v3.18.138: Failed to apply! Possible dependencies:
    1ba8f9d30817 ("ALSA: hda: Add a power_save blacklist")
    59ed1eade1d6 ("ALSA: hda - Move codec suspend/resume to codec driver")
    66797f36fd17 ("ALSA: hda - Pass printf argument directly to request_module()")
    721f1e6c1fd1 ("ALSA: hda - add Lenovo IdeaCentre B550 to the power_save_blacklist")
    95a962c36f6e ("ALSA: hda - More kerneldoc comments")
    a41d122449be ("ALSA: hda - Embed bus into controller object")
    b2a0bafa7582 ("ALSA: hda - Use shutdown driver ops instead of reboot notifier")
    d068ebc25e6e ("ALSA: hda - Move some codes up to hdac_bus struct")
    d8a766a16ed9 ("ALSA: hda - Bind codecs via standard bus")
    dd6dd5365404 ("ALSA: hda: Add Intel NUC7i3BNB to the power_save blacklist")
    dda42bd0c3a4 ("ALSA: hda - Add kerneldoc comments to hda_generic.c")
    e3d280fc6d42 ("ALSA: hda - Make snd_hda_bus_type public")


How should we proceed with this patch?

--
Thanks,
Sasha
Hui Wang April 9, 2019, 3:12 a.m. UTC | #4
In my opinion, let us drop this patch for v3.18.138, and for v4.4, v4.9 
and v4.14, let us cherry-pick those two dependencies first, then apply 
this patch. If there are two many conflicts, it is fine to drop this 
patch since this is not a very critical fix.

Thanks,

Hui.


On 2019/4/9 上午3:29, Sasha Levin wrote:
> Hi,
>
> [This is an automated email]
>
> This commit has been processed because it contains a -stable tag.
> The stable tag indicates that it's relevant for the following trees: all
>
> The bot has tested the following trees: v5.0.7, v4.19.34, v4.14.111, v4.9.168, v4.4.178, v3.18.138.
>
> v5.0.7: Build OK!
> v4.19.34: Build OK!
> v4.14.111: Failed to apply! Possible dependencies:
>      721f1e6c1fd1 ("ALSA: hda - add Lenovo IdeaCentre B550 to the power_save_blacklist")
>      dd6dd5365404 ("ALSA: hda: Add Intel NUC7i3BNB to the power_save blacklist")
>
> v4.9.168: Failed to apply! Possible dependencies:
>      721f1e6c1fd1 ("ALSA: hda - add Lenovo IdeaCentre B550 to the power_save_blacklist")
>      dd6dd5365404 ("ALSA: hda: Add Intel NUC7i3BNB to the power_save blacklist")
>
> v4.4.178: Failed to apply! Possible dependencies:
>      721f1e6c1fd1 ("ALSA: hda - add Lenovo IdeaCentre B550 to the power_save_blacklist")
>      dd6dd5365404 ("ALSA: hda: Add Intel NUC7i3BNB to the power_save blacklist")
>
> v3.18.138: Failed to apply! Possible dependencies:
>      1ba8f9d30817 ("ALSA: hda: Add a power_save blacklist")
>      59ed1eade1d6 ("ALSA: hda - Move codec suspend/resume to codec driver")
>      66797f36fd17 ("ALSA: hda - Pass printf argument directly to request_module()")
>      721f1e6c1fd1 ("ALSA: hda - add Lenovo IdeaCentre B550 to the power_save_blacklist")
>      95a962c36f6e ("ALSA: hda - More kerneldoc comments")
>      a41d122449be ("ALSA: hda - Embed bus into controller object")
>      b2a0bafa7582 ("ALSA: hda - Use shutdown driver ops instead of reboot notifier")
>      d068ebc25e6e ("ALSA: hda - Move some codes up to hdac_bus struct")
>      d8a766a16ed9 ("ALSA: hda - Bind codecs via standard bus")
>      dd6dd5365404 ("ALSA: hda: Add Intel NUC7i3BNB to the power_save blacklist")
>      dda42bd0c3a4 ("ALSA: hda - Add kerneldoc comments to hda_generic.c")
>      e3d280fc6d42 ("ALSA: hda - Make snd_hda_bus_type public")
>
>
> How should we proceed with this patch?
>
> --
> Thanks,
> Sasha
>
diff mbox series

Patch

diff --git a/sound/pci/hda/hda_intel.c b/sound/pci/hda/hda_intel.c
index ece256a3b48f..f62fb8b16c49 100644
--- a/sound/pci/hda/hda_intel.c
+++ b/sound/pci/hda/hda_intel.c
@@ -2150,6 +2150,9 @@  static struct snd_pci_quirk power_save_blacklist[] = {
 	SND_PCI_QUIRK(0x17aa, 0x367b, "Lenovo IdeaCentre B550", 0),
 	/* https://bugzilla.redhat.com/show_bug.cgi?id=1572975 */
 	SND_PCI_QUIRK(0x17aa, 0x36a7, "Lenovo C50 All in one", 0),
+	/* https://bugs.launchpad.net/bugs/1821663 */
+	SND_PCI_QUIRK(0x1631, 0xe017, "Packard Bell NEC IMEDIA 5204", 0),
+	SND_PCI_QUIRK(0x8086, 0x2064, "Intel Laptop 8086:2064", 0),
 	{}
 };
 #endif /* CONFIG_PM */