From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 108685] Raven Ridge: VMC page fault on resume from suspend Date: Wed, 07 Nov 2018 05:22:49 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1803409375==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [IPv6:2610:10:20:722:a800:ff:fe98:4b55]) by gabe.freedesktop.org (Postfix) with ESMTP id 85A586E00C for ; Wed, 7 Nov 2018 05:22:49 +0000 (UTC) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1803409375== Content-Type: multipart/alternative; boundary="15415681690.9f39c.14358" Content-Transfer-Encoding: 7bit --15415681690.9f39c.14358 Date: Wed, 7 Nov 2018 05:22:49 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D108685 Bug ID: 108685 Summary: Raven Ridge: VMC page fault on resume from suspend Product: DRI Version: XOrg git Hardware: Other OS: All Status: NEW Severity: normal Priority: medium Component: DRM/AMDgpu Assignee: dri-devel@lists.freedesktop.org Reporter: samantham@posteo.net Created attachment 142395 --> https://bugs.freedesktop.org/attachment.cgi?id=3D142395&action=3Dedit kernel log with lockup on resume This is using 4.20.0-rc1-2.g0587eb8. I believe this is the issue I have had= in the past where the system does not resume from suspend, or at least the graphics are locked up when I do. I am able to fix these resume from suspend gpu lockups by using a script to disable C6 states on the CPU before suspend and then enabling C6 states on resume (this uses zenstates.py to set MSR through a systemd sleep script). Nov 06 20:26:29 kernel: gmc_v9_0_process_interrupt: 35 callbacks suppressed Nov 06 20:26:29 kernel: amdgpu 0000:05:00.0: [mmhub] VMC page fault (src_id= :0 ring:154 vmid:2 pasid:32771, for process kwin_x11 pid 2792 thread amdgpu_cs= :0 pid 2906) Nov 06 20:26:29 kernel: amdgpu 0000:05:00.0: in page starting at address 0x0000800100aaa000 from 18 Nov 06 20:26:29 kernel: amdgpu 0000:05:00.0: VM_L2_PROTECTION_FAULT_STATUS:0x00200135 Nov 06 20:26:29 kernel: amdgpu 0000:05:00.0: [mmhub] VMC page fault (src_id= :0 ring:154 vmid:2 pasid:32771, for process kwin_x11 pid 2792 thread amdgpu_cs= :0 pid 2906) Nov 06 20:26:29 kernel: amdgpu 0000:05:00.0: in page starting at address 0x0000800100aaa000 from 18 Nov 06 20:26:29 kernel: amdgpu 0000:05:00.0: VM_L2_PROTECTION_FAULT_STATUS:0x00200135 Nov 06 20:26:29 kernel: amdgpu 0000:05:00.0: [mmhub] VMC page fault (src_id= :0 ring:154 vmid:2 pasid:32771, for process kwin_x11 pid 2792 thread amdgpu_cs= :0 pid 2906) Nov 06 20:26:29 kernel: amdgpu 0000:05:00.0: in page starting at address 0x0000800100aaa000 from 18 Nov 06 20:26:29 kernel: amdgpu 0000:05:00.0: VM_L2_PROTECTION_FAULT_STATUS:0x00200135 Nov 06 20:26:29 kernel: amdgpu 0000:05:00.0: [mmhub] VMC page fault (src_id= :0 ring:154 vmid:2 pasid:32771, for process kwin_x11 pid 2792 thread amdgpu_cs= :0 pid 2906) Nov 06 20:26:29 kernel: amdgpu 0000:05:00.0: in page starting at address 0x0000800100aaa000 from 18 Nov 06 20:26:29 kernel: amdgpu 0000:05:00.0: VM_L2_PROTECTION_FAULT_STATUS:0x00200134 Nov 06 20:26:29 kernel: amdgpu 0000:05:00.0: [mmhub] VMC page fault (src_id= :0 ring:154 vmid:2 pasid:32771, for process kwin_x11 pid 2792 thread amdgpu_cs= :0 pid 2906) Nov 06 20:26:29 kernel: amdgpu 0000:05:00.0: in page starting at address 0x0000800100aaa000 from 18 Nov 06 20:26:29 kernel: amdgpu 0000:05:00.0: VM_L2_PROTECTION_FAULT_STATUS:0x00200134 Nov 06 20:26:29 kernel: amdgpu 0000:05:00.0: [mmhub] VMC page fault (src_id= :0 ring:154 vmid:2 pasid:32771, for process kwin_x11 pid 2792 thread amdgpu_cs= :0 pid 2906) Nov 06 20:26:29 kernel: amdgpu 0000:05:00.0: in page starting at address 0x0000800100aaa000 from 18 Nov 06 20:26:29 kernel: amdgpu 0000:05:00.0: VM_L2_PROTECTION_FAULT_STATUS:0x00200134 Nov 06 20:26:29 kernel: amdgpu 0000:05:00.0: [mmhub] VMC page fault (src_id= :0 ring:154 vmid:2 pasid:32771, for process kwin_x11 pid 2792 thread amdgpu_cs= :0 pid 2906) Nov 06 20:26:29 kernel: amdgpu 0000:05:00.0: in page starting at address 0x0000800100aaa000 from 18 Nov 06 20:26:29 kernel: amdgpu 0000:05:00.0: VM_L2_PROTECTION_FAULT_STATUS:0x00200134 Nov 06 20:26:29 kernel: amdgpu 0000:05:00.0: [mmhub] VMC page fault (src_id= :0 ring:154 vmid:2 pasid:32771, for process kwin_x11 pid 2792 thread amdgpu_cs= :0 pid 2906) Nov 06 20:26:29 kernel: amdgpu 0000:05:00.0: in page starting at address 0x0000800100aaa000 from 18 Nov 06 20:26:29 kernel: amdgpu 0000:05:00.0: VM_L2_PROTECTION_FAULT_STATUS:0x00200134 Nov 06 20:26:29 kernel: amdgpu 0000:05:00.0: [mmhub] VMC page fault (src_id= :0 ring:154 vmid:2 pasid:32771, for process kwin_x11 pid 2792 thread amdgpu_cs= :0 pid 2906) Nov 06 20:26:29 kernel: amdgpu 0000:05:00.0: in page starting at address 0x0000800100aaa000 from 18 Nov 06 20:26:29 kernel: amdgpu 0000:05:00.0: VM_L2_PROTECTION_FAULT_STATUS:0x00200134 Nov 06 20:26:29 kernel: amdgpu 0000:05:00.0: [mmhub] VMC page fault (src_id= :0 ring:154 vmid:2 pasid:32771, for process kwin_x11 pid 2792 thread amdgpu_cs= :0 pid 2906) Nov 06 20:26:29 kernel: amdgpu 0000:05:00.0: in page starting at address 0x0000800100aaa000 from 18 Nov 06 20:26:29 kernel: amdgpu 0000:05:00.0: VM_L2_PROTECTION_FAULT_STATUS:0x00200134 Nov 06 20:26:29 kernel: PM: suspend exit --=20 You are receiving this mail because: You are the assignee for the bug.= --15415681690.9f39c.14358 Date: Wed, 7 Nov 2018 05:22:49 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated
Bug ID 108685
Summary Raven Ridge: VMC page fault on resume from suspend
Product DRI
Version XOrg git
Hardware Other
OS All
Status NEW
Severity normal
Priority medium
Component DRM/AMDgpu
Assignee dri-devel@lists.freedesktop.org
Reporter samantham@posteo.net

Created attachm=
ent 142395 [details]
kernel log with lockup on resume

This is using 4.20.0-rc1-2.g0587eb8. I believe this is the issue I have had=
 in
the past where the system does not resume from suspend, or at least the
graphics are locked up when I do.

I am able to fix these resume from suspend gpu lockups by using a script to
disable C6 states on the CPU before suspend and then enabling C6 states on
resume (this uses zenstates.py to set MSR through a systemd sleep script).

Nov 06 20:26:29 kernel: gmc_v9_0_process_interrupt: 35 callbacks suppressed
Nov 06 20:26:29 kernel: amdgpu 0000:05:00.0: [mmhub] VMC page fault (src_id=
:0
ring:154 vmid:2 pasid:32771, for process kwin_x11 pid 2792 thread amdgpu_cs=
:0
pid 2906)
Nov 06 20:26:29 kernel: amdgpu 0000:05:00.0:   in page starting at address
0x0000800100aaa000 from 18
Nov 06 20:26:29 kernel: amdgpu 0000:05:00.0:
VM_L2_PROTECTION_FAULT_STATUS:0x00200135
Nov 06 20:26:29 kernel: amdgpu 0000:05:00.0: [mmhub] VMC page fault (src_id=
:0
ring:154 vmid:2 pasid:32771, for process kwin_x11 pid 2792 thread amdgpu_cs=
:0
pid 2906)
Nov 06 20:26:29 kernel: amdgpu 0000:05:00.0:   in page starting at address
0x0000800100aaa000 from 18
Nov 06 20:26:29 kernel: amdgpu 0000:05:00.0:
VM_L2_PROTECTION_FAULT_STATUS:0x00200135
Nov 06 20:26:29 kernel: amdgpu 0000:05:00.0: [mmhub] VMC page fault (src_id=
:0
ring:154 vmid:2 pasid:32771, for process kwin_x11 pid 2792 thread amdgpu_cs=
:0
pid 2906)
Nov 06 20:26:29 kernel: amdgpu 0000:05:00.0:   in page starting at address
0x0000800100aaa000 from 18
Nov 06 20:26:29 kernel: amdgpu 0000:05:00.0:
VM_L2_PROTECTION_FAULT_STATUS:0x00200135
Nov 06 20:26:29 kernel: amdgpu 0000:05:00.0: [mmhub] VMC page fault (src_id=
:0
ring:154 vmid:2 pasid:32771, for process kwin_x11 pid 2792 thread amdgpu_cs=
:0
pid 2906)
Nov 06 20:26:29 kernel: amdgpu 0000:05:00.0:   in page starting at address
0x0000800100aaa000 from 18
Nov 06 20:26:29 kernel: amdgpu 0000:05:00.0:
VM_L2_PROTECTION_FAULT_STATUS:0x00200134
Nov 06 20:26:29 kernel: amdgpu 0000:05:00.0: [mmhub] VMC page fault (src_id=
:0
ring:154 vmid:2 pasid:32771, for process kwin_x11 pid 2792 thread amdgpu_cs=
:0
pid 2906)
Nov 06 20:26:29 kernel: amdgpu 0000:05:00.0:   in page starting at address
0x0000800100aaa000 from 18
Nov 06 20:26:29 kernel: amdgpu 0000:05:00.0:
VM_L2_PROTECTION_FAULT_STATUS:0x00200134
Nov 06 20:26:29 kernel: amdgpu 0000:05:00.0: [mmhub] VMC page fault (src_id=
:0
ring:154 vmid:2 pasid:32771, for process kwin_x11 pid 2792 thread amdgpu_cs=
:0
pid 2906)
Nov 06 20:26:29 kernel: amdgpu 0000:05:00.0:   in page starting at address
0x0000800100aaa000 from 18
Nov 06 20:26:29 kernel: amdgpu 0000:05:00.0:
VM_L2_PROTECTION_FAULT_STATUS:0x00200134
Nov 06 20:26:29 kernel: amdgpu 0000:05:00.0: [mmhub] VMC page fault (src_id=
:0
ring:154 vmid:2 pasid:32771, for process kwin_x11 pid 2792 thread amdgpu_cs=
:0
pid 2906)
Nov 06 20:26:29 kernel: amdgpu 0000:05:00.0:   in page starting at address
0x0000800100aaa000 from 18
Nov 06 20:26:29 kernel: amdgpu 0000:05:00.0:
VM_L2_PROTECTION_FAULT_STATUS:0x00200134
Nov 06 20:26:29 kernel: amdgpu 0000:05:00.0: [mmhub] VMC page fault (src_id=
:0
ring:154 vmid:2 pasid:32771, for process kwin_x11 pid 2792 thread amdgpu_cs=
:0
pid 2906)
Nov 06 20:26:29 kernel: amdgpu 0000:05:00.0:   in page starting at address
0x0000800100aaa000 from 18
Nov 06 20:26:29 kernel: amdgpu 0000:05:00.0:
VM_L2_PROTECTION_FAULT_STATUS:0x00200134
Nov 06 20:26:29 kernel: amdgpu 0000:05:00.0: [mmhub] VMC page fault (src_id=
:0
ring:154 vmid:2 pasid:32771, for process kwin_x11 pid 2792 thread amdgpu_cs=
:0
pid 2906)
Nov 06 20:26:29 kernel: amdgpu 0000:05:00.0:   in page starting at address
0x0000800100aaa000 from 18
Nov 06 20:26:29 kernel: amdgpu 0000:05:00.0:
VM_L2_PROTECTION_FAULT_STATUS:0x00200134
Nov 06 20:26:29 kernel: amdgpu 0000:05:00.0: [mmhub] VMC page fault (src_id=
:0
ring:154 vmid:2 pasid:32771, for process kwin_x11 pid 2792 thread amdgpu_cs=
:0
pid 2906)
Nov 06 20:26:29 kernel: amdgpu 0000:05:00.0:   in page starting at address
0x0000800100aaa000 from 18
Nov 06 20:26:29 kernel: amdgpu 0000:05:00.0:
VM_L2_PROTECTION_FAULT_STATUS:0x00200134
Nov 06 20:26:29 kernel: PM: suspend exit


You are receiving this mail because:
  • You are the assignee for the bug.
= --15415681690.9f39c.14358-- --===============1803409375== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1803409375==--