https://bugs.freedesktop.org/show_bug.cgi?id=105684 --- Comment #22 from jian-hong@endlessm.com --- Created attachment 139462 --> https://bugs.freedesktop.org/attachment.cgi?id=139462&action=edit dmesg of loading amdgpu module with patch 218586 I tried git://people.freedesktop.org/~agd5f/linux on amd-staging-drm-next branch. The last commit is "905aa01b240f9216b6dbba3226bf10b2d96eebb7 drm/amd/display: clean up assignment of amdgpu_crtc" which contains the patch https://patchwork.freedesktop.org/patch/218586/ . However, the system still hung up with the following error. The attachment is the full dmesg. [ 45.184948] amdgpu: [powerplay] dpm has been enabled [ 45.185017] general protection fault: 0000 [#1] SMP NOPTI [ 45.185021] Modules linked in: amdkfd amd_iommu_v2 amdgpu(+) chash gpu_sched ttm drm_kms_helper drm i2c_algo_bit fb_sys_fops syscopyarea sysfillrect sysimgblt efi_pstore cmac bnep edac_mce_amd arc4 btusb snd_hda_codec_realtek snd_hda_codec_hdmi kvm_amd btrtl btbcm ccp btintel kvm bluetooth snd_hda_codec_generic snd_hda_intel snd_hda_codec irqbypass crct10dif_pclmul crc32_pclmul snd_hda_core snd_hwdep ghash_clmulni_intel pcbc input_leds aesni_intel aes_x86_64 snd_pcm ecdh_generic crypto_simd wmi_bmof sparse_keymap snd_timer glue_helper r8169 cryptd snd soundcore mii ahci ath10k_pci ath10k_core psmouse ath mac80211 cfg80211 libahci shpchp wmi i2c_piix4 tpm_crb mac_hid zram ip_tables x_tables hid_generic usbhid hid serio_raw video uas usb_storage [ 45.185098] CPU: 4 PID: 848 Comm: modprobe Not tainted 4.16.0-rc7+ #1 [ 45.185102] Hardware name: Acer Aspire TC-380/Aspire TC-380, BIOS D05 02/01/2018 [ 45.185113] RIP: 0010:prefetch_freepointer+0x15/0x30 [ 45.185117] RSP: 0018:ffffafb583d97730 EFLAGS: 00010206 [ 45.185121] RAX: 0000000000000000 RBX: ffff9c429b792400 RCX: 0000000000000cc8 [ 45.185124] RDX: 0000000000000cc7 RSI: 7c4c9a908a85a5b1 RDI: ffff9c42bf006e80 [ 45.185128] RBP: ffffafb583d97730 R08: ffff9c42bf727160 R09: ffffffffc08c9d31 [ 45.185131] R10: ffffafb583d97738 R11: 0000000000000000 R12: 00000000014080c0 [ 45.185135] R13: ffff9c42bf006e80 R14: ffff9c429b792400 R15: ffff9c42bf006e80 [ 45.185139] FS: 00007f43bfa74700(0000) GS:ffff9c42bf700000(0000) knlGS:0000000000000000 [ 45.185143] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 45.185146] CR2: 00007f65fb3c1740 CR3: 00000007db678000 CR4: 00000000003406e0 [ 45.185150] Call Trace: [ 45.185157] kmem_cache_alloc_trace+0xa5/0x1b0 [ 45.185259] ? dcn10_create_resource_pool+0x41/0x9d0 [amdgpu] [ 45.185345] dcn10_create_resource_pool+0x41/0x9d0 [amdgpu] [ 45.185430] ? dal_aux_engine_construct+0x12/0x30 [amdgpu] [ 45.185511] ? dal_aux_engine_dce110_create+0x3f/0x80 [amdgpu] [ 45.185593] dc_create_resource_pool+0x40/0x170 [amdgpu] [ 45.185598] ? _cond_resched+0x1a/0x50 [ 45.185602] ? __kmalloc+0x1d5/0x210 [ 45.185685] ? dal_gpio_service_create+0x97/0x110 [amdgpu] [ 45.185765] dc_create+0x22f/0x660 [amdgpu] [ 45.185848] dm_hw_init+0xc3/0x250 [amdgpu] [ 45.185897] amdgpu_device_init+0x13a6/0x1470 [amdgpu] [ 45.185947] amdgpu_driver_load_kms+0x8b/0x2c0 [amdgpu] [ 45.185966] drm_dev_register+0x146/0x1d0 [drm] [ 45.186010] amdgpu_pci_probe+0x13f/0x1f0 [amdgpu] [ 45.186015] local_pci_probe+0x45/0xa0 [ 45.186018] pci_device_probe+0x109/0x1b0 [ 45.186022] driver_probe_device+0x2b2/0x490 [ 45.186024] __driver_attach+0xdf/0xf0 [ 45.186026] ? driver_probe_device+0x490/0x490 [ 45.186030] bus_for_each_dev+0x64/0xb0 [ 45.186032] ? kmem_cache_alloc_trace+0x1a4/0x1b0 [ 45.186034] driver_attach+0x1e/0x20 [ 45.186037] bus_add_driver+0x170/0x260 [ 45.186039] driver_register+0x60/0xe0 [ 45.186042] ? 0xffffffffc0a26000 [ 45.186045] __pci_register_driver+0x5a/0x60 [ 45.186087] amdgpu_init+0x7a/0x89 [amdgpu] [ 45.186091] do_one_initcall+0x52/0x193 [ 45.186094] ? __vunmap+0x81/0xb0 [ 45.186096] ? _cond_resched+0x1a/0x50 [ 45.186098] ? kmem_cache_alloc_trace+0xa5/0x1b0 [ 45.186102] ? do_init_module+0x27/0x219 [ 45.186104] do_init_module+0x5f/0x219 [ 45.186106] load_module+0x25b5/0x2dd0 [ 45.186111] ? ima_post_read_file+0x83/0xa0 [ 45.186114] SYSC_finit_module+0xe5/0x120 [ 45.186117] ? SYSC_finit_module+0xe5/0x120 [ 45.186120] SyS_finit_module+0xe/0x10 [ 45.186122] do_syscall_64+0x6d/0x120 [ 45.186126] entry_SYSCALL_64_after_hwframe+0x3d/0xa2 [ 45.186128] RIP: 0033:0x7f43bf5b7229 [ 45.186130] RSP: 002b:00007ffcd696fdf8 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 45.186133] RAX: ffffffffffffffda RBX: 000055974fddf420 RCX: 00007f43bf5b7229 [ 45.186135] RDX: 0000000000000000 RSI: 000055974ecf8638 RDI: 000000000000000d [ 45.186137] RBP: 000055974ecf8638 R08: 0000000000000000 R09: 0000000000000000 [ 45.186139] R10: 000000000000000d R11: 0000000000000246 R12: 0000000000000000 [ 45.186141] R13: 000055974fddf550 R14: 0000000000040000 R15: 0000000000000000 [ 45.186144] Code: 49 8b 74 24 60 48 c7 c7 f0 07 8f 99 e8 05 f0 ea ff eb 90 0f 1f 00 0f 1f 44 00 00 55 48 85 f6 48 89 e5 74 14 48 63 47 20 48 01 c6 <48> 33 36 48 33 b7 40 01 00 00 0f 18 0e 5d c3 66 90 66 2e 0f 1f [ 45.186169] RIP: prefetch_freepointer+0x15/0x30 RSP: ffffafb583d97730 [ 45.186172] ---[ end trace 221043aa704603ca ]--- -- You are receiving this mail because: You are the assignee for the bug.