ci starts bisection 2022-12-25 13:29:48.201638815 +0000 UTC m=+230196.524820989 bisecting fixing commit since ff6992735ade75aae3e35d16b17da1008d753d28 building syzkaller on 95cb00d1ffccfb9043ac5d91ff8103bbb9befae8 ensuring issue is reproducible on original commit ff6992735ade75aae3e35d16b17da1008d753d28 testing commit ff6992735ade75aae3e35d16b17da1008d753d28 gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: bf1ad129615a27c9644e134460f73aefb36ad0d059a6cc584a52284924eea03c all runs: crashed: WARNING in fuse_writepages_fill testing current HEAD 72a85e2b0a1e1e6fb4ee51ae902730212b2de25c testing commit 72a85e2b0a1e1e6fb4ee51ae902730212b2de25c gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 811315d0ccbc68e1cd2f061eb72ada401f801921148dcad88128a56049c82095 all runs: OK # git bisect start 72a85e2b0a1e1e6fb4ee51ae902730212b2de25c ff6992735ade75aae3e35d16b17da1008d753d28 Bisecting: 23285 revisions left to test after this (roughly 15 steps) [76e45035348c247a70ed50eb29a9906657e4444f] Merge tag 'for-6.1-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux testing commit 76e45035348c247a70ed50eb29a9906657e4444f gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 066dc7f5b170714d6c6d11363e1259e52263efb722134c86b0d3b3db64e500f6 all runs: crashed: WARNING in wireless_send_event # git bisect good 76e45035348c247a70ed50eb29a9906657e4444f Bisecting: 11668 revisions left to test after this (roughly 14 steps) [97971df811b8854882c0f6c6631e23ab8cdcc44f] Merge tag 'dlm-6.2' of git://git.kernel.org/pub/scm/linux/kernel/git/teigland/linux-dlm testing commit 97971df811b8854882c0f6c6631e23ab8cdcc44f gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: e3ad1a221a05d380f1b0d980e1a2a1b9115ff62a10bd4308d7567d3662e04beb all runs: OK # git bisect bad 97971df811b8854882c0f6c6631e23ab8cdcc44f Bisecting: 5819 revisions left to test after this (roughly 13 steps) [b08cd74448fafaa302ce2bc11beab5e5a55d0065] Merge tag '6.1-rc-smb3-client-fixes-part2' of git://git.samba.org/sfrench/cifs-2.6 testing commit b08cd74448fafaa302ce2bc11beab5e5a55d0065 gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 37bec86a7a203268e05d8570122f37f4d701d0fb45a94867975e46bc700ef8b7 all runs: boot failed: WARNING in __netif_set_xps_queue # git bisect skip b08cd74448fafaa302ce2bc11beab5e5a55d0065 Bisecting: 5819 revisions left to test after this (roughly 13 steps) [9f7e3ed268520f4d539c03d4d48a604a9658ba37] arm64: defconfig: Enable TI_TFP410 DVI bridge testing commit 9f7e3ed268520f4d539c03d4d48a604a9658ba37 gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 249050997d381e2d24d477e2e4ec92ff42f9f34d0ada9138813b977d214878db all runs: boot failed: WARNING in __netif_set_xps_queue # git bisect skip 9f7e3ed268520f4d539c03d4d48a604a9658ba37 Bisecting: 5819 revisions left to test after this (roughly 13 steps) [0e444a4de6b38c4593a07e4cfb5bf54c40cc79b6] drm/amd/display: don't enable DRM CRTC degamma property for DCE testing commit 0e444a4de6b38c4593a07e4cfb5bf54c40cc79b6 gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 226a64aba30764a317e9190a7741b75bb3f340afed1c18d5dff27f0151cf8c1f all runs: OK # git bisect bad 0e444a4de6b38c4593a07e4cfb5bf54c40cc79b6 Bisecting: 3846 revisions left to test after this (roughly 12 steps) [70442fc54e6889a2a77f0e9554e8188a1557f00e] Merge tag 'x86_mm_for_v6.1_rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip testing commit 70442fc54e6889a2a77f0e9554e8188a1557f00e gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 132d5e602220e9479518da8090a08a85276ab6e1578378e9bb187dabb13149c1 all runs: boot failed: WARNING in cpumask_next_wrap # git bisect skip 70442fc54e6889a2a77f0e9554e8188a1557f00e Bisecting: 3846 revisions left to test after this (roughly 12 steps) [2a4ea83bb8e54986703187edce59c9130a75eb26] phy: tegra: xusb: Fix crash during pad power on/down testing commit 2a4ea83bb8e54986703187edce59c9130a75eb26 gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: a4fa9eca638709fe1479a3569f43e59c44083fdd79b94357ae573ecb48e1fd1f all runs: boot failed: WARNING in __netif_set_xps_queue # git bisect skip 2a4ea83bb8e54986703187edce59c9130a75eb26 Bisecting: 3846 revisions left to test after this (roughly 12 steps) [876fcc4222e1d0e5b73343f4010a8b66be058f48] drm/amd/display: Validate DSC After Enable All New CRTCs testing commit 876fcc4222e1d0e5b73343f4010a8b66be058f48 gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 6dd47dfee0331cd95e1878394ac5acfa441354e8af57fd647023979d041fa15b all runs: OK # git bisect bad 876fcc4222e1d0e5b73343f4010a8b66be058f48 Bisecting: 31 revisions left to test after this (roughly 5 steps) [46c87432e3d4cea8e1a7ac6e9e3ebd2462f47617] drm/amd/display: Add missing mask sh for SYM32_TP_SQ_PULSE register testing commit 46c87432e3d4cea8e1a7ac6e9e3ebd2462f47617 gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 2b72d820013a3c2ecb149b258820545be6300eecf06d9e611ab68b37e5b73bc4 all runs: OK # git bisect bad 46c87432e3d4cea8e1a7ac6e9e3ebd2462f47617 Bisecting: 15 revisions left to test after this (roughly 4 steps) [345d6493476615494bd79a8fe77661918ea7c61a] drm/amd/display: Add log for LTTPR testing commit 345d6493476615494bd79a8fe77661918ea7c61a gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: c7dac08bc424d008e2b3f8ec132cce87dc38cfd6e4dcacff757ac9fa6de9bf75 all runs: OK # git bisect bad 345d6493476615494bd79a8fe77661918ea7c61a Bisecting: 7 revisions left to test after this (roughly 3 steps) [96ab3cb3b0f862308a03046d01d66c7b4154846b] Revert "drm/amd/display: correct hostvm flag" testing commit 96ab3cb3b0f862308a03046d01d66c7b4154846b gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 965302f5899eab54fa6a79136748cd58476c0a4dca2c4201cfc44b518e92050e all runs: OK # git bisect bad 96ab3cb3b0f862308a03046d01d66c7b4154846b Bisecting: 4 revisions left to test after this (roughly 2 steps) [8abbc4f768ddc5c2190ab8966e529cec42b4b2d4] drivers/amd/pm: check the return value of amdgpu_bo_kmap testing commit 8abbc4f768ddc5c2190ab8966e529cec42b4b2d4 gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 96d5f8ab6fb21fb26fad8ca33dc04b0900f21ad2eab0b5d5307e9f1ee5422c48 all runs: OK # git bisect bad 8abbc4f768ddc5c2190ab8966e529cec42b4b2d4 Bisecting: 1 revision left to test after this (roughly 1 step) [8ab1d7a27eff87001ebd0977db600e4187f63f78] drm/amd/display: Only commit SubVP state after pipe programming testing commit 8ab1d7a27eff87001ebd0977db600e4187f63f78 gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 4df0ffd1b486d54b91db4c9bc582ac2e4fc357af526c66b5429fa079bc17db88 all runs: OK # git bisect bad 8ab1d7a27eff87001ebd0977db600e4187f63f78 Bisecting: 0 revisions left to test after this (roughly 0 steps) [91954c6c904b515baafaee6a1f35c94409a3bb68] drm/amd/display: Fix mutex lock in dcn10 testing commit 91954c6c904b515baafaee6a1f35c94409a3bb68 gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: ad288a0a25bb0f4bd8ed7032d7c746419aef82bf8726a3cb0b1658713cd5bf31 all runs: OK # git bisect bad 91954c6c904b515baafaee6a1f35c94409a3bb68 91954c6c904b515baafaee6a1f35c94409a3bb68 is the first bad commit commit 91954c6c904b515baafaee6a1f35c94409a3bb68 Author: Daniel Gomez Date: Sun Sep 25 23:53:13 2022 +0200 drm/amd/display: Fix mutex lock in dcn10 Removal of DC_FP_* wrappers from dml (9696679bf7ac) provokes a mutex lock [2] on the amdgpu driver. Re-arrange the dcn10 code to avoid locking the mutex by placing the DC_FP_* wrappers around the proper functions. This fixes the following WARN/stacktrace: BUG: sleeping function called from invalid context at kernel/locking/mutex.c:283 in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 227, name: systemd-udevd preempt_count: 1, expected: 0 CPU: 4 PID: 227 Comm: systemd-udevd Not tainted 6.0.0-rc6-qtec-standard #2 Hardware name: Qtechnology A/S QT5222/QT5221, BIOS v1.0.1 06/07/2021 Call Trace: dump_stack_lvl+0x33/0x42 __might_resched.cold.172+0xa5/0xb3 mutex_lock+0x1a/0x40 amdgpu_dpm_get_clock_by_type_with_voltage+0x38/0x70 [amdgpu] dm_pp_get_clock_levels_by_type_with_voltage+0x64/0xa0 [amdgpu] dcn_bw_update_from_pplib+0x70/0x340 [amdgpu] dcn10_create_resource_pool+0x8c8/0xd20 [amdgpu] ? __kmalloc+0x1c7/0x4a0 dc_create_resource_pool+0xe7/0x190 [amdgpu] dc_create+0x212/0x5d0 [amdgpu] amdgpu_dm_init+0x246/0x370 [amdgpu] ? schedule_hrtimeout_range_clock+0x93/0x120 ? phm_wait_for_register_unequal.part.1+0x4a/0x80 [amdgpu] dm_hw_init+0xe/0x20 [amdgpu] amdgpu_device_init.cold.56+0x1324/0x1653 [amdgpu] ? pci_bus_read_config_word+0x43/0x80 amdgpu_driver_load_kms+0x15/0x120 [amdgpu] amdgpu_pci_probe+0x116/0x320 [amdgpu] pci_device_probe+0x97/0x110 really_probe+0xdd/0x340 __driver_probe_device+0x80/0x170 driver_probe_device+0x1f/0x90 __driver_attach+0xdc/0x180 ? __device_attach_driver+0x100/0x100 ? __device_attach_driver+0x100/0x100 bus_for_each_dev+0x74/0xc0 bus_add_driver+0x19e/0x210 ? kset_find_obj+0x30/0xa0 ? 0xffffffffa0a5b000 driver_register+0x6b/0xc0 ? 0xffffffffa0a5b000 do_one_initcall+0x4a/0x1f0 ? __vunmap+0x28e/0x2f0 ? __cond_resched+0x15/0x30 ? kmem_cache_alloc_trace+0x3d/0x440 do_init_module+0x4a/0x1e0 load_module+0x1cba/0x1e10 ? __do_sys_finit_module+0xb7/0x120 __do_sys_finit_module+0xb7/0x120 do_syscall_64+0x3c/0x80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7ff2b5f5422d Code: 5d c3 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa 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 c3 ab 0e 00 f7 d8 64 89 01 48 RSP: 002b:00007ffc44ab28e8 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 RAX: ffffffffffffffda RBX: 0000555c566a9240 RCX: 00007ff2b5f5422d RDX: 0000000000000000 RSI: 00007ff2b60bb353 RDI: 0000000000000019 RBP: 00007ff2b60bb353 R08: 0000000000000000 R09: 0000555c566a9240 R10: 0000000000000019 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000020000 R14: 0000000000000000 R15: 0000000000000000 Fixes: 9696679bf7ac ("drm/amd/display: remove DC_FP_* wrapper from dml folder") Reviewed-by: Hamza Mahfooz Tested-by: Daniel Wheeler Signed-off-by: Daniel Gomez Signed-off-by: Alex Deucher .../drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c | 12 ++- .../gpu/drm/amd/display/dc/dcn10/dcn10_resource.c | 66 +++++++++++- .../gpu/drm/amd/display/dc/dml/calcs/dcn_calcs.c | 118 +++++++++------------ drivers/gpu/drm/amd/display/dc/inc/dcn_calcs.h | 19 +++- 4 files changed, 138 insertions(+), 77 deletions(-) parent commit 65898687cf7392c372ea8d04a88617e2cb794465 wasn't tested testing commit 65898687cf7392c372ea8d04a88617e2cb794465 gcc compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 95a6a5dd5779f9c97d3dd9fbd093d67b1f20391028f7b3be3ba21bb0234362ba culprit signature: ad288a0a25bb0f4bd8ed7032d7c746419aef82bf8726a3cb0b1658713cd5bf31 parent signature: 95a6a5dd5779f9c97d3dd9fbd093d67b1f20391028f7b3be3ba21bb0234362ba revisions tested: 16, total time: 4h31m7.840213919s (build: 2h6m31.623749325s, test: 2h20m18.839656171s) first good commit: 91954c6c904b515baafaee6a1f35c94409a3bb68 drm/amd/display: Fix mutex lock in dcn10 recipients (to): ["alexander.deucher@amd.com" "daniel.wheeler@amd.com" "daniel@qtec.com" "hamza.mahfooz@amd.com"] recipients (cc): []