Re: Regression report on laptop suspend

2022-01-01 Thread Thorsten Leemhuis
Hi, this is your Linux kernel regression tracker speaking.

On 30.12.21 16:55, Christian Casteyde wrote:
> Le lundi 27 décembre 2021 17:40:28 Rafael J. Wysocki a écrit :
>> CC Daniel, Thomas and dri-devel.
>>
>> On Mon, Dec 27, 2021 at 5:32 PM  wrote:
>>> Hello
>>>
>>> I've noticed my laptop totally freeze when going to hibernation.
>>> The git bisect log is appended below.
>>> Please note however that even the previous good commit was "good" (ie :
>>> laptop managed to suspend and resume), the system was unstable and froze
>>> few minutes later.
>> So the breakage need not be related to the first bad commit.
>>
>> Have you tried to revert that commit?  If so, has it helped?
> Reverting the last bad commit on 5.16-rc7, the problem is still there.
> I'm still convinced from bisection that it is related to graphic.

TWIMC: Christian afaics is plagued by an older issue wrt suspend: "
Touchpad is not working anymore after suspend to RAM since kernel 5.14 -
AMD Ryzen 5 4600H". For details see:
https://bugzilla.kernel.org/show_bug.cgi?id=214667
https://lore.kernel.org/regressions/12b9a10a-626b-cafd-05d6-cf0a116aa...@leemhuis.info/

I wonder if that might interfere somehow and if there is a easy way to
rule that out (I wonder if unloading the hid modules involved is a good
idea or stupid advice -- I fear it's the latter).

Ciao, Thorsten

P.S.: As a Linux kernel regression tracker I'm getting a lot of reports
on my table. I can only look briefly into most of them. Unfortunately
therefore I sometimes will get things wrong or miss something important.
I hope that's not the case here; if you think it is, don't hesitate to
tell me about it in a public reply, that's in everyone's interest.

BTW, I have no personal interest in this issue, which is tracked using
regzbot, my Linux kernel regression tracking bot
(https://linux-regtracking.leemhuis.info/regzbot/). I'm only posting
this mail to get things rolling again and hence don't need to be CC on
all further activities wrt to this regression.



>>> Hardware specs: AMD Ryzen 5 4600H with Vega graphics + Nvidia 1650Ti
>>> (unused) Software: Slackware 14.2 / X.org.
>>>
>>> Seems to be related to drm stuff.
>>> I've issued bugzilla https://bugzilla.kernel.org/show_bug.cgi?id=215427
>>>
>>> Thanks
>>>
>>> git bisect start
>>> # good: [8bb7eca972ad531c9b149c0a51ab43a417385813] Linux 5.15
>>> git bisect good 8bb7eca972ad531c9b149c0a51ab43a417385813
>>> # bad: [a7904a538933c525096ca2ccde1e60d0ee62c08e] Linux 5.16-rc6
>>> git bisect bad a7904a538933c525096ca2ccde1e60d0ee62c08e
>>> # bad: [43e1b12927276cde8052122a24ff796649f09d60] Merge tag 'for_linus' of
>>> git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost git bisect bad
>>> 43e1b12927276cde8052122a24ff796649f09d60
>>> # good: [fc02cb2b37fe2cbf1d3334b9f0f0eab9431766c4] Merge tag
>>> 'net-next-for-5.16' of
>>> git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next git bisect
>>> good fc02cb2b37fe2cbf1d3334b9f0f0eab9431766c4
>>> # bad: [d9bd054177fbd2c4762546aec40fc3071bfe4cc0] Merge tag
>>> 'amd-drm-next-5.16-2021-10-29' of
>>> https://gitlab.freedesktop.org/agd5f/linux into drm-next git bisect bad
>>> d9bd054177fbd2c4762546aec40fc3071bfe4cc0
>>> # skip: [797d72ce8e0f8fa8a808cb189b5411046432cfd3] Merge tag
>>> 'drm-misc-next-2021-10-06' of git://anongit.freedesktop.org/drm/drm-misc
>>> into drm-next git bisect skip 797d72ce8e0f8fa8a808cb189b5411046432cfd3
>>> # skip: [bf72ca73aaa6629568cb9b0761be6efdd02a2591] drm/amd/display: [FW
>>> Promotion] Release 0.0.85 git bisect skip
>>> bf72ca73aaa6629568cb9b0761be6efdd02a2591
>>> # good: [bc41f059a080e487c235b539f1e5cdbf605aba9f] drm/i915/dp: fix DG1
>>> and RKL max source rates git bisect good
>>> bc41f059a080e487c235b539f1e5cdbf605aba9f
>>> # skip: [58144d283712c9e80e528e001af6ac5aeee71af2] drm/amdgpu: unify BO
>>> evicting method in amdgpu_ttm git bisect skip
>>> 58144d283712c9e80e528e001af6ac5aeee71af2
>>> # skip: [a5b51a9f8523a0b88ce7e8e8059f75a43c34c57f] drm/i915/gt: add
>>> asm/cacheflush.h for use of clflush() git bisect skip
>>> a5b51a9f8523a0b88ce7e8e8059f75a43c34c57f
>>> # skip: [40348baedfbc6500e7a090c7da1d55b6c94c334f] drm/amd/display: fix
>>> duplicated inclusion git bisect skip
>>> 40348baedfbc6500e7a090c7da1d55b6c94c334f
>>> # skip: [7547675b84bf452542463db29adb113cadb7dd6d] drm/virtio: implement
>>> context init: track {ring_idx, emit_fence_info} in virtio_gpu_fence git
>>> bisect skip 7547675b84bf452542463db29adb113cadb7dd6d
>>> # good: [f01ee019586220c86f238263a4fbde6e72085e11] drm/amd/display: Add DP
>>> 2.0 SST DC Support git bisect good
>>> f01ee019586220c86f238263a4fbde6e72085e11
>>> # good: [f3ede209d44d71636890a78fa89c5b1c83340320] drm/i915/pci: rename
>>> functions to have i915_pci prefix git bisect good
>>> f3ede209d44d71636890a78fa89c5b1c83340320
>>> # skip: [4fb530e5caf7cb666948db65f245b350ce520436] drm/virtio: implement
>>> context init: support init ioctl git bisect skip
>>> 4fb530e5caf7cb666948db65f245b350ce520436
>>> # good: [c7c4dfb6fe70

Re: Regression report on laptop suspend

2021-12-30 Thread Christian Casteyde
Le lundi 27 décembre 2021 17:40:28 Rafael J. Wysocki a écrit :
> CC Daniel, Thomas and dri-devel.
> 
> On Mon, Dec 27, 2021 at 5:32 PM  wrote:
> > Hello
> > 
> > I've noticed my laptop totally freeze when going to hibernation.
> > The git bisect log is appended below.
> > Please note however that even the previous good commit was "good" (ie :
> > laptop managed to suspend and resume), the system was unstable and froze
> > few minutes later.
> So the breakage need not be related to the first bad commit.
> 
> Have you tried to revert that commit?  If so, has it helped?
Reverting the last bad commit on 5.16-rc7, the problem is still there.
I'm still convinced from bisection that it is related to graphic.

> 
> > Hardware specs: AMD Ryzen 5 4600H with Vega graphics + Nvidia 1650Ti
> > (unused) Software: Slackware 14.2 / X.org.
> > 
> > Seems to be related to drm stuff.
> > I've issued bugzilla https://bugzilla.kernel.org/show_bug.cgi?id=215427
> > 
> > Thanks
> > 
> > git bisect start
> > # good: [8bb7eca972ad531c9b149c0a51ab43a417385813] Linux 5.15
> > git bisect good 8bb7eca972ad531c9b149c0a51ab43a417385813
> > # bad: [a7904a538933c525096ca2ccde1e60d0ee62c08e] Linux 5.16-rc6
> > git bisect bad a7904a538933c525096ca2ccde1e60d0ee62c08e
> > # bad: [43e1b12927276cde8052122a24ff796649f09d60] Merge tag 'for_linus' of
> > git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost git bisect bad
> > 43e1b12927276cde8052122a24ff796649f09d60
> > # good: [fc02cb2b37fe2cbf1d3334b9f0f0eab9431766c4] Merge tag
> > 'net-next-for-5.16' of
> > git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next git bisect
> > good fc02cb2b37fe2cbf1d3334b9f0f0eab9431766c4
> > # bad: [d9bd054177fbd2c4762546aec40fc3071bfe4cc0] Merge tag
> > 'amd-drm-next-5.16-2021-10-29' of
> > https://gitlab.freedesktop.org/agd5f/linux into drm-next git bisect bad
> > d9bd054177fbd2c4762546aec40fc3071bfe4cc0
> > # skip: [797d72ce8e0f8fa8a808cb189b5411046432cfd3] Merge tag
> > 'drm-misc-next-2021-10-06' of git://anongit.freedesktop.org/drm/drm-misc
> > into drm-next git bisect skip 797d72ce8e0f8fa8a808cb189b5411046432cfd3
> > # skip: [bf72ca73aaa6629568cb9b0761be6efdd02a2591] drm/amd/display: [FW
> > Promotion] Release 0.0.85 git bisect skip
> > bf72ca73aaa6629568cb9b0761be6efdd02a2591
> > # good: [bc41f059a080e487c235b539f1e5cdbf605aba9f] drm/i915/dp: fix DG1
> > and RKL max source rates git bisect good
> > bc41f059a080e487c235b539f1e5cdbf605aba9f
> > # skip: [58144d283712c9e80e528e001af6ac5aeee71af2] drm/amdgpu: unify BO
> > evicting method in amdgpu_ttm git bisect skip
> > 58144d283712c9e80e528e001af6ac5aeee71af2
> > # skip: [a5b51a9f8523a0b88ce7e8e8059f75a43c34c57f] drm/i915/gt: add
> > asm/cacheflush.h for use of clflush() git bisect skip
> > a5b51a9f8523a0b88ce7e8e8059f75a43c34c57f
> > # skip: [40348baedfbc6500e7a090c7da1d55b6c94c334f] drm/amd/display: fix
> > duplicated inclusion git bisect skip
> > 40348baedfbc6500e7a090c7da1d55b6c94c334f
> > # skip: [7547675b84bf452542463db29adb113cadb7dd6d] drm/virtio: implement
> > context init: track {ring_idx, emit_fence_info} in virtio_gpu_fence git
> > bisect skip 7547675b84bf452542463db29adb113cadb7dd6d
> > # good: [f01ee019586220c86f238263a4fbde6e72085e11] drm/amd/display: Add DP
> > 2.0 SST DC Support git bisect good
> > f01ee019586220c86f238263a4fbde6e72085e11
> > # good: [f3ede209d44d71636890a78fa89c5b1c83340320] drm/i915/pci: rename
> > functions to have i915_pci prefix git bisect good
> > f3ede209d44d71636890a78fa89c5b1c83340320
> > # skip: [4fb530e5caf7cb666948db65f245b350ce520436] drm/virtio: implement
> > context init: support init ioctl git bisect skip
> > 4fb530e5caf7cb666948db65f245b350ce520436
> > # good: [c7c4dfb6fe704ae3cce1a8f438db75b1a0a9061f] drm/i915/display: Some
> > code improvements and code style fixes for DRRS git bisect good
> > c7c4dfb6fe704ae3cce1a8f438db75b1a0a9061f
> > # skip: [7a28bee067d524c1b8770aa72a82263eb9fc53f0] drm/amd/display:
> > Disable dpp root clock when not being used git bisect skip
> > 7a28bee067d524c1b8770aa72a82263eb9fc53f0
> > # good: [5b116c17e6babc6de2e26714bc66228c74038b71] drm/i915/guc: Drop pin
> > count check trick between sched_disable and re-pin git bisect good
> > 5b116c17e6babc6de2e26714bc66228c74038b71
> > # skip: [9878844094703fbae1c3b301c9bb71253a30efe7] drm/amdgpu: drive all
> > vega asics from the IP discovery table git bisect skip
> > 9878844094703fbae1c3b301c9bb71253a30efe7
> > # skip: [7194dc998dfffca096c30b3cd39625158608992d] drm/i915/tc: Fix TypeC
> > port init/resume time sanitization git bisect skip
> > 7194dc998dfffca096c30b3cd39625158608992d
> > # skip: [5c3720be7d46581181782f5cf9585b532feed947] drm/amdgpu: get VCN and
> > SDMA instances from IP discovery table git bisect skip
> > 5c3720be7d46581181782f5cf9585b532feed947
> > # skip: [a53f2c035e9832d20775d2c66c71495f2dc27699] drm/panfrost: Calculate
> > lock region size correctly git bisect skip
> > a53f2c035e9832d20775d2c66c71495f2dc27699
> > # skip: [d04287d062a4198ec0bf0112db03618f65

Re: Regression report on laptop suspend

2021-12-27 Thread Rafael J. Wysocki
CC Daniel, Thomas and dri-devel.

On Mon, Dec 27, 2021 at 5:32 PM  wrote:
>
> Hello
>
> I've noticed my laptop totally freeze when going to hibernation.
> The git bisect log is appended below.
> Please note however that even the previous good commit was "good" (ie : 
> laptop managed to suspend and resume), the system was unstable and froze few 
> minutes later.

So the breakage need not be related to the first bad commit.

Have you tried to revert that commit?  If so, has it helped?

> Hardware specs: AMD Ryzen 5 4600H with Vega graphics + Nvidia 1650Ti (unused)
> Software: Slackware 14.2 / X.org.
>
> Seems to be related to drm stuff.
> I've issued bugzilla https://bugzilla.kernel.org/show_bug.cgi?id=215427
>
> Thanks
>
> git bisect start
> # good: [8bb7eca972ad531c9b149c0a51ab43a417385813] Linux 5.15
> git bisect good 8bb7eca972ad531c9b149c0a51ab43a417385813
> # bad: [a7904a538933c525096ca2ccde1e60d0ee62c08e] Linux 5.16-rc6
> git bisect bad a7904a538933c525096ca2ccde1e60d0ee62c08e
> # bad: [43e1b12927276cde8052122a24ff796649f09d60] Merge tag 'for_linus' of 
> git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost
> git bisect bad 43e1b12927276cde8052122a24ff796649f09d60
> # good: [fc02cb2b37fe2cbf1d3334b9f0f0eab9431766c4] Merge tag 
> 'net-next-for-5.16' of 
> git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next
> git bisect good fc02cb2b37fe2cbf1d3334b9f0f0eab9431766c4
> # bad: [d9bd054177fbd2c4762546aec40fc3071bfe4cc0] Merge tag 
> 'amd-drm-next-5.16-2021-10-29' of https://gitlab.freedesktop.org/agd5f/linux 
> into drm-next
> git bisect bad d9bd054177fbd2c4762546aec40fc3071bfe4cc0
> # skip: [797d72ce8e0f8fa8a808cb189b5411046432cfd3] Merge tag 
> 'drm-misc-next-2021-10-06' of git://anongit.freedesktop.org/drm/drm-misc into 
> drm-next
> git bisect skip 797d72ce8e0f8fa8a808cb189b5411046432cfd3
> # skip: [bf72ca73aaa6629568cb9b0761be6efdd02a2591] drm/amd/display: [FW 
> Promotion] Release 0.0.85
> git bisect skip bf72ca73aaa6629568cb9b0761be6efdd02a2591
> # good: [bc41f059a080e487c235b539f1e5cdbf605aba9f] drm/i915/dp: fix DG1 and 
> RKL max source rates
> git bisect good bc41f059a080e487c235b539f1e5cdbf605aba9f
> # skip: [58144d283712c9e80e528e001af6ac5aeee71af2] drm/amdgpu: unify BO 
> evicting method in amdgpu_ttm
> git bisect skip 58144d283712c9e80e528e001af6ac5aeee71af2
> # skip: [a5b51a9f8523a0b88ce7e8e8059f75a43c34c57f] drm/i915/gt: add 
> asm/cacheflush.h for use of clflush()
> git bisect skip a5b51a9f8523a0b88ce7e8e8059f75a43c34c57f
> # skip: [40348baedfbc6500e7a090c7da1d55b6c94c334f] drm/amd/display: fix 
> duplicated inclusion
> git bisect skip 40348baedfbc6500e7a090c7da1d55b6c94c334f
> # skip: [7547675b84bf452542463db29adb113cadb7dd6d] drm/virtio: implement 
> context init: track {ring_idx, emit_fence_info} in virtio_gpu_fence
> git bisect skip 7547675b84bf452542463db29adb113cadb7dd6d
> # good: [f01ee019586220c86f238263a4fbde6e72085e11] drm/amd/display: Add DP 
> 2.0 SST DC Support
> git bisect good f01ee019586220c86f238263a4fbde6e72085e11
> # good: [f3ede209d44d71636890a78fa89c5b1c83340320] drm/i915/pci: rename 
> functions to have i915_pci prefix
> git bisect good f3ede209d44d71636890a78fa89c5b1c83340320
> # skip: [4fb530e5caf7cb666948db65f245b350ce520436] drm/virtio: implement 
> context init: support init ioctl
> git bisect skip 4fb530e5caf7cb666948db65f245b350ce520436
> # good: [c7c4dfb6fe704ae3cce1a8f438db75b1a0a9061f] drm/i915/display: Some 
> code improvements and code style fixes for DRRS
> git bisect good c7c4dfb6fe704ae3cce1a8f438db75b1a0a9061f
> # skip: [7a28bee067d524c1b8770aa72a82263eb9fc53f0] drm/amd/display: Disable 
> dpp root clock when not being used
> git bisect skip 7a28bee067d524c1b8770aa72a82263eb9fc53f0
> # good: [5b116c17e6babc6de2e26714bc66228c74038b71] drm/i915/guc: Drop pin 
> count check trick between sched_disable and re-pin
> git bisect good 5b116c17e6babc6de2e26714bc66228c74038b71
> # skip: [9878844094703fbae1c3b301c9bb71253a30efe7] drm/amdgpu: drive all vega 
> asics from the IP discovery table
> git bisect skip 9878844094703fbae1c3b301c9bb71253a30efe7
> # skip: [7194dc998dfffca096c30b3cd39625158608992d] drm/i915/tc: Fix TypeC 
> port init/resume time sanitization
> git bisect skip 7194dc998dfffca096c30b3cd39625158608992d
> # skip: [5c3720be7d46581181782f5cf9585b532feed947] drm/amdgpu: get VCN and 
> SDMA instances from IP discovery table
> git bisect skip 5c3720be7d46581181782f5cf9585b532feed947
> # skip: [a53f2c035e9832d20775d2c66c71495f2dc27699] drm/panfrost: Calculate 
> lock region size correctly
> git bisect skip a53f2c035e9832d20775d2c66c71495f2dc27699
> # skip: [d04287d062a4198ec0bf0112db03618f65d7428a] drm/amdgpu: During s0ix 
> don't wait to signal GFXOFF
> git bisect skip d04287d062a4198ec0bf0112db03618f65d7428a
> # skip: [9ced12182d0d8401d821e9602e56e276459900fc] drm/i915: Catch yet 
> another unconditioal clflush
> git bisect skip 9ced12182d0d8401d821e9602e56e276459900fc
> # skip: [dac3c405b9aedee301d0634b4e275b81f0d74363] drm/amd/display: