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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 3A360C433F5 for ; Thu, 20 Jan 2022 01:15:36 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 8C4F210F335; Thu, 20 Jan 2022 01:15:35 +0000 (UTC) Received: from mout.web.de (mout.web.de [212.227.15.14]) by gabe.freedesktop.org (Postfix) with ESMTPS id 8935310F334 for ; Thu, 20 Jan 2022 01:12:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=dbaedf251592; t=1642641161; bh=2xNCynkRF5q3y2qiqhLoh83+Dtm3JY+1k6JzbutZbr8=; h=X-UI-Sender-Class:Subject:From:To:Cc:In-Reply-To:References:Date; b=i7uQFEAx+BCFDoQDxka7eC+3t7Kq+biyhFVQFAYo67MEOYq/ftrF59T4ti7LsusRY H4etc/1kZsAHbmVbdWQWbBk3HtzC8iD5ZVtjTtuI5XIIjz0idvj5oHimTgGYSEhHXR l4yMgMs289QGhOS7QiCtqqIMIfpKUYEb/tNuh0WI= X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9 Received: from [192.168.0.101] ([88.152.98.65]) by smtp.web.de (mrweb005 [213.165.67.108]) with ESMTPSA (Nemesis) id 1M6YNJ-1nCoqW2Ui9-006gpO; Thu, 20 Jan 2022 02:12:41 +0100 Message-ID: <9da08e91cf313da76d4c4d8e9221b929e9e5247d.camel@web.de> Subject: Re: amd-staging-drm-next breaks suspend From: Bert Karwatzki To: Alex Deucher In-Reply-To: References: <2d7fe1c0ddde50a1836b49dff8a02decdfcbe00d.camel@web.de> <904d0552-20b0-2e11-c061-4d9d20bca374@amd.com> <75d1eefa7cf24d1751532b19841625be010cc015.camel@web.de> <314494939bcf185110d6a468637b08891138fba5.camel@web.de> Content-Type: text/plain; charset="UTF-8" Date: Thu, 20 Jan 2022 02:11:30 +0100 MIME-Version: 1.0 User-Agent: Evolution 3.42.3-1 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:AjcIQyFqaB1189gaVpCMert+tBYw8BTEUsyfu/4dPDrjte84AxI Fv17Zj/LzHljCfEScYjYpYeSdUkc6KgDrPGNeuhbnZ0KvB4Hxa53K6CVWYZ2DWkvcavj5tK 5qeIwWF3nHACzVrtJlvDXrOZ3LhUy1xRg7p4wWQMkbQwPseGYJixW3jyKQzak9FnKbzyGxZ z7mEOYIzTYZL4uJ2LhywQ== X-UI-Out-Filterresults: notjunk:1;V03:K0:9QJqCMXfWSo=:4dAbb3PXLaeuUNxKjmNXM/ 00qQsKCi9iyVQTrQ+ofNMuKLYBShuNNqw8oV46l43lbqiF5GzDFyKngmF2kUwuQXuHU35JYiX CwKhdFSDr2/Dj6ho/oE2nWtQWL3mdxopTwQuGTuCNDdiWHl63Jm5AfYaZElTYM7Y4U5iN939J enT3oa/2RRflzMhoZh9qVZ3Vd/47n/eMz5IX3QrqQADe8VEUtA91QlAMyxVTO8tL4IKu7Fgwn b0kKmloKgnw/3zIKnquOxXHc/1aBSM/7pBHDiqABIN78V5YkTBDvDp+XcCzoIAWgim/C0u0Jo E8aPOmuXbyOxP4y3IL8/HQcTWj1WPSwDa88Ee7ZlnyKO6y+jNCEJu12Lscd9aqXMeqglhN3Rv 94RFs6rLtAHgoxAxXuWsS2PCIPVUIBqKODk1SRFU4mU4646WeeOZCacAaLC0ZBoAwhqYpzO+/ zvdsU7v1QsPL6aTFSp76j2WxwcrxkexuCzpEaVBc5Bu9cdJv3rQ+IKyG4xVDhXIlcf3a2IKZj GS2gVb47Hue2wokxRtPMp2/mIEOpJ9zFPYKodNDCRd4ktjVHwfIvvXztytRZgVSxmifElCLDP VuNrosRRBLlfyVNCwXEDdpVpfEnF3bSrR+TsachDb0Jud3oGY0zJ41gP4q8tAvqbtBKH3Y9/J xTSm3HiAU6pZMmjF82rTLeMvD0dtPF6L3krXWAxNek1HQdyGj1t9NnksxzlVp66Noq937rHtb Kbuc49v1B/LnQhBA9kfTsgrwIUgMC8Q4uVbWVqNPxz+FjB+jCO1GFKSGPh+NP8MUtOHTqLX7y Yu3SYn8dW7alo0FUSgZnSoxGWESBANVl5hcW3LO1cLaYn9cWh/zNsfAU5YBKC+ltK/DoNSBGT p4/DvZd269l5XoGZEcSt8Duw7YwuGIUKFMM8BTGwF6j5q9sHu5OEIn8P5CfaYgVNcH2MFlH+1 M+WSFwH2d+MIL0KYS2yeP6a6hRNtQ96WXP4od/ZLZzCkN68yRskeH+7TBrE4DlqpHLDOUqtUW 8my0+eyih2NgOKB57p7UnQVsgG/+yzvt3vkPuE0GHlr/5XEmNX/SJulibtX725h1dJ92M4lVB S0hYWUFcWvVZUU= X-Mailman-Approved-At: Thu, 20 Jan 2022 01:15:34 +0000 X-BeenThere: amd-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion list for AMD gfx List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Chris Hixon , "Zhuo, Qingqing \(Lillian\)" , "Das, Nirmoy" , "amd-gfx@lists.freedesktop.org" , Scott Bruce , "Limonciello, Mario" , "Kazlauskas, Nicholas" Errors-To: amd-gfx-bounces@lists.freedesktop.org Sender: "amd-gfx" Unfortunately this does not work either: [ 0.859998] ------------[ cut here ]------------ [ 0.859998] trying to bind memory to uninitialized GART ! [ 0.860003] WARNING: CPU: 13 PID: 235 at drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c:254 amdgpu_gart_bind+0x29/0x40 [amdgpu] [ 0.860099] Modules linked in: amdgpu(+) drm_ttm_helper ttm gpu_sched i2c_algo_bit drm_kms_helper syscopyarea hid_sensor_hub sysfillrect mfd_core sysimgblt hid_generic fb_sys_fops cec xhci_pci xhci_hcd nvme drm r8169 nvme_core psmouse crc32c_intel realtek amd_sfh usbcore i2c_hid_acpi mdio_devres t10_pi crc_t10dif i2c_hid i2c_piix4 crct10dif_generic libphy crct10dif_common hid backlight i2c_designware_platform i2c_designware_core [ 0.860113] CPU: 13 PID: 235 Comm: systemd-udevd Not tainted 5.13.0+ #15 [ 0.860115] Hardware name: Micro-Star International Co., Ltd. Alpha 15 B5EEK/MS-158L, BIOS E158LAMS.107 11/10/2021 [ 0.860116] RIP: 0010:amdgpu_gart_bind+0x29/0x40 [amdgpu] [ 0.860210] Code: 00 80 bf 34 25 00 00 00 74 14 4c 8b 8f 20 25 00 00 4d 85 c9 74 05 e9 16 ff ff ff 31 c0 c3 48 c7 c7 08 06 7d c0 e8 8e cc 31 e2 <0f> 0b b8 ea ff ff ff c3 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 [ 0.860212] RSP: 0018:ffffbb9e80b6f968 EFLAGS: 00010286 [ 0.860213] RAX: 0000000000000000 RBX: 0000000000000067 RCX: ffffffffa3080968 [ 0.860214] RDX: 0000000000000000 RSI: 00000000ffffefff RDI: ffffffffa3028960 [ 0.860215] RBP: ffff947c91e49a80 R08: 0000000000000000 R09: ffffbb9e80b6f798 [ 0.860215] R10: ffffbb9e80b6f790 R11: ffffffffa30989a8 R12: 0000000000000000 [ 0.860216] R13: ffff947c8a740000 R14: ffff947c8a740000 R15: 0000000000000000 [ 0.860216] FS: 00007f60a3c918c0(0000) GS:ffff947f5e940000(0000) knlGS:0000000000000000 [ 0.860217] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 0.860218] CR2: 00007f60a4213480 CR3: 0000000135ee2000 CR4: 0000000000550ee0 [ 0.860218] PKRU: 55555554 [ 0.860219] Call Trace: [ 0.860221] amdgpu_ttm_gart_bind+0x74/0xc0 [amdgpu] [ 0.860305] amdgpu_ttm_alloc_gart+0x13e/0x190 [amdgpu] [ 0.860385] amdgpu_bo_create_reserved.part.0+0xf3/0x1b0 [amdgpu] [ 0.860465] ? amdgpu_ttm_debugfs_init+0x110/0x110 [amdgpu] [ 0.860554] amdgpu_bo_create_kernel+0x36/0xa0 [amdgpu] [ 0.860641] amdgpu_ttm_init.cold+0x167/0x181 [amdgpu] [ 0.860784] gmc_v10_0_sw_init+0x2d7/0x430 [amdgpu] [ 0.860889] amdgpu_device_init.cold+0x147f/0x1ad7 [amdgpu] [ 0.861007] ? acpi_ns_get_node+0x4a/0x55 [ 0.861011] ? acpi_get_handle+0x89/0xb2 [ 0.861012] amdgpu_driver_load_kms+0x55/0x290 [amdgpu] [ 0.861098] amdgpu_pci_probe+0x181/0x250 [amdgpu] [ 0.861188] pci_device_probe+0xcd/0x140 [ 0.861191] really_probe+0xed/0x460 [ 0.861193] driver_probe_device+0xe3/0x150 [ 0.861195] device_driver_attach+0x9c/0xb0 [ 0.861196] __driver_attach+0x8a/0x150 [ 0.861197] ? device_driver_attach+0xb0/0xb0 [ 0.861198] ? device_driver_attach+0xb0/0xb0 [ 0.861198] bus_for_each_dev+0x73/0xb0 [ 0.861200] bus_add_driver+0x121/0x1e0 [ 0.861201] driver_register+0x8a/0xe0 [ 0.861202] ? 0xffffffffc1117000 [ 0.861203] do_one_initcall+0x47/0x180 [ 0.861205] ? do_init_module+0x19/0x230 [ 0.861208] ? kmem_cache_alloc+0x182/0x260 [ 0.861210] do_init_module+0x51/0x230 [ 0.861211] __do_sys_finit_module+0xb1/0x110 [ 0.861213] do_syscall_64+0x40/0xb0 [ 0.861216] entry_SYSCALL_64_after_hwframe+0x44/0xae [ 0.861218] RIP: 0033:0x7f60a4149679 [ 0.861220] Code: 48 8d 3d 9a a1 0c 00 0f 05 eb a5 66 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d c7 57 0c 00 f7 d8 64 89 01 48 [ 0.861221] RSP: 002b:00007ffe25f17ea8 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 0.861223] RAX: ffffffffffffffda RBX: 000056004a10a660 RCX: 00007f60a4149679 [ 0.861224] RDX: 0000000000000000 RSI: 00007f60a42e9eed RDI: 0000000000000016 [ 0.861224] RBP: 0000000000020000 R08: 0000000000000000 R09: 000056004a105980 [ 0.861225] R10: 0000000000000016 R11: 0000000000000246 R12: 00007f60a42e9eed [ 0.861225] R13: 0000000000000000 R14: 000056004a0efdd0 R15: 000056004a10a660 [ 0.861226] ---[ end trace 0319f26df48f8ef0 ]--- [ 0.861228] [drm:amdgpu_ttm_gart_bind [amdgpu]] *ERROR* failed to bind 1 pages at 0x00400000 [ 0.861540] amdgpu 0000:03:00.0: amdgpu: 00000000a9dfe17c bind failed Am Mittwoch, dem 19.01.2022 um 19:54 -0500 schrieb Alex Deucher: > On Wed, Jan 19, 2022 at 7:48 PM Bert Karwatzki > wrote: > > > > Bisected the error and found the first bad commit to be > > d015e9861e55928a78137a2c95897bc50637fc47 is the first bad commit > > commit d015e9861e55928a78137a2c95897bc50637fc47 > > Author: Jonathan Kim > > Date:=C2=A0=C2=A0 Thu Dec 9 16:48:56 2021 -0500 > > > > =C2=A0=C2=A0=C2=A0 drm/amdgpu: improve debug VRAM access performance u= sing sdma > > > > =C2=A0=C2=A0=C2=A0 For better performance during VRAM access for debug= ged > > processes, > > do > > =C2=A0=C2=A0=C2=A0 read/write copies over SDMA. > > > > =C2=A0=C2=A0=C2=A0 In order to fulfill post mortem debugging on a brok= en device, > > fallback to > > =C2=A0=C2=A0=C2=A0 stable MMIO access when gpu recovery is disabled or= when job > > submission > > =C2=A0=C2=A0=C2=A0 time outs are set to max.=C2=A0 Failed SDMA access = should > > automatically > > fall > > =C2=A0=C2=A0=C2=A0 back to MMIO access. > > > > =C2=A0=C2=A0=C2=A0 Use a pre-allocated GTT bounce buffer pre-mapped in= to GART to > > avoid > > =C2=A0=C2=A0=C2=A0 page-table updates and TLB flushes on access. > > > > =C2=A0=C2=A0=C2=A0 Signed-off-by: Jonathan Kim > > =C2=A0=C2=A0=C2=A0 Reviewed-by: Felix Kuehling > > > > =C2=A0drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c | 78 > > +++++++++++++++++++++++++++++++++ > > =C2=A0drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.h |=C2=A0 4 ++ > > =C2=A02 files changed, 82 insertions(+) > > Should be fixed with: > https://patchwork.freedesktop.org/patch/470069/ > > Alex > > > > > > > Am Donnerstag, dem 20.01.2022 um 00:22 +0100 schrieb Bert > > Karwatzki: > > > Reverting commit 72f686438de13f121c52f58d7445570a33dfdc61 does > > > not > > > change the errors: > > > [=C2=A0=C2=A0=C2=A0 1.310550] ------------[ cut here ]------------ > > > [=C2=A0=C2=A0=C2=A0 1.310551] trying to bind memory to uninitialized= GART ! > > > [=C2=A0=C2=A0=C2=A0 1.310556] WARNING: CPU: 9 PID: 252 at > > > drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c:254 > > > amdgpu_gart_bind+0x2e/0x40 > > > [amdgpu] > > > [=C2=A0=C2=A0=C2=A0 1.310659] Modules linked in: amdgpu(+) gpu_sched > > > i2c_algo_bit > > > drm_ttm_helper hid_sensor_hub ttm hid_generic nvme drm_kms_helper > > > nvme_core cec xhci_pci t10_pi r8169 rc_core crc32_pclmul > > > crc_t10dif > > > i2c_hid_acpi realtek xhci_hcd psmouse crc32c_intel > > > crct10dif_generic > > > i2c_hid amd_sfh mdio_devres crct10dif_pclmul drm i2c_piix4 > > > usbcore > > > libphy crct10dif_common wmi button battery video fjes(-) hid > > > [=C2=A0=C2=A0=C2=A0 1.310672] CPU: 9 PID: 252 Comm: systemd-udevd No= t tainted > > > 5.13.0+ > > > #4 > > > [=C2=A0=C2=A0=C2=A0 1.310673] Hardware name: Micro-Star Internationa= l Co., Ltd. > > > Alpha > > > 15 B5EEK/MS-158L, BIOS E158LAMS.107 11/10/2021 > > > [=C2=A0=C2=A0=C2=A0 1.310674] RIP: 0010:amdgpu_gart_bind+0x2e/0x40 [= amdgpu] > > > [=C2=A0=C2=A0=C2=A0 1.310762] Code: 00 80 bf 34 25 00 00 00 74 14 4c= 8b 8f 20 25 > > > 00 > > > 00 > > > 4d 85 c9 74 05 e9 01 ff ff ff 31 c0 c3 48 c7 c7 68 36 dd c0 e8 86 > > > db > > > 19 > > > e8 <0f> 0b b8 ea ff ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f > > > 44 > > > 00 > > > [=C2=A0=C2=A0=C2=A0 1.310763] RSP: 0018:ffffb19d00c33920 EFLAGS: 000= 10282 > > > [=C2=A0=C2=A0=C2=A0 1.310764] RAX: 0000000000000000 RBX: 00000000000= 00067 RCX: > > > ffffffffa9abb208 > > > [=C2=A0=C2=A0=C2=A0 1.310765] RDX: 0000000000000000 RSI: 00000000fff= fefff RDI: > > > ffffffffa9a63200 > > > [=C2=A0=C2=A0=C2=A0 1.310766] RBP: ffff985ce2a796c0 R08: 00000000000= 00000 R09: > > > ffffb19d00c33748 > > > [=C2=A0=C2=A0=C2=A0 1.310766] R10: ffffb19d00c33740 R11: ffffffffa9a= d3248 R12: > > > 0000000000000000 > > > [=C2=A0=C2=A0=C2=A0 1.310766] R13: ffff985cd45a0000 R14: ffff985cd45= a0000 R15: > > > 0000000000000000 > > > [=C2=A0=C2=A0=C2=A0 1.310767] FS:=C2=A0 00007f69fabdc8c0(0000) > > > GS:ffff985f9e640000(0000) > > > knlGS:0000000000000000 > > > [=C2=A0=C2=A0=C2=A0 1.310768] CS:=C2=A0 0010 DS: 0000 ES: 0000 CR0: = 0000000080050033 > > > [=C2=A0=C2=A0=C2=A0 1.310768] CR2: 00007f69fabc5dca CR3: 00000001139= ec000 CR4: > > > 0000000000750ee0 > > > [=C2=A0=C2=A0=C2=A0 1.310769] PKRU: 55555554 > > > [=C2=A0=C2=A0=C2=A0 1.310770] Call Trace: > > > [=C2=A0=C2=A0=C2=A0 1.310772]=C2=A0 amdgpu_ttm_gart_bind+0x79/0xc0 [= amdgpu] > > > [=C2=A0=C2=A0=C2=A0 1.310858]=C2=A0 amdgpu_ttm_alloc_gart+0x146/0x1a= 0 [amdgpu] > > > [=C2=A0=C2=A0=C2=A0 1.310942]=C2=A0 amdgpu_bo_create_reserved.part.0= +0xf8/0x1b0 > > > [amdgpu] > > > [=C2=A0=C2=A0=C2=A0 1.311025]=C2=A0 ? amdgpu_ttm_debugfs_init+0x110/= 0x110 [amdgpu] > > > [=C2=A0=C2=A0=C2=A0 1.311145]=C2=A0 amdgpu_bo_create_kernel+0x3b/0xa= 0 [amdgpu] > > > [=C2=A0=C2=A0=C2=A0 1.311229]=C2=A0 amdgpu_ttm_init.cold+0x165/0x17f= [amdgpu] > > > [=C2=A0=C2=A0=C2=A0 1.311349]=C2=A0 gmc_v10_0_sw_init+0x2dc/0x430 [a= mdgpu] > > > [=C2=A0=C2=A0=C2=A0 1.311455]=C2=A0 amdgpu_device_init.cold+0x1544/0= x1b54 [amdgpu] > > > [=C2=A0=C2=A0=C2=A0 1.311570]=C2=A0 ? acpi_ns_get_node+0x4f/0x5a > > > [=C2=A0=C2=A0=C2=A0 1.311574]=C2=A0 ? acpi_get_handle+0x8e/0xb7 > > > [=C2=A0=C2=A0=C2=A0 1.311576]=C2=A0 amdgpu_driver_load_kms+0x67/0x32= 0 [amdgpu] > > > [=C2=A0=C2=A0=C2=A0 1.311664]=C2=A0 amdgpu_pci_probe+0x1bc/0x290 [am= dgpu] > > > [=C2=A0=C2=A0=C2=A0 1.311750]=C2=A0 local_pci_probe+0x42/0x80 > > > [=C2=A0=C2=A0=C2=A0 1.311753]=C2=A0 ? __cond_resched+0x16/0x40 > > > [=C2=A0=C2=A0=C2=A0 1.311755]=C2=A0 pci_device_probe+0xfd/0x1b0 > > > [=C2=A0=C2=A0=C2=A0 1.311756]=C2=A0 really_probe+0xf2/0x460 > > > [=C2=A0=C2=A0=C2=A0 1.311759]=C2=A0 driver_probe_device+0xe8/0x160 > > > [=C2=A0=C2=A0=C2=A0 1.311760]=C2=A0 device_driver_attach+0xa1/0xb0 > > > [=C2=A0=C2=A0=C2=A0 1.311761]=C2=A0 __driver_attach+0x8f/0x150 > > > [=C2=A0=C2=A0=C2=A0 1.311763]=C2=A0 ? device_driver_attach+0xb0/0xb0 > > > [=C2=A0=C2=A0=C2=A0 1.311764]=C2=A0 ? device_driver_attach+0xb0/0xb0 > > > [=C2=A0=C2=A0=C2=A0 1.311765]=C2=A0 bus_for_each_dev+0x78/0xc0 > > > [=C2=A0=C2=A0=C2=A0 1.311766]=C2=A0 bus_add_driver+0x12b/0x1e0 > > > [=C2=A0=C2=A0=C2=A0 1.311768]=C2=A0 driver_register+0x8f/0xe0 > > > [=C2=A0=C2=A0=C2=A0 1.311769]=C2=A0 ? 0xffffffffc1828000 > > > [=C2=A0=C2=A0=C2=A0 1.311770]=C2=A0 do_one_initcall+0x44/0x1d0 > > > [=C2=A0=C2=A0=C2=A0 1.311772]=C2=A0 ? kmem_cache_alloc_trace+0x103/0= x240 > > > [=C2=A0=C2=A0=C2=A0 1.311775]=C2=A0 do_init_module+0x5c/0x270 > > > [=C2=A0=C2=A0=C2=A0 1.311777]=C2=A0 __do_sys_finit_module+0xb1/0x110 > > > [=C2=A0=C2=A0=C2=A0 1.311779]=C2=A0 do_syscall_64+0x40/0xb0 > > > [=C2=A0=C2=A0=C2=A0 1.311781]=C2=A0 entry_SYSCALL_64_after_hwframe+0= x44/0xae > > > [=C2=A0=C2=A0=C2=A0 1.311783] RIP: 0033:0x7f69fb094679 > > > [=C2=A0=C2=A0=C2=A0 1.311785] Code: 48 8d 3d 9a a1 0c 00 0f 05 eb a5= 66 0f 1f 44 > > > 00 > > > 00 > > > 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 > > > 08 > > > 0f > > > 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d c7 57 0c 00 f7 d8 64 89 > > > 01 > > > 48 > > > [=C2=A0=C2=A0=C2=A0 1.311786] RSP: 002b:00007ffce4131708 EFLAGS: 000= 00246 > > > ORIG_RAX: > > > 0000000000000139 > > > [=C2=A0=C2=A0=C2=A0 1.311788] RAX: ffffffffffffffda RBX: 000055d7135= 0a3a0 RCX: > > > 00007f69fb094679 > > > [=C2=A0=C2=A0=C2=A0 1.311788] RDX: 0000000000000000 RSI: 00007f69fb2= 34eed RDI: > > > 0000000000000013 > > > [=C2=A0=C2=A0=C2=A0 1.311789] RBP: 0000000000020000 R08: 00000000000= 00000 R09: > > > 000055d7134f3930 > > > [=C2=A0=C2=A0=C2=A0 1.311789] R10: 0000000000000013 R11: 00000000000= 00246 R12: > > > 00007f69fb234eed > > > [=C2=A0=C2=A0=C2=A0 1.311790] R13: 0000000000000000 R14: 000055d7134= da0f0 R15: > > > 000055d71350a3a0 > > > [=C2=A0=C2=A0=C2=A0 1.311791] ---[ end trace ff47998e3140e95d ]--- > > > [=C2=A0=C2=A0=C2=A0 1.311793] [drm:amdgpu_ttm_gart_bind [amdgpu]] *E= RROR* failed > > > to > > > bind 1 pages at 0x00400000 > > > [=C2=A0=C2=A0=C2=A0 1.312100] amdgpu 0000:03:00.0: amdgpu: 000000009= 89bdfac bind > > > failed > > > > > > and using https://patchwork.freedesktop.org/patch/469907/ > > > gives a this message: > > > > > > [=C2=A0=C2=A0=C2=A0 1.311502] ------------[ cut here ]------------ > > > [=C2=A0=C2=A0=C2=A0 1.311502] WARNING: CPU: 9 PID: 221 at > > > drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c:244 > > > amdgpu_gart_bind+0x16/0x20 > > > [amdgpu] > > > [=C2=A0=C2=A0=C2=A0 1.311602] Modules linked in: amdgpu(+) gpu_sched > > > i2c_algo_bit > > > drm_ttm_helper hid_sensor_hub ttm hid_generic nvme xhci_pci > > > drm_kms_helper nvme_core t10_pi xhci_hcd crc_t10dif r8169 cec > > > crct10dif_generic i2c_hid_acpi amd_sfh rc_core crct10dif_pclmul > > > realtek > > > i2c_hid crc32_pclmul mdio_devres psmouse usbcore crc32c_intel drm > > > libphy i2c_piix4 crct10dif_common button wmi battery video fjes(- > > > ) > > > hid > > > [=C2=A0=C2=A0=C2=A0 1.311614] CPU: 9 PID: 221 Comm: systemd-udevd No= t tainted > > > 5.13.0+ > > > #6 > > > [=C2=A0=C2=A0=C2=A0 1.311616] Hardware name: Micro-Star Internationa= l Co., Ltd. > > > Alpha > > > 15 B5EEK/MS-158L, BIOS E158LAMS.107 11/10/2021 > > > [=C2=A0=C2=A0=C2=A0 1.311617] RIP: 0010:amdgpu_gart_bind+0x16/0x20 [= amdgpu] > > > [=C2=A0=C2=A0=C2=A0 1.311701] Code: 39 df 74 aa eb dc e8 19 a2 f6 f0= 66 0f 1f 84 > > > 00 > > > 00 > > > 00 00 00 0f 1f 44 00 00 4c 8b 8f 20 25 00 00 4d 85 c9 74 05 e9 3a > > > ff > > > ff > > > ff <0f> 0b c3 0f 1f 80 00 00 00 00 0f 1f 44 00 00 55 48 89 fd 53 > > > 0f > > > ae > > > [=C2=A0=C2=A0=C2=A0 1.311702] RSP: 0018:ffffb5be80b17948 EFLAGS: 000= 10246 > > > [=C2=A0=C2=A0=C2=A0 1.311703] RAX: 0000000000000022 RBX: ffff9867058= 3e858 RCX: > > > ffff98677c8a8738 > > > [=C2=A0=C2=A0=C2=A0 1.311704] RDX: 0000000000000001 RSI: 00000000004= 00000 RDI: > > > ffff986720ce0000 > > > [=C2=A0=C2=A0=C2=A0 1.311704] RBP: ffff986705841a08 R08: 00000000000= 00067 R09: > > > 0000000000000000 > > > [=C2=A0=C2=A0=C2=A0 1.311705] R10: ffff986705841a08 R11: 00000000000= 00400 R12: > > > 0000000000000000 > > > [=C2=A0=C2=A0=C2=A0 1.311705] R13: ffff98670dc50e40 R14: ffff986720c= e0000 R15: > > > 0000000000000000 > > > [=C2=A0=C2=A0=C2=A0 1.311706] FS:=C2=A0 00007ff4ee0968c0(0000) > > > GS:ffff9869de840000(0000) > > > knlGS:0000000000000000 > > > [=C2=A0=C2=A0=C2=A0 1.311707] CS:=C2=A0 0010 DS: 0000 ES: 0000 CR0: = 0000000080050033 > > > [=C2=A0=C2=A0=C2=A0 1.311707] CR2: 00007ff4ee07fdca CR3: 000000017b4= 36000 CR4: > > > 0000000000750ee0 > > > [=C2=A0=C2=A0=C2=A0 1.311708] PKRU: 55555554 > > > [=C2=A0=C2=A0=C2=A0 1.311708] Call Trace: > > > [=C2=A0=C2=A0=C2=A0 1.311710]=C2=A0 amdgpu_ttm_alloc_gart+0x147/0x19= 0 [amdgpu] > > > [=C2=A0=C2=A0=C2=A0 1.311793]=C2=A0 amdgpu_bo_create_reserved.part.0= +0xf8/0x1b0 > > > [amdgpu] > > > [=C2=A0=C2=A0=C2=A0 1.311873]=C2=A0 ? amdgpu_ttm_debugfs_init+0x110/= 0x110 [amdgpu] > > > [=C2=A0=C2=A0=C2=A0 1.311952]=C2=A0 amdgpu_bo_create_kernel+0x3b/0xa= 0 [amdgpu] > > > [=C2=A0=C2=A0=C2=A0 1.312031]=C2=A0 amdgpu_ttm_init.cold+0x165/0x17f= [amdgpu] > > > [=C2=A0=C2=A0=C2=A0 1.312181]=C2=A0 gmc_v10_0_sw_init+0x2dc/0x430 [a= mdgpu] > > > [=C2=A0=C2=A0=C2=A0 1.312275]=C2=A0 amdgpu_device_init.cold+0x1544/0= x1b54 [amdgpu] > > > [=C2=A0=C2=A0=C2=A0 1.312385]=C2=A0 ? acpi_ns_get_node+0x4f/0x5a > > > [=C2=A0=C2=A0=C2=A0 1.312388]=C2=A0 ? acpi_get_handle+0x8e/0xb7 > > > [=C2=A0=C2=A0=C2=A0 1.312390]=C2=A0 amdgpu_driver_load_kms+0x67/0x32= 0 [amdgpu] > > > [=C2=A0=C2=A0=C2=A0 1.312479]=C2=A0 amdgpu_pci_probe+0x1bc/0x290 [am= dgpu] > > > [=C2=A0=C2=A0=C2=A0 1.312573]=C2=A0 local_pci_probe+0x42/0x80 > > > [=C2=A0=C2=A0=C2=A0 1.312578]=C2=A0 ? __cond_resched+0x16/0x40 > > > [=C2=A0=C2=A0=C2=A0 1.312581]=C2=A0 pci_device_probe+0xfd/0x1b0 > > > [=C2=A0=C2=A0=C2=A0 1.312583]=C2=A0 really_probe+0xf2/0x460 > > > [=C2=A0=C2=A0=C2=A0 1.312587]=C2=A0 driver_probe_device+0xe8/0x160 > > > [=C2=A0=C2=A0=C2=A0 1.312589]=C2=A0 device_driver_attach+0xa1/0xb0 > > > [=C2=A0=C2=A0=C2=A0 1.312591]=C2=A0 __driver_attach+0x8f/0x150 > > > [=C2=A0=C2=A0=C2=A0 1.312592]=C2=A0 ? device_driver_attach+0xb0/0xb0 > > > [=C2=A0=C2=A0=C2=A0 1.312593]=C2=A0 ? device_driver_attach+0xb0/0xb0 > > > [=C2=A0=C2=A0=C2=A0 1.312594]=C2=A0 bus_for_each_dev+0x78/0xc0 > > > [=C2=A0=C2=A0=C2=A0 1.312595]=C2=A0 bus_add_driver+0x12b/0x1e0 > > > [=C2=A0=C2=A0=C2=A0 1.312597]=C2=A0 driver_register+0x8f/0xe0 > > > [=C2=A0=C2=A0=C2=A0 1.312598]=C2=A0 ? 0xffffffffc1696000 > > > [=C2=A0=C2=A0=C2=A0 1.312599]=C2=A0 do_one_initcall+0x44/0x1d0 > > > [=C2=A0=C2=A0=C2=A0 1.312602]=C2=A0 ? kmem_cache_alloc_trace+0x103/0= x240 > > > [=C2=A0=C2=A0=C2=A0 1.312604]=C2=A0 do_init_module+0x5c/0x270 > > > [=C2=A0=C2=A0=C2=A0 1.312606]=C2=A0 __do_sys_finit_module+0xb1/0x110 > > > [=C2=A0=C2=A0=C2=A0 1.312608]=C2=A0 do_syscall_64+0x40/0xb0 > > > [=C2=A0=C2=A0=C2=A0 1.312610]=C2=A0 entry_SYSCALL_64_after_hwframe+0= x44/0xae > > > [=C2=A0=C2=A0=C2=A0 1.312614] RIP: 0033:0x7ff4ee54e679 > > > [=C2=A0=C2=A0=C2=A0 1.312616] Code: 48 8d 3d 9a a1 0c 00 0f 05 eb a5= 66 0f 1f 44 > > > 00 > > > 00 > > > 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 > > > 08 > > > 0f > > > 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d c7 57 0c 00 f7 d8 64 89 > > > 01 > > > 48 > > > [=C2=A0=C2=A0=C2=A0 1.312617] RSP: 002b:00007fff9c9d5bc8 EFLAGS: 000= 00246 > > > ORIG_RAX: > > > 0000000000000139 > > > [=C2=A0=C2=A0=C2=A0 1.312618] RAX: ffffffffffffffda RBX: 000055aca9c= f9230 RCX: > > > 00007ff4ee54e679 > > > [=C2=A0=C2=A0=C2=A0 1.312619] RDX: 0000000000000000 RSI: 00007ff4ee6= eeeed RDI: > > > 0000000000000013 > > > [=C2=A0=C2=A0=C2=A0 1.312619] RBP: 0000000000020000 R08: 00000000000= 00000 R09: > > > 000055aca9cdf480 > > > [=C2=A0=C2=A0=C2=A0 1.312620] R10: 0000000000000013 R11: 00000000000= 00246 R12: > > > 00007ff4ee6eeeed > > > [=C2=A0=C2=A0=C2=A0 1.312620] R13: 0000000000000000 R14: 000055aca9c= f9ab0 R15: > > > 000055aca9cf9230 > > > [=C2=A0=C2=A0=C2=A0 1.312622] ---[ end trace c4fc99f16e2a1eb7 ]--- > > > > > > In both cases there's a similar error message for the oth GPU in > > > the > > > system (the integrated one at 08:00.0) > > > > > > Am Mittwoch, dem 19.01.2022 um 23:40 +0100 schrieb Das, Nirmoy: > > > > > > > > On 1/19/2022 10:59 PM, Limonciello, Mario wrote: > > > > > [Public] > > > > > > > > > > > -----Original Message----- > > > > > > From: Bert Karwatzki > > > > > > Sent: Wednesday, January 19, 2022 15:52 > > > > > > To: amd-gfx@lists.freedesktop.org > > > > > > Cc: Limonciello, Mario ; > > > > > > Kazlauskas, > > > > > > Nicholas > > > > > > ; Zhuo, Qingqing (Lillian) > > > > > > ; Scott Bruce ; > > > > > > Alex > > > > > > Deucher > > > > > > ; Chris Hixon > > > > > > > > > > > > Subject: amd-staging-drm-next breaks suspend > > > > > > > > > > > > I just tested drm-staging-drm-next with HEAD > > > > > > f1b2924ee6929cb431440e6f961f06eb65d52beb: > > > > > > Going into suspend leads to a hang again: > > > > > > This is probably caused by > > > > > > [ 1.310551] trying to bind memory to uninitialized GART ! > > > > > > and/or > > > > > > [ 3.976438] trying to bind memory to uninitialized GART ! > > > > > > > > > > > > Could you please also try > > > > https://patchwork.freedesktop.org/patch/469907/=C2=A0? > > > > > > > > > > > > Regards, > > > > > > > > Nirmoy > > > > > > > > > > > >