[Bug 208135] AMDGPU sleep with preemption disabled

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.kernel.org/show_bug.cgi?id=208135

--- Comment #1 from yshuiv7@xxxxxxxxx ---
And one more:

[    2.075377] BUG: sleeping function called from invalid context at
mm/slab.h:567
[    2.075391] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 1, name:
swapper/0
[    2.075406] 1 lock held by swapper/0/1:
[    2.075414]  #0: ffff9dc3472fe228 (&dev->mutex){....}-{3:3}, at:
device_driver_attach+0x48/0xc0
[    2.075435] Preemption disabled at:
[    2.075437] [<ffffffff86a7ff2e>] kernel_fpu_begin+0xe/0x70
[    2.075456] CPU: 9 PID: 1 Comm: swapper/0 Tainted: G                T
5.7.2-local+ #16
[    2.075471] Hardware name: System manufacturer System Product Name/ROG STRIX
X470-F GAMING, BIOS 5406 11/13/2019
[    2.075489] Call Trace:
[    2.075497]  show_stack+0x3e/0x40
[    2.075507]  dump_stack+0x7a/0xaa
[    2.075516]  ___might_sleep.cold+0xfa/0x10b
[    2.075528]  __might_sleep+0x50/0x90
[    2.075538]  kmem_cache_alloc_trace+0x1b1/0x200
[    2.075549]  ? dcn20_clock_source_create+0x42/0xb0
[    2.075560]  dcn20_clock_source_create+0x42/0xb0
[    2.075572]  dcn20_resource_construct+0x17b/0xb00
[    2.075583]  ? rcu_read_lock_sched_held+0x5a/0xa0
[    2.075594]  ? trace_kmalloc+0x105/0x130
[    2.075605]  ? kmem_cache_alloc_trace+0xec/0x200
[    2.075617]  dcn20_create_resource_pool+0x47/0x70
[    2.075628]  dc_create_resource_pool+0x142/0x170
[    2.075639]  ? dal_gpio_service_create+0x98/0x120
[    2.075650]  dc_construct+0x1b1/0x360
[    2.075660]  dc_create+0x48/0x120
[    2.075669]  amdgpu_dm_init.isra.0+0x155/0x1b0
[    2.075685]  dm_hw_init+0xe/0x20
[    2.075695]  amdgpu_device_ip_init+0x2b5/0x33e
[    2.075706]  amdgpu_device_init.cold+0x74f/0x9f3
[    2.075717]  amdgpu_driver_load_kms+0x51/0x180
[    2.075728]  amdgpu_pci_probe+0xbb/0x140
[    2.075739]  pci_device_probe+0xf2/0x160
[    2.075750]  really_probe+0xf5/0x420
[    2.075760]  driver_probe_device+0xc2/0x110
[    2.075770]  device_driver_attach+0xb9/0xc0
[    2.075781]  __driver_attach+0x94/0x150
[    2.075791]  ? device_driver_attach+0xc0/0xc0
[    2.075801]  bus_for_each_dev+0x6b/0xa0
[    2.075811]  driver_attach+0x19/0x20
[    2.075820]  bus_add_driver+0x149/0x200
[    2.075830]  driver_register+0x8c/0xe0
[    2.075840]  __pci_register_driver+0x6b/0x80
[    2.075850]  amdgpu_init+0x9c/0xbc
[    2.075859]  ? drm_sched_fence_slab_init+0x7e/0x7e
[    2.075870]  do_one_initcall+0x5c/0x330
[    2.075880]  ? rcu_read_lock_sched_held+0x5a/0xa0
[    2.075893]  do_initcalls+0x104/0x162
[    2.075903]  kernel_init_freeable+0x193/0x235
[    2.075913]  ? rest_init+0x241/0x241
[    2.075923]  kernel_init+0x9/0xff
[    2.075931]  ret_from_fork+0x27/0x50

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/dri-devel



[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux