APPLIED [OEM-5.10] Re: [SRU][H/G/OEM-5.10][PATCH v2 0/6] power off stress test will hang on the TGL machines

Timo Aaltonen tjaalton at ubuntu.com
Mon Mar 22 15:54:44 UTC 2021


On 19.3.2021 15.47, Tim Gardner wrote:
> 
> 
> On 3/18/21 1:17 PM, Timo Aaltonen wrote:
>> On 18.3.2021 6.39, Hui Wang wrote:
>>> BugLink: https://bugs.launchpad.net/bugs/1919930
>>>
>>> Intel suggested that we do 2 actions to fix this problem, the 1st is
>>> merging 5 kernel patches, this only applies to H and OEM-5.10 since
>>> there is no tgl.c in the groovy kernel yet. the 2nd is change a kernel
>>> config, this change applies to H, G and OEM-5.10.
>>>
>>> https://github.com/thesofproject/linux/issues/2781
>>>
>>> [Impact]
>>> When we run poweroff/on stress test on some lenovo TGL laptop, the
>>> system will randomly hang, and when this issue happens, the dmesg
>>> shows the sof audio driver fails.
>>>
>>> [Fix]
>>> Intel recommend that we backport 5 kernel patches and change a
>>> kernel config.
>>>
>>> [Test]
>>> After applying the changes, and test on TGL/cml/whl machines,
>>> the audio function works as good as before, and the poweroff stress
>>> test didn't hang anymore.
>>>
>>>
>>> [Where problems could occur]
>>> The kernel patches probably could introduce issues when system
>>> powre off or reboot on TGL machines, but this possibility is low
>>> since we have tested these patches on different TGL machines.
>>>
>>> the kernel option change could introduce power consumption
>>> regression, but it only affects power saving and package_cstate values
>>> when any capture stream is active, while no impact if all capture
>>> streams are inactive. that is to say, in theory it will not impact
>>> the power consumption in short idle or long idle. And I checked the
>>> system cound enter package_c10 after this change.
>>>
>>>
>>> Hui Wang (1):
>>>    UBUNTU: [Config] set SND_SOC_SOF_HDA_ALWAYS_ENABLE_DMI_L1 to n
>>>
>>> Keyon Jie (4):
>>>    ASoC: SOF: add .shutdown() callback to snd_sof_dsp_ops
>>>    ASoC: SOF: add snd_sof_device_shutdown() helper for shutdown
>>>    ASoC: SOF: sof-pci-dev: add .shutdown() callback
>>>    ASoC: SOF: Intel: tgl: do thorough remove at .shutdown() callback
>>>
>>> Libin Yang (1):
>>>    UBUNTU: SAUCE: ASoC: SOF: Intel: TGL: set shutdown callback to
>>>      hda_dsp_shutdown
>>>
>>>   debian.master/config/annotations          | 3 ++-
>>>   debian.master/config/config.common.ubuntu | 2 +-
>>>   sound/soc/sof/core.c                      | 8 ++++++++
>>>   sound/soc/sof/intel/hda-dsp.c             | 6 ++++++
>>>   sound/soc/sof/intel/hda.h                 | 1 +
>>>   sound/soc/sof/intel/tgl.c                 | 3 ++-
>>>   sound/soc/sof/ops.h                       | 8 ++++++++
>>>   sound/soc/sof/sof-pci-dev.c               | 6 ++++++
>>>   sound/soc/sof/sof-priv.h                  | 4 +++-
>>>   9 files changed, 37 insertions(+), 4 deletions(-)
>>>
>>
>> applied to oem-5.10, thanks
>>
> 
> The subject encoding is a bit terse. Since linux-oem-5.10 appears to 
> only exist for Focal, I assume that this patch should also be applied to 
> Hirsute and Groovy given the '[H/G/OEM-5.10]' encoding, right ?
> 
> Does the fact that you've applied these patches to oem-5.10 imply an 
> Acked-by from you for the other affected stable series ? If so, I wish 
> you'd say so explicitly.

Right, oem-5.10 implies focal, so this set is meant to apply to H/G as well.

My APPLIED means ACK for the oem kernel, which has a more relaxed policy 
of allowing patches compared to the other SRU kernels.



-- 
t



More information about the kernel-team mailing list