From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=3.0 tests=MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C3EBCC433E0 for ; Thu, 11 Jun 2020 03:29:13 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 99CF32064C for ; Thu, 11 Jun 2020 03:29:13 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 99CF32064C Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=bugzilla.kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 1C56A6E870; Thu, 11 Jun 2020 03:29:13 +0000 (UTC) Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by gabe.freedesktop.org (Postfix) with ESMTPS id E96C86E870 for ; Thu, 11 Jun 2020 03:29:11 +0000 (UTC) From: bugzilla-daemon@bugzilla.kernel.org To: dri-devel@lists.freedesktop.org Subject: [Bug 208135] AMDGPU sleep with preemption disabled Date: Thu, 11 Jun 2020 03:29:11 +0000 X-Bugzilla-Reason: None X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: AssignedTo drivers_video-dri@kernel-bugs.osdl.org X-Bugzilla-Product: Drivers X-Bugzilla-Component: Video(DRI - non Intel) X-Bugzilla-Version: 2.5 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: yshuiv7@gmail.com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: drivers_video-dri@kernel-bugs.osdl.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: X-Bugzilla-URL: https://bugzilla.kernel.org/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" https://bugzilla.kernel.org/show_bug.cgi?id=208135 --- Comment #1 from yshuiv7@gmail.com --- 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] [] 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@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel