From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 107277] Raven: pci_pm_suspend takes over 1 second Date: Wed, 18 Jul 2018 14:47:47 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0694760631==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id B668F6EB78 for ; Wed, 18 Jul 2018 14:47:47 +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 --===============0694760631== Content-Type: multipart/alternative; boundary="15319252671.6C0c1FcE.8526" Content-Transfer-Encoding: 7bit --15319252671.6C0c1FcE.8526 Date: Wed, 18 Jul 2018 14:47:47 +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=3D107277 Bug ID: 107277 Summary: Raven: pci_pm_suspend takes over 1 second Product: DRI Version: DRI git Hardware: Other OS: All Status: NEW Severity: normal Priority: medium Component: DRM/AMDgpu Assignee: dri-devel@lists.freedesktop.org Reporter: pmenzel+bugs.freedesktop@molgen.mpg.de Created attachment 140698 --> https://bugs.freedesktop.org/attachment.cgi?id=3D140698&action=3Dedit Linux 4.18-rc5+ messages Profiling the suspend and resume time [1] on a MSI B350M MORTAR (MS-7A37) w= ith AMD Ryzen 3 2200G with Radeon Vega Graphics with Linux 4.18-rc5+, `pci_pm_suspend()` takes over one second, which is too long. [ 74.694600] amdgpu 0000:38:00.0: calling pci_pm_suspend+0x0/0x120 @ 1664, parent: 0000:00:08.1 [ 74.700292] sd 8:0:0:0: scsi_bus_suspend+0x0/0x20 [scsi_mod] returned 0 after 25514 usecs [ 74.700326] scsi target8:0:0: calling scsi_bus_suspend+0x0/0x20 [scsi_mo= d] @ 175, parent: host8 [ 74.700346] scsi target8:0:0: scsi_bus_suspend+0x0/0x20 [scsi_mod] retur= ned 0 after 6 usecs [ 74.700382] scsi host8: calling scsi_bus_suspend+0x0/0x20 [scsi_mod] @ 1= 81, parent: ata9 [ 74.700404] scsi host8: scsi_bus_suspend+0x0/0x20 [scsi_mod] returned 0 after 6 usecs [ 74.700439] ata9: calling ata_port_pm_suspend+0x0/0x40 [libata] @ 173, parent: 0000:39:00.0 [ 74.700522] ata9: ata_port_pm_suspend+0x0/0x40 [libata] returned 0 afte= r 67 usecs [ 74.700544] ahci 0000:39:00.0: calling pci_pm_suspend+0x0/0x120 @ 7, par= ent: 0000:00:08.2 [ 74.700565] ahci 0000:39:00.0: pci_pm_suspend+0x0/0x120 returned 0 after= 14 usecs [ 74.700588] pcieport 0000:00:08.2: calling pci_pm_suspend+0x0/0x120 @ 16= 66, parent: pci0000:00 [ 74.700620] pcieport 0000:00:08.2: pci_pm_suspend+0x0/0x120 returned 0 a= fter 25 usecs [ 74.712063] usb 1-10: usb_dev_suspend+0x0/0x10 [usbcore] returned 0 after 36874 usecs [ 74.712092] usb usb1: calling usb_dev_suspend+0x0/0x10 [usbcore] @ 174, parent: 0000:15:00.0 [ 74.712156] usb usb1: usb_dev_suspend+0x0/0x10 [usbcore] returned 0 afte= r 51 usecs [ 74.712173] xhci_hcd 0000:15:00.0: calling pci_pm_suspend+0x0/0x120 @ 16= 69, parent: 0000:00:01.2 [ 74.714213] xhci_hcd 0000:15:00.0: pci_pm_suspend+0x0/0x120 returned 0 a= fter 1985 usecs [ 74.714233] pcieport 0000:00:01.2: calling pci_pm_suspend+0x0/0x120 @ 16= 71, parent: pci0000:00 [ 74.714248] pcieport 0000:00:01.2: pci_pm_suspend+0x0/0x120 returned 0 a= fter 11 usecs [ 75.670011] amdgpu 0000:38:00.0: 000000007bb4b3e1 unpin not necessary [ 75.736060] amdgpu 0000:38:00.0: pci_pm_suspend+0x0/0x120 returned 0 aft= er 1017036 usecs [1]: https://github.com/01org/pm-graph/ --=20 You are receiving this mail because: You are the assignee for the bug.= --15319252671.6C0c1FcE.8526 Date: Wed, 18 Jul 2018 14:47:47 +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 107277
Summary Raven: pci_pm_suspend takes over 1 second
Product DRI
Version DRI git
Hardware Other
OS All
Status NEW
Severity normal
Priority medium
Component DRM/AMDgpu
Assignee dri-devel@lists.freedesktop.org
Reporter pmenzel+bugs.freedesktop@molgen.mpg.de

Created attachment 1406=
98 [details]
Linux 4.18-rc5+ messages

Profiling the suspend and resume time [1] on a MSI B350M MORTAR (MS-7A37) w=
ith
AMD Ryzen 3 2200G with Radeon Vega Graphics with Linux 4.18-rc5+,
`pci_pm_suspend()` takes over one second, which is too long.

[   74.694600] amdgpu 0000:38:00.0: calling pci_pm_suspend+0x0/0x120 @ =
1664,
parent: 0000:00:08.1
[   74.700292] sd 8:0:0:0: scsi_bus_suspend+0x0/0x20 [scsi_mod] returned 0
after 25514 usecs
[   74.700326] scsi target8:0:0: calling scsi_bus_suspend+0x0/0x20 [scsi_mo=
d] @
175, parent: host8
[   74.700346] scsi target8:0:0: scsi_bus_suspend+0x0/0x20 [scsi_mod] retur=
ned
0 after 6 usecs
[   74.700382] scsi host8: calling scsi_bus_suspend+0x0/0x20 [scsi_mod] =
4; 181,
parent: ata9
[   74.700404] scsi host8: scsi_bus_suspend+0x0/0x20 [scsi_mod] returned 0
after 6 usecs
[   74.700439]  ata9: calling ata_port_pm_suspend+0x0/0x40 [libata] @ 1=
73,
parent: 0000:39:00.0
[   74.700522]  ata9: ata_port_pm_suspend+0x0/0x40 [libata] returned 0 afte=
r 67
usecs
[   74.700544] ahci 0000:39:00.0: calling pci_pm_suspend+0x0/0x120 @ 7,=
 parent:
0000:00:08.2
[   74.700565] ahci 0000:39:00.0: pci_pm_suspend+0x0/0x120 returned 0 after=
 14
usecs
[   74.700588] pcieport 0000:00:08.2: calling pci_pm_suspend+0x0/0x120 @=
; 1666,
parent: pci0000:00
[   74.700620] pcieport 0000:00:08.2: pci_pm_suspend+0x0/0x120 returned 0 a=
fter
25 usecs
[   74.712063] usb 1-10: usb_dev_suspend+0x0/0x10 [usbcore] returned 0 after
36874 usecs
[   74.712092] usb usb1: calling usb_dev_suspend+0x0/0x10 [usbcore] @ 1=
74,
parent: 0000:15:00.0
[   74.712156] usb usb1: usb_dev_suspend+0x0/0x10 [usbcore] returned 0 afte=
r 51
usecs
[   74.712173] xhci_hcd 0000:15:00.0: calling pci_pm_suspend+0x0/0x120 @=
; 1669,
parent: 0000:00:01.2
[   74.714213] xhci_hcd 0000:15:00.0: pci_pm_suspend+0x0/0x120 returned 0 a=
fter
1985 usecs
[   74.714233] pcieport 0000:00:01.2: calling pci_pm_suspend+0x0/0x120 @=
; 1671,
parent: pci0000:00
[   74.714248] pcieport 0000:00:01.2: pci_pm_suspend+0x0/0x120 returned 0 a=
fter
11 usecs
[   75.670011] amdgpu 0000:38:00.0: 000000007bb4b3e1 unpin not necessary
[   75.736060] amdgpu 0000:38:00.0: pci_pm_suspend+0x0/0x120 returned 0 aft=
er
1017036 usecs

[1]: https://github.com/01or=
g/pm-graph/


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