From: bugzilla-daemon@freedesktop.org Subject: [Bug 102323] [DC] System crashes when woken up from S3 sleep while HDMI display is switched off Date: Mon, 26 Feb 2018 13:38:51 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0358557929==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 03D5B6E499 for ; Mon, 26 Feb 2018 13:38:51 +0000 (UTC) In-Reply-To: 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 --===============0358557929== Content-Type: multipart/alternative; boundary="15196523302.C9DcC2c7.861" Content-Transfer-Encoding: 7bit --15196523302.C9DcC2c7.861 Date: Mon, 26 Feb 2018 13:38:50 +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=3D102323 --- Comment #4 from Arvind --- Hi all, I think I'm having a similar issue using latest kernel 4.15.5 (on Manjaro). When resuming from S3, the following stack trace repeats continuously. Syst= em is unresponsive and a hard reset is required. Using an ASUS Prime X370 Pro board with a Ryzen 1700 and AMD RX580 GPU. Feb 26 10:25:53 valkyrja kernel: WARNING: CPU: 0 PID: 376 at drivers/gpu/drm/amd/amdgpu/../display/dc/gpio/gpio_service.c:238 dal_gpio_service_open+0x7a/0x200 [amdgpu] Feb 26 10:25:53 valkyrja kernel: Modules linked in: fuse rfcomm arc4 devlink rt73usb rt2x00usb rt2x00lib mac80211 cfg80211 uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 videobuf2_core snd_usb_audio videodev snd_usbmidi_lib crc_itu_t snd_rawmidi media snd_seq_device bnep nls_iso8859= _1 nls_cp437 vfat fat amdkfd amd_iommu_v2 amdgpu nouveau btusb btrtl btbcm bti= ntel bluetooth snd_hda_codec_realtek joydev mousedev snd_hda_codec_generic input_leds ecdh_generic snd_hda_codec_hdmi chash snd_hda_intel ttm igb eeepc_wmi snd_hda_codec edac_mce_amd asus_wmi drm_kms_helper sparse_keymap kvm_amd rfkill snd_hda_core wmi_bmof mxm_wmi kvm snd_hwdep drm irqbypass snd_pcm ptp crct10dif_pclmul pps_core crc32_pclmul i2c_algo_bit ghash_clmulni_intel dca snd_timer pcbc ccp snd agpgart syscopyarea led_class sysfillrect sysimgblt Feb 26 10:25:53 valkyrja kernel: rng_core fb_sys_fops soundcore aesni_intel aes_x86_64 crypto_simd glue_helper cryptd sp5100_tco i2c_piix4 pcspkr k10te= mp shpchp rtc_cmos wmi pinctrl_amd gpio_amdpt evdev acpi_cpufreq mac_hid vboxnetflt(O) vboxnetadp(O) vboxpci(O) vboxdrv(O) uinput it87(O) hwmon_vid = sg crypto_user ip_tables x_tables ext4 crc16 mbcache jbd2 fscrypto sd_mod hid_generic usbhid hid crc32c_intel ahci xhci_pci libahci xhci_hcd libata usbcore scsi_mod usb_common Feb 26 10:25:53 valkyrja kernel: CPU: 0 PID: 376 Comm: kworker/0:2 Tainted:= G=20=20 W O 4.15.5-1-MANJARO #1 Feb 26 10:25:53 valkyrja kernel: Hardware name: System manufacturer System Product Name/PRIME X370-PRO, BIOS 3803 01/22/2018 Feb 26 10:25:53 valkyrja kernel: Workqueue: events dm_irq_work_func [amdgpu] Feb 26 10:25:53 valkyrja kernel: RIP: 0010:dal_gpio_service_open+0x7a/0x200 [amdgpu] Feb 26 10:25:53 valkyrja kernel: RSP: 0018:ffffac6383b3f9f0 EFLAGS: 00010202 Feb 26 10:25:53 valkyrja kernel: RAX: 0000000000000000 RBX: 0000000000000008 RCX: 0000000000000003 Feb 26 10:25:53 valkyrja kernel: RDX: ffffa01a483af378 RSI: 0000000000000000 RDI: ffffa01a49f27400 Feb 26 10:25:53 valkyrja kernel: RBP: 0000000000000003 R08: ffffa01a492f3508 R09: 0000000000000001 Feb 26 10:25:53 valkyrja kernel: R10: fffff69aa0231380 R11: 0000000000000001 R12: ffffa01a49f27400 Feb 26 10:25:53 valkyrja kernel: R13: ffffa01a3da91890 R14: 0000000000000000 R15: 0000000000000003 Feb 26 10:25:53 valkyrja kernel: FS: 0000000000000000(0000) GS:ffffa01a6ec00000(0000) knlGS:0000000000000000 Feb 26 10:25:53 valkyrja kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 Feb 26 10:25:53 valkyrja kernel: CR2: 000015d83de9c000 CR3: 000000071d0ee000 CR4: 00000000003406f0 Feb 26 10:25:53 valkyrja kernel: Call Trace: Feb 26 10:25:53 valkyrja kernel: dal_ddc_open+0x2d/0xe0 [amdgpu] Feb 26 10:25:53 valkyrja kernel: ? dal_hw_gpio_close+0xde/0x100 [amdgpu] Feb 26 10:25:53 valkyrja kernel: dal_aux_engine_acquire+0x32/0x70 [amdgpu] Feb 26 10:25:53 valkyrja kernel: dal_i2caux_acquire_aux_engine+0x56/0x80 [amdgpu] Feb 26 10:25:53 valkyrja kernel: dal_i2caux_submit_aux_command+0x46/0x1c0 [amdgpu] Feb 26 10:25:53 valkyrja kernel: dal_ddc_service_read_dpcd_data+0x65/0xa0 [amdgpu] Feb 26 10:25:53 valkyrja kernel: dm_dp_aux_transfer+0x47/0xb0 [amdgpu] Feb 26 10:25:53 valkyrja kernel: drm_dp_dpcd_access+0x79/0x120 [drm_kms_helper] Feb 26 10:25:53 valkyrja kernel: drm_dp_dpcd_read+0x50/0x60 [drm_kms_helpe= r] Feb 26 10:25:53 valkyrja kernel: dm_helpers_dp_read_dpcd+0x27/0x50 [amdgpu] Feb 26 10:25:53 valkyrja kernel: core_link_read_dpcd+0x1f/0x30 [amdgpu] Feb 26 10:25:53 valkyrja kernel: wait_for_training_aux_rd_interval+0x81/0x= a0 [amdgpu] Feb 26 10:25:53 valkyrja kernel:=20 perform_channel_equalization_sequence+0x7e/0x200 [amdgpu] Feb 26 10:25:53 valkyrja kernel: dc_link_dp_perform_link_training+0x21e/0x= 280 [amdgpu] Feb 26 10:25:53 valkyrja kernel: dp_hbr_verify_link_cap+0x12d/0x270 [amdgp= u] Feb 26 10:25:53 valkyrja kernel: dc_link_detect+0x6ba/0x940 [amdgpu] Feb 26 10:25:53 valkyrja kernel: handle_hpd_irq+0x3f/0x90 [amdgpu] Feb 26 10:25:53 valkyrja kernel: dm_irq_work_func+0x58/0x70 [amdgpu] Feb 26 10:25:53 valkyrja kernel: process_one_work+0x1ce/0x410 Feb 26 10:25:53 valkyrja kernel: worker_thread+0x2b/0x3d0 Feb 26 10:25:53 valkyrja kernel: ? process_one_work+0x410/0x410 Feb 26 10:25:53 valkyrja kernel: kthread+0x113/0x130 Feb 26 10:25:53 valkyrja kernel: ? kthread_create_on_node+0x70/0x70 Feb 26 10:25:53 valkyrja kernel: ? do_syscall_64+0x74/0x190 Feb 26 10:25:53 valkyrja kernel: ? SyS_exit_group+0x10/0x10 Feb 26 10:25:53 valkyrja kernel: ret_from_fork+0x22/0x40 Feb 26 10:25:53 valkyrja kernel: Code: 48 89 0c 24 89 e9 d3 e3 85 1c 82 75 = 1e 83 fe 07 0f 87 58 01 00 00 89 f6 49 89 fe 4d 89 c5 48 8b 04 f5 c8 9c 0f c1 = e9 e6 84 9a fa <0f> 0b b8 03 00 00 00 48 8b 5c 24 10 65 48 33 1c 25 28 00 00 0= 0=20 Feb 26 10:25:53 valkyrja kernel: ---[ end trace b80b11dda63ccc98 ]--- --=20 You are receiving this mail because: You are the assignee for the bug.= --15196523302.C9DcC2c7.861 Date: Mon, 26 Feb 2018 13:38:50 +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

Commen= t # 4 on bug 10232= 3 from Arvind
Hi all,

I think I'm having a similar issue using latest kernel 4.15.5 (on Manjaro).
When resuming from S3, the following stack trace repeats continuously. Syst=
em
is unresponsive and a hard reset is required. Using an ASUS Prime X370 Pro
board with a Ryzen 1700 and AMD RX580 GPU.


Feb 26 10:25:53 valkyrja kernel: WARNING: CPU: 0 PID: 376 at
drivers/gpu/drm/amd/amdgpu/../display/dc/gpio/gpio_service.c:238
dal_gpio_service_open+0x7a/0x200 [amdgpu]
Feb 26 10:25:53 valkyrja kernel: Modules linked in: fuse rfcomm arc4 devlink
rt73usb rt2x00usb rt2x00lib mac80211 cfg80211 uvcvideo videobuf2_vmalloc
videobuf2_memops videobuf2_v4l2 videobuf2_core snd_usb_audio videodev
snd_usbmidi_lib crc_itu_t snd_rawmidi media snd_seq_device bnep nls_iso8859=
_1
nls_cp437 vfat fat amdkfd amd_iommu_v2 amdgpu nouveau btusb btrtl btbcm bti=
ntel
bluetooth snd_hda_codec_realtek joydev mousedev snd_hda_codec_generic
input_leds ecdh_generic snd_hda_codec_hdmi chash snd_hda_intel ttm igb
eeepc_wmi snd_hda_codec edac_mce_amd asus_wmi drm_kms_helper sparse_keymap
kvm_amd rfkill snd_hda_core wmi_bmof mxm_wmi kvm snd_hwdep drm irqbypass
snd_pcm ptp crct10dif_pclmul pps_core crc32_pclmul i2c_algo_bit
ghash_clmulni_intel dca snd_timer pcbc ccp snd agpgart syscopyarea led_class
sysfillrect sysimgblt
Feb 26 10:25:53 valkyrja kernel:  rng_core fb_sys_fops soundcore aesni_intel
aes_x86_64 crypto_simd glue_helper cryptd sp5100_tco i2c_piix4 pcspkr k10te=
mp
shpchp rtc_cmos wmi pinctrl_amd gpio_amdpt evdev acpi_cpufreq mac_hid
vboxnetflt(O) vboxnetadp(O) vboxpci(O) vboxdrv(O) uinput it87(O) hwmon_vid =
sg
crypto_user ip_tables x_tables ext4 crc16 mbcache jbd2 fscrypto sd_mod
hid_generic usbhid hid crc32c_intel ahci xhci_pci libahci xhci_hcd libata
usbcore scsi_mod usb_common
Feb 26 10:25:53 valkyrja kernel: CPU: 0 PID: 376 Comm: kworker/0:2 Tainted:=
 G=20=20
     W  O     4.15.5-1-MANJARO #1
Feb 26 10:25:53 valkyrja kernel: Hardware name: System manufacturer System
Product Name/PRIME X370-PRO, BIOS 3803 01/22/2018
Feb 26 10:25:53 valkyrja kernel: Workqueue: events dm_irq_work_func [amdgpu]
Feb 26 10:25:53 valkyrja kernel: RIP: 0010:dal_gpio_service_open+0x7a/0x200
[amdgpu]
Feb 26 10:25:53 valkyrja kernel: RSP: 0018:ffffac6383b3f9f0 EFLAGS: 00010202
Feb 26 10:25:53 valkyrja kernel: RAX: 0000000000000000 RBX: 0000000000000008
RCX: 0000000000000003
Feb 26 10:25:53 valkyrja kernel: RDX: ffffa01a483af378 RSI: 0000000000000000
RDI: ffffa01a49f27400
Feb 26 10:25:53 valkyrja kernel: RBP: 0000000000000003 R08: ffffa01a492f3508
R09: 0000000000000001
Feb 26 10:25:53 valkyrja kernel: R10: fffff69aa0231380 R11: 0000000000000001
R12: ffffa01a49f27400
Feb 26 10:25:53 valkyrja kernel: R13: ffffa01a3da91890 R14: 0000000000000000
R15: 0000000000000003
Feb 26 10:25:53 valkyrja kernel: FS:  0000000000000000(0000)
GS:ffffa01a6ec00000(0000) knlGS:0000000000000000
Feb 26 10:25:53 valkyrja kernel: CS:  0010 DS: 0000 ES: 0000 CR0:
0000000080050033
Feb 26 10:25:53 valkyrja kernel: CR2: 000015d83de9c000 CR3: 000000071d0ee000
CR4: 00000000003406f0
Feb 26 10:25:53 valkyrja kernel: Call Trace:
Feb 26 10:25:53 valkyrja kernel:  dal_ddc_open+0x2d/0xe0 [amdgpu]
Feb 26 10:25:53 valkyrja kernel:  ? dal_hw_gpio_close+0xde/0x100 [amdgpu]
Feb 26 10:25:53 valkyrja kernel:  dal_aux_engine_acquire+0x32/0x70 [amdgpu]
Feb 26 10:25:53 valkyrja kernel:  dal_i2caux_acquire_aux_engine+0x56/0x80
[amdgpu]
Feb 26 10:25:53 valkyrja kernel:  dal_i2caux_submit_aux_command+0x46/0x1c0
[amdgpu]
Feb 26 10:25:53 valkyrja kernel:  dal_ddc_service_read_dpcd_data+0x65/0xa0
[amdgpu]
Feb 26 10:25:53 valkyrja kernel:  dm_dp_aux_transfer+0x47/0xb0 [amdgpu]
Feb 26 10:25:53 valkyrja kernel:  drm_dp_dpcd_access+0x79/0x120
[drm_kms_helper]
Feb 26 10:25:53 valkyrja kernel:  drm_dp_dpcd_read+0x50/0x60 [drm_kms_helpe=
r]
Feb 26 10:25:53 valkyrja kernel:  dm_helpers_dp_read_dpcd+0x27/0x50 [amdgpu]
Feb 26 10:25:53 valkyrja kernel:  core_link_read_dpcd+0x1f/0x30 [amdgpu]
Feb 26 10:25:53 valkyrja kernel:  wait_for_training_aux_rd_interval+0x81/0x=
a0
[amdgpu]
Feb 26 10:25:53 valkyrja kernel:=20
perform_channel_equalization_sequence+0x7e/0x200 [amdgpu]
Feb 26 10:25:53 valkyrja kernel:  dc_link_dp_perform_link_training+0x21e/0x=
280
[amdgpu]
Feb 26 10:25:53 valkyrja kernel:  dp_hbr_verify_link_cap+0x12d/0x270 [amdgp=
u]
Feb 26 10:25:53 valkyrja kernel:  dc_link_detect+0x6ba/0x940 [amdgpu]
Feb 26 10:25:53 valkyrja kernel:  handle_hpd_irq+0x3f/0x90 [amdgpu]
Feb 26 10:25:53 valkyrja kernel:  dm_irq_work_func+0x58/0x70 [amdgpu]
Feb 26 10:25:53 valkyrja kernel:  process_one_work+0x1ce/0x410
Feb 26 10:25:53 valkyrja kernel:  worker_thread+0x2b/0x3d0
Feb 26 10:25:53 valkyrja kernel:  ? process_one_work+0x410/0x410
Feb 26 10:25:53 valkyrja kernel:  kthread+0x113/0x130
Feb 26 10:25:53 valkyrja kernel:  ? kthread_create_on_node+0x70/0x70
Feb 26 10:25:53 valkyrja kernel:  ? do_syscall_64+0x74/0x190
Feb 26 10:25:53 valkyrja kernel:  ? SyS_exit_group+0x10/0x10
Feb 26 10:25:53 valkyrja kernel:  ret_from_fork+0x22/0x40
Feb 26 10:25:53 valkyrja kernel: Code: 48 89 0c 24 89 e9 d3 e3 85 1c 82 75 =
1e
83 fe 07 0f 87 58 01 00 00 89 f6 49 89 fe 4d 89 c5 48 8b 04 f5 c8 9c 0f c1 =
e9
e6 84 9a fa <0f> 0b b8 03 00 00 00 48 8b 5c 24 10 65 48 33 1c 25 28 0=
0 00 00=20
Feb 26 10:25:53 valkyrja kernel: ---[ end trace b80b11dda63ccc98 ]---


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