https://bugs.freedesktop.org/show_bug.cgi?id=105684
--- Comment #16 from jian-hong@endlessm.com --- Created attachment 138874 --> https://bugs.freedesktop.org/attachment.cgi?id=138874&action=edit dmesg of loading amdgpu module - tested in 4.17-rc1
I have tried Linux kernel 4.17-rc1 and load amdgpu module manually. The error looks same as the test with linux kernel v4.16-rc7: "general protection fault: 0000 [#1] SMP NOPTI" when load amdgpu module.
[ 34.068370] [drm] use_doorbell being set to: [true] [ 34.092115] [drm] Found VCN firmware Version: 1.45 Family ID: 18 [ 34.261809] amdgpu: [powerplay] dpm has been enabled [ 34.274305] [drm] Display Core initialized with v3.1.38! [ 34.274343] general protection fault: 0000 [#1] SMP NOPTI [ 34.274345] 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 arc4 btusb btrtl btbcm zram btintel bluetooth snd_hda_codec_realtek snd_hda_codec_generic snd_hda_codec_hdmi snd_hda_intel snd_hda_codec snd_hda_core snd_hwdep ecdh_generic input_leds snd_pcm edac_mce_amd kvm_amd ccp kvm snd_timer snd r8169 soundcore irqbypass crct10dif_pclmul crc32_pclmul ath10k_pci ath10k_core ath ghash_clmulni_intel mac80211 pcbc aesni_intel cfg80211 mii aes_x86_64 ahci libahci crypto_simd wmi_bmof shpchp sparse_keymap i2c_piix4 cryptd glue_helper psmouse mac_hid wmi ip_tables x_tables hid_generic uas serio_raw usbhid usb_storage hid video [ 34.274391] CPU: 0 PID: 766 Comm: modprobe Not tainted 4.17.0-rc1 #12 [ 34.274393] Hardware name: Acer Aspire TC-380/Aspire TC-380, BIOS D05 02/01/2018 [ 34.274400] RIP: 0010:prefetch_freepointer+0x14/0x30 [ 34.274402] RSP: 0018:ffffb860482d7838 EFLAGS: 00010206 [ 34.274404] RAX: 0000000000000000 RBX: ffff9ed4392e2400 RCX: 000000000000064d [ 34.274406] RDX: 000000000000064c RSI: 69a633535ad058a5 RDI: ffff9ed43f006e80 [ 34.274408] RBP: ffffb860482d7838 R08: ffff9ed43f627160 R09: ffff9ed41a3d6900 [ 34.274410] R10: 0000000000000024 R11: ffff9ed4203278cf R12: 00000000014080c0 [ 34.274412] R13: ffff9ed43f006e80 R14: ffff9ed4392e2400 R15: ffff9ed43f006e80 [ 34.274415] FS: 00007f3c39e38700(0000) GS:ffff9ed43f600000(0000) knlGS:0000000000000000 [ 34.274417] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 34.274419] CR2: 00007f8b1427e000 CR3: 00000007fb030000 CR4: 00000000003406f0 [ 34.274421] Call Trace: [ 34.274426] kmem_cache_alloc_trace+0xbb/0x1d0 [ 34.274479] ? dm_hw_init+0x476/0xe60 [amdgpu] [ 34.274522] dm_hw_init+0x476/0xe60 [amdgpu] [ 34.274526] ? vprintk_func+0x27/0x60 [ 34.274528] ? printk+0x52/0x6e [ 34.274564] amdgpu_device_init+0x13c5/0x1490 [amdgpu] [ 34.274599] amdgpu_driver_load_kms+0x8b/0x2c0 [amdgpu] [ 34.274611] drm_dev_register+0x149/0x1e0 [drm] [ 34.274646] amdgpu_pci_probe+0x13f/0x1f0 [amdgpu] [ 34.274650] local_pci_probe+0x4a/0xa0 [ 34.274652] pci_device_probe+0x109/0x1b0 [ 34.274655] driver_probe_device+0x2bb/0x4a0 [ 34.274658] __driver_attach+0xe2/0xf0 [ 34.274660] ? driver_probe_device+0x4a0/0x4a0 [ 34.274663] bus_for_each_dev+0x6a/0xc0 [ 34.274665] ? kmem_cache_alloc_trace+0x1c4/0x1d0 [ 34.274667] driver_attach+0x1e/0x20 [ 34.274670] bus_add_driver+0x170/0x260 [ 34.274672] driver_register+0x60/0xe0 [ 34.274674] ? 0xffffffffc0a76000 [ 34.274677] __pci_register_driver+0x5a/0x60 [ 34.274711] amdgpu_init+0x7a/0x89 [amdgpu] [ 34.274714] do_one_initcall+0x52/0x1cd [ 34.274717] ? __vunmap+0x81/0xb0 [ 34.274720] ? _cond_resched+0x1a/0x50 [ 34.274722] ? kmem_cache_alloc_trace+0xbb/0x1d0 [ 34.274725] ? do_init_module+0x27/0x219 [ 34.274727] do_init_module+0x5f/0x219 [ 34.274729] load_module+0x260e/0x2e10 [ 34.274733] __do_sys_finit_module+0xe5/0x120 [ 34.274735] ? __do_sys_finit_module+0xe5/0x120 [ 34.274738] __x64_sys_finit_module+0x1a/0x20 [ 34.274741] do_syscall_64+0x5a/0x110 [ 34.274743] entry_SYSCALL_64_after_hwframe+0x44/0xa9 [ 34.274745] RIP: 0033:0x7f3c3997d229 [ 34.274747] RSP: 002b:00007ffdc43c4e58 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 34.274750] RAX: ffffffffffffffda RBX: 000055be49331280 RCX: 00007f3c3997d229 [ 34.274752] RDX: 0000000000000000 RSI: 000055be487e9638 RDI: 000000000000000d [ 34.274754] RBP: 000055be487e9638 R08: 0000000000000000 R09: 0000000000000000 [ 34.274756] R10: 000000000000000d R11: 0000000000000246 R12: 0000000000000000 [ 34.274758] R13: 000055be493313b0 R14: 0000000000040000 R15: 0000000000000000 [ 34.274760] Code: 5b 90 84 e8 12 88 e9 ff eb 91 0f 1f 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 55 48 85 f6 48 89 e5 74 13 8b 47 20 48 01 c6 <48> 33 36 48 33 b7 38 01 00 00 0f 18 0e 5d c3 0f 1f 00 66 2e 0f [ 34.274785] RIP: prefetch_freepointer+0x14/0x30 RSP: ffffb860482d7838 [ 34.274788] ---[ end trace 2cfc1725d9f54c54 ]---