From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 105760] [4.17-rc1] RIP: smu7_populate_single_firmware_entry.isra.6+0x57/0xc0 [amdgpu] RSP: ffffa17901efb930 Date: Thu, 12 Jul 2018 04:45:36 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0043405350==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 449426E20C for ; Thu, 12 Jul 2018 04:45:36 +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 --===============0043405350== Content-Type: multipart/alternative; boundary="15313707350.d6bEa.13667" Content-Transfer-Encoding: 7bit --15313707350.d6bEa.13667 Date: Thu, 12 Jul 2018 04:45:35 +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=3D105760 --- Comment #29 from Thomas Martitz --- Unfortunately, the last patch doesn't help either. This time I removed all = my printk's and applied your patch on top of ~agd5f/linux/drm-next-4.19 [ 32.537266] BUG: unable to handle kernel paging request at ffffb77e20080= fec [ 32.537270] PGD 266d39067 P4D 266d39067 PUD 0=20 [ 32.537274] Oops: 0002 [#1] PREEMPT SMP PTI [ 32.537276] CPU: 2 PID: 1042 Comm: kworker/2:4 Tainted: G U=20=20=20= =20=20=20=20=20=20=20=20 4.18.0-rc3-custom+ #64 [ 32.537277] Hardware name: HP HP ZBook 14u G5/83B2, BIOS Q78 Ver. 01.00.= 05 01/25/2018 [ 32.537282] Workqueue: pm pm_runtime_work [ 32.537286] RIP: 0010:smu7_populate_single_firmware_entry.isra.6+0x49/0x= a0 [ 32.537287] Code: 48 89 e7 f3 48 ab 89 d0 4c 89 c7 48 89 e2 0f b6 b0 00 = fe ec 96 49 8b 00 48 8b 40 20 e8 c0 6c 60 00 85 c0 75 3d 0f b7 44 24 02 <66> 8= 9 2b 48 c7 43 0c 00 00 00 00 66 89 43 02 48 8b 44 24 10 48 89=20 [ 32.537311] RSP: 0018:ffffb7620519bc28 EFLAGS: 00010246 [ 32.537313] RAX: 000000000000008c RBX: ffffb77e20080fec RCX: 0000000000532000 [ 32.537314] RDX: ffffffff965e8a16 RSI: 0000000000000004 RDI: ffff90aa63bf1c10 [ 32.537315] RBP: 0000000000000003 R08: ffff90aa63bf1c10 R09: ffff90aa634cdf00 [ 32.537316] R10: 0000000000000000 R11: 0000000000000000 R12: ffff90aa63462c14 [ 32.537318] R13: ffff90aa63b94000 R14: 000000000000047e R15: ffff90aa63462c14 [ 32.537319] FS: 0000000000000000(0000) GS:ffff90aa6f480000(0000) knlGS:0000000000000000 [ 32.537321] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 32.537322] CR2: ffffb77e20080fec CR3: 00000001d840a004 CR4: 00000000003606e0 [ 32.537323] Call Trace: [ 32.537327] smu7_request_smu_load_fw+0x179/0x430 [ 32.537331] ? vga_switcheroo_fini_domain_pm_ops+0x10/0x10 [ 32.537333] polaris10_start_smu+0x44/0x4d0 [ 32.537336] hwmgr_resume+0x29/0x80 [ 32.537339] amdgpu_device_ip_resume_phase2+0x51/0xb0 [ 32.537342] amdgpu_device_resume+0xb5/0x360 [ 32.537345] ? vga_switcheroo_fini_domain_pm_ops+0x10/0x10 [ 32.537347] amdgpu_pmops_runtime_resume+0x6b/0xa0 [ 32.537349] pci_pm_runtime_resume+0x78/0xb0 [ 32.537352] __rpm_callback+0x75/0x1b0 [ 32.537354] ? vga_switcheroo_fini_domain_pm_ops+0x10/0x10 [ 32.537356] rpm_callback+0x1f/0x70 [ 32.537359] ? vga_switcheroo_fini_domain_pm_ops+0x10/0x10 [ 32.537361] rpm_resume+0x57e/0x7c0 [ 32.537363] pm_runtime_work+0x50/0xa0 [ 32.537366] process_one_work+0x1eb/0x3c0 [ 32.537368] worker_thread+0x2d/0x3d0 [ 32.537370] ? process_one_work+0x3c0/0x3c0 [ 32.537372] kthread+0x112/0x130 [ 32.537374] ? kthread_flush_work_fn+0x10/0x10 [ 32.537377] ret_from_fork+0x35/0x40 [ 32.537380] Modules linked in: cmac rfcomm ccm usbhid arc4 snd_hda_codec_hdmi bnep snd_hda_codec_conexant snd_hda_codec_generic joydev mousedev intel_rapl x86_pkg_temp_thermal intel_powerclamp coretemp snd_soc_= skl nls_iso8859_1 iwlmvm snd_soc_skl_ipc nls_cp437 vfat kvm snd_soc_sst_ipc fat hp_wmi snd_soc_sst_dsp iTCO_wdt hid_multitouch mac80211 hid_generic mei_wdt iTCO_vendor_support intel_wmi_thunderbolt snd_hda_ext_core sparse_keymap irqbypass crct10dif_pclmul wmi_bmof crc32_pclmul ghash_clmulni_intel snd_soc_core pcbc i915 iwlwifi uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 snd_compress snd_soc_acpi videobuf2_common snd_hda_intel videodev aesni_intel btusb snd_hda_codec btrtl btbcm media aes_x86_64 crypto_simd cryptd btintel snd_hwdep glue_helper intel_cstate snd_hda_core bluetooth [ 32.537413] intel_uncore input_leds intel_rapl_perf led_class snd_pcm psmouse cfg80211 snd_timer mei_me e1000e mei snd crc16 thunderbolt ecdh_gen= eric processor_thermal_device soundcore idma64 intel_soc_dts_iosf ptp tpm_crb rf= kill i2c_i801 pps_core i2c_hid intel_gtt intel_lpss_pci intel_lpss ucsi_acpi intel_pch_thermal hid typec_ucsi typec wmi evdev tpm_tis int3403_thermal tpm_tis_core int340x_thermal_zone rtc_cmos tpm int3400_thermal mac_hid ac battery acpi_thermal_rel rng_core hp_wireless sg scsi_mod crypto_user ip_ta= bles x_tables btrfs libcrc32c crc32c_generic xor zstd_decompress zstd_compress xxhash raid6_pq serio_raw atkbd libps2 xhci_pci xhci_hcd crc32c_intel usbco= re usb_common i8042 serio [ 32.537446] CR2: ffffb77e20080fec [ 32.537448] ---[ end trace 63bf3db85058595c ]--- [ 32.537451] RIP: 0010:smu7_populate_single_firmware_entry.isra.6+0x49/0x= a0 [ 32.537452] Code: 48 89 e7 f3 48 ab 89 d0 4c 89 c7 48 89 e2 0f b6 b0 00 = fe ec 96 49 8b 00 48 8b 40 20 e8 c0 6c 60 00 85 c0 75 3d 0f b7 44 24 02 <66> 8= 9 2b 48 c7 43 0c 00 00 00 00 66 89 43 02 48 8b 44 24 10 48 89=20 [ 32.537476] RSP: 0018:ffffb7620519bc28 EFLAGS: 00010246 [ 32.537477] RAX: 000000000000008c RBX: ffffb77e20080fec RCX: 0000000000532000 [ 32.537479] RDX: ffffffff965e8a16 RSI: 0000000000000004 RDI: ffff90aa63bf1c10 [ 32.537480] RBP: 0000000000000003 R08: ffff90aa63bf1c10 R09: ffff90aa634cdf00 [ 32.537481] R10: 0000000000000000 R11: 0000000000000000 R12: ffff90aa63462c14 [ 32.537482] R13: ffff90aa63b94000 R14: 000000000000047e R15: ffff90aa63462c14 [ 32.537484] FS: 0000000000000000(0000) GS:ffff90aa6f480000(0000) knlGS:0000000000000000 [ 32.537485] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 32.537486] CR2: ffffb77e20080fec CR3: 00000001d840a004 CR4: 00000000003606e0 --=20 You are receiving this mail because: You are the assignee for the bug.= --15313707350.d6bEa.13667 Date: Thu, 12 Jul 2018 04:45:35 +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

Comme= nt # 29 on bug 10576= 0 from Thomas Martitz
Unfortunately, the last patch doesn't help either. This time I=
 removed all my
printk's and applied your patch on top of ~agd5f/linux/drm-next-4.19


[   32.537266] BUG: unable to handle kernel paging request at ffffb77e20080=
fec
[   32.537270] PGD 266d39067 P4D 266d39067 PUD 0=20
[   32.537274] Oops: 0002 [#1] PREEMPT SMP PTI
[   32.537276] CPU: 2 PID: 1042 Comm: kworker/2:4 Tainted: G     U=20=20=20=
=20=20=20=20=20=20=20=20
4.18.0-rc3-custom+ #64
[   32.537277] Hardware name: HP HP ZBook 14u G5/83B2, BIOS Q78 Ver. 01.00.=
05
01/25/2018
[   32.537282] Workqueue: pm pm_runtime_work
[   32.537286] RIP: 0010:smu7_populate_single_firmware_entry.isra.6+0x49/0x=
a0
[   32.537287] Code: 48 89 e7 f3 48 ab 89 d0 4c 89 c7 48 89 e2 0f b6 b0 00 =
fe
ec 96 49 8b 00 48 8b 40 20 e8 c0 6c 60 00 85 c0 75 3d 0f b7 44 24 02 <66=
> 89 2b
48 c7 43 0c 00 00 00 00 66 89 43 02 48 8b 44 24 10 48 89=20
[   32.537311] RSP: 0018:ffffb7620519bc28 EFLAGS: 00010246
[   32.537313] RAX: 000000000000008c RBX: ffffb77e20080fec RCX:
0000000000532000
[   32.537314] RDX: ffffffff965e8a16 RSI: 0000000000000004 RDI:
ffff90aa63bf1c10
[   32.537315] RBP: 0000000000000003 R08: ffff90aa63bf1c10 R09:
ffff90aa634cdf00
[   32.537316] R10: 0000000000000000 R11: 0000000000000000 R12:
ffff90aa63462c14
[   32.537318] R13: ffff90aa63b94000 R14: 000000000000047e R15:
ffff90aa63462c14
[   32.537319] FS:  0000000000000000(0000) GS:ffff90aa6f480000(0000)
knlGS:0000000000000000
[   32.537321] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[   32.537322] CR2: ffffb77e20080fec CR3: 00000001d840a004 CR4:
00000000003606e0
[   32.537323] Call Trace:
[   32.537327]  smu7_request_smu_load_fw+0x179/0x430
[   32.537331]  ? vga_switcheroo_fini_domain_pm_ops+0x10/0x10
[   32.537333]  polaris10_start_smu+0x44/0x4d0
[   32.537336]  hwmgr_resume+0x29/0x80
[   32.537339]  amdgpu_device_ip_resume_phase2+0x51/0xb0
[   32.537342]  amdgpu_device_resume+0xb5/0x360
[   32.537345]  ? vga_switcheroo_fini_domain_pm_ops+0x10/0x10
[   32.537347]  amdgpu_pmops_runtime_resume+0x6b/0xa0
[   32.537349]  pci_pm_runtime_resume+0x78/0xb0
[   32.537352]  __rpm_callback+0x75/0x1b0
[   32.537354]  ? vga_switcheroo_fini_domain_pm_ops+0x10/0x10
[   32.537356]  rpm_callback+0x1f/0x70
[   32.537359]  ? vga_switcheroo_fini_domain_pm_ops+0x10/0x10
[   32.537361]  rpm_resume+0x57e/0x7c0
[   32.537363]  pm_runtime_work+0x50/0xa0
[   32.537366]  process_one_work+0x1eb/0x3c0
[   32.537368]  worker_thread+0x2d/0x3d0
[   32.537370]  ? process_one_work+0x3c0/0x3c0
[   32.537372]  kthread+0x112/0x130
[   32.537374]  ? kthread_flush_work_fn+0x10/0x10
[   32.537377]  ret_from_fork+0x35/0x40
[   32.537380] Modules linked in: cmac rfcomm ccm usbhid arc4
snd_hda_codec_hdmi bnep snd_hda_codec_conexant snd_hda_codec_generic joydev
mousedev intel_rapl x86_pkg_temp_thermal intel_powerclamp coretemp snd_soc_=
skl
nls_iso8859_1 iwlmvm snd_soc_skl_ipc nls_cp437 vfat kvm snd_soc_sst_ipc fat
hp_wmi snd_soc_sst_dsp iTCO_wdt hid_multitouch mac80211 hid_generic mei_wdt
iTCO_vendor_support intel_wmi_thunderbolt snd_hda_ext_core sparse_keymap
irqbypass crct10dif_pclmul wmi_bmof crc32_pclmul ghash_clmulni_intel
snd_soc_core pcbc i915 iwlwifi uvcvideo videobuf2_vmalloc videobuf2_memops
videobuf2_v4l2 snd_compress snd_soc_acpi videobuf2_common snd_hda_intel
videodev aesni_intel btusb snd_hda_codec btrtl btbcm media aes_x86_64
crypto_simd cryptd btintel snd_hwdep glue_helper intel_cstate snd_hda_core
bluetooth
[   32.537413]  intel_uncore input_leds intel_rapl_perf led_class snd_pcm
psmouse cfg80211 snd_timer mei_me e1000e mei snd crc16 thunderbolt ecdh_gen=
eric
processor_thermal_device soundcore idma64 intel_soc_dts_iosf ptp tpm_crb rf=
kill
i2c_i801 pps_core i2c_hid intel_gtt intel_lpss_pci intel_lpss ucsi_acpi
intel_pch_thermal hid typec_ucsi typec wmi evdev tpm_tis int3403_thermal
tpm_tis_core int340x_thermal_zone rtc_cmos tpm int3400_thermal mac_hid ac
battery acpi_thermal_rel rng_core hp_wireless sg scsi_mod crypto_user ip_ta=
bles
x_tables btrfs libcrc32c crc32c_generic xor zstd_decompress zstd_compress
xxhash raid6_pq serio_raw atkbd libps2 xhci_pci xhci_hcd crc32c_intel usbco=
re
usb_common i8042 serio
[   32.537446] CR2: ffffb77e20080fec
[   32.537448] ---[ end trace 63bf3db85058595c ]---
[   32.537451] RIP: 0010:smu7_populate_single_firmware_entry.isra.6+0x49/0x=
a0
[   32.537452] Code: 48 89 e7 f3 48 ab 89 d0 4c 89 c7 48 89 e2 0f b6 b0 00 =
fe
ec 96 49 8b 00 48 8b 40 20 e8 c0 6c 60 00 85 c0 75 3d 0f b7 44 24 02 <66=
> 89 2b
48 c7 43 0c 00 00 00 00 66 89 43 02 48 8b 44 24 10 48 89=20
[   32.537476] RSP: 0018:ffffb7620519bc28 EFLAGS: 00010246
[   32.537477] RAX: 000000000000008c RBX: ffffb77e20080fec RCX:
0000000000532000
[   32.537479] RDX: ffffffff965e8a16 RSI: 0000000000000004 RDI:
ffff90aa63bf1c10
[   32.537480] RBP: 0000000000000003 R08: ffff90aa63bf1c10 R09:
ffff90aa634cdf00
[   32.537481] R10: 0000000000000000 R11: 0000000000000000 R12:
ffff90aa63462c14
[   32.537482] R13: ffff90aa63b94000 R14: 000000000000047e R15:
ffff90aa63462c14
[   32.537484] FS:  0000000000000000(0000) GS:ffff90aa6f480000(0000)
knlGS:0000000000000000
[   32.537485] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[   32.537486] CR2: ffffb77e20080fec CR3: 00000001d840a004 CR4:
00000000003606e0


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