hit bug on in __xe_vm_unbind_vma/__xe_pt_prepare_unbind
Under Neo/memory_benchmark_ocl - after this MapBuffer(api=ocl size=128MB contents=Zeros compressed=0 mapFlags=WriteInvalidate useEvents=0), face:
[238627.232738] ==================================================================
[238627.240145] BUG: KASAN: stack-out-of-bounds in __xe_pt_prepare_unbind+0x6cf/0x9b0 [xe]
[238627.248492] Write of size 8 at addr ffff888191bff8f0 by task kworker/u161:3/21922
[238627.257766] CPU: 41 PID: 21922 Comm: kworker/u161:3 Tainted: G E 5.19.0-2908+ #1
[238627.266662] Hardware name: HPE ProLiant DL380 Gen10/ProLiant DL380 Gen10, BIOS U30 09/03/2021
[238627.275376] Workqueue: events_unbound async_op_work_func [xe]
[238627.281528] Call Trace:
[238627.284102] <TASK>
[238627.286324] dump_stack_lvl+0x49/0x63
[238627.290144] print_address_description.constprop.0+0x24/0x1f0
[238627.296066] ? __xe_pt_prepare_unbind+0x6cf/0x9b0 [xe]
[238627.301600] kasan_report.cold+0xd9/0x136
[238627.305765] ? __xe_pt_prepare_unbind+0x6cf/0x9b0 [xe]
[238627.311300] __asan_store8+0x70/0xa0
[238627.315025] __xe_pt_prepare_unbind+0x6cf/0x9b0 [xe]
[238627.320382] ? __cpuidle_text_end+0x6/0x6
[238627.324563] ? vm_insert_extobj.isra.0+0x140/0x140 [xe]
[238627.330195] __xe_pt_prepare_unbind+0x619/0x9b0 [xe]
[238627.335570] ? vm_insert_extobj.isra.0+0x140/0x140 [xe]
[238627.341203] __xe_pt_prepare_unbind+0x4c7/0x9b0 [xe]
[238627.346579] ? vm_insert_extobj.isra.0+0x140/0x140 [xe]
[238627.352200] ? update_stack_state+0x1ec/0x2c0
[238627.356731] __xe_pt_prepare_unbind+0x4c7/0x9b0 [xe]
[238627.362107] ? vm_insert_extobj.isra.0+0x140/0x140 [xe]
[238627.367724] ? ret_from_fork+0x1f/0x30
[238627.371638] __xe_vm_unbind_vma+0x172/0x710 [xe]
[238627.376659] ? __xe_pt_prepare_unbind+0x9b0/0x9b0 [xe]
[238627.382190] ? __rcu_read_unlock+0x53/0x80
[238627.386458] ? preempt_count_sub+0x18/0xc0
[238627.390753] ? preempt_count_sub+0x18/0xc0
[238627.395009] ? _raw_spin_unlock_irqrestore+0x27/0x50
[238627.400139] ? __wake_up_common_lock+0xfd/0x150
[238627.404839] __vm_bind_ioctl+0x1f6/0x970 [xe]
[238627.409595] ? vm_destroy_work_func+0x440/0x440 [xe]
[238627.414950] ? __kasan_check_read+0x11/0x20
[238627.419289] ? ww_mutex_lock_interruptible+0xdd/0x150
[238627.424512] ? __ww_mutex_lock_interruptible_slowpath+0x20/0x20
[238627.430611] ? dma_resv_reserve_fences+0x1a8/0x300
[238627.435575] ? ttm_eu_reserve_buffers+0x298/0x460 [ttm]
[238627.441056] vm_bind_ioctl.constprop.0+0x3ca/0x5a0 [xe]
[238627.446688] ? __vm_bind_ioctl+0x970/0x970 [xe]
[238627.451603] ? _raw_spin_lock+0x88/0xe0
[238627.455591] ? _raw_spin_lock_bh+0xe0/0xe0
[238627.459849] ? sched_clock_cpu+0x67/0x1f0
[238627.464014] ? __kasan_check_read+0x11/0x20
[238627.468358] ? __kasan_check_write+0x14/0x20
[238627.472790] ? down_write_killable+0x120/0x120
[238627.477409] async_op_work_func+0x3b0/0x7f0 [xe]
[238627.482429] ? xe_vm_bind_ioctl+0x2250/0x2250 [xe]
[238627.487612] ? __schedule+0x5d2/0x1110
[238627.491525] process_one_work+0x44f/0x740
[238627.495704] worker_thread+0x2bb/0x6f0
[238627.499618] ? process_one_work+0x740/0x740
[238627.503961] kthread+0x175/0x1b0
[238627.507334] ? kthread_complete_and_exit+0x30/0x30
[238627.512292] ret_from_fork+0x1f/0x30
[238627.516036] </TASK>
[238627.519952] The buggy address belongs to stack of task kworker/u161:3/21922
[238627.527087] and is located at offset 568 in frame:
[238627.532114] __xe_vm_unbind_vma+0x0/0x710 [xe]
[238627.538549] This frame has 2 objects:
[238627.542352] [48, 52) 'num_entries'
[238627.542365] [64, 568) 'entries'
[238627.550949] The buggy address belongs to the physical page:
[238627.556677] page:0000000044efe102 refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x191bff
[238627.556702] flags: 0x17ffffc0000000(node=0|zone=2|lastcpupid=0x1fffff)
[238627.556731] raw: 0017ffffc0000000 0000000000000000 ffffea000646ffc8 0000000000000000
[238627.556753] raw: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000000
[238627.556769] page dumped because: kasan: bad access detected
[238627.558389] Memory state around the buggy address:
[238627.563330] ffff888191bff780: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[238627.570732] ffff888191bff800: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[238627.578132] >ffff888191bff880: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 f3 f3
[238627.585529] ^
[238627.592576] ffff888191bff900: f3 f3 f3 f3 f3 f3 f3 00 00 00 00 00 00 00 00 00
[238627.599977] ffff888191bff980: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 f1 f1
[238627.607373] ==================================================================
[238627.614897] Disabling lock debugging due to kernel taint
[238627.615137] ------------[ cut here ]------------
[238627.615148] kernel BUG at drivers/gpu/drm/xe/xe_vm.c:1755!
[238627.620831] invalid opcode: 0000 [#1] PREEMPT SMP KASAN PTI
[238627.626572] CPU: 41 PID: 21922 Comm: kworker/u161:3 Tainted: G B E 5.19.0-2908+ #1
[238627.635469] Hardware name: HPE ProLiant DL380 Gen10/ProLiant DL380 Gen10, BIOS U30 09/03/2021
[238627.644183] Workqueue: events_unbound async_op_work_func [xe]
[238627.650336] RIP: 0010:__xe_vm_unbind_vma+0x6f1/0x710 [xe]
[238627.656132] Code: 00 01 00 00 e8 a0 6c f3 f0 48 8b bb 00 01 00 00 ba 03 00 00 00 48 8b b5 08 fd ff ff e8 38 4d 8c f1 e9 db fd ff ff 0f 0b 0f 0b <0f> 0b 48 8d 85 78 fd ff ff 48 89 85 30 fd ff ff e9 06 fd ff ff e8
[238627.675198] RSP: 0018:ffff888191bff640 EFLAGS: 00010212
[238627.680589] RAX: 0000000000000000 RBX: 000000000000000c RCX: ffff888191bff6f8
[238627.687903] RDX: ffffffffc0bfa060 RSI: 0000000000000000 RDI: 0000000000000000
[238627.695214] RBP: ffff888191bff980 R08: 0000000000000001 R09: 0000000000000000
[238627.702525] R10: 0000000000000040 R11: 0000000000000001 R12: 0000800408010000
[238627.709838] R13: 0000000000000040 R14: ffff888346c8a800 R15: ffff88813d42e800
[238627.717152] FS: 0000000000000000(0000) GS:ffff8897c2480000(0000) knlGS:0000000000000000
[238627.725432] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[238627.731339] CR2: 00007f4542582730 CR3: 000000100f40e005 CR4: 00000000007706e0
[238627.738654] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[238627.745964] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[238627.753274] PKRU: 55555554
[238627.756111] Call Trace:
[238627.758682] <TASK>
[238627.760921] ? __xe_pt_prepare_unbind+0x9b0/0x9b0 [xe]
[238627.766450] ? __rcu_read_unlock+0x53/0x80
[238627.770719] ? preempt_count_sub+0x18/0xc0
[238627.775016] ? preempt_count_sub+0x18/0xc0
[238627.779283] __vm_bind_ioctl+0x1f6/0x970 [xe]
[238627.784026] WARNING: kernel stack frame pointer at 00000000321a2d75 in kworker/u161:3:21922 has bad value 0000000051b57354
[238627.784042] unwind stack type:0 next_sp:0000000000000000 mask:0x2 graph_idx:0
[238627.784053] 00000000321a2d75: 00000000017f0000 (0x17f0000)
[238627.784068] 000000005c0cdf3c: ffffffffc0bdfcb6 (__vm_bind_ioctl+0x1f6/0x970 [xe])
[238627.784320] 0000000033d83261: 0000000000000000 ...
[238627.784327] 00000000afb4cd4a: ffff88815e7ff800 (0xffff88815e7ff800)
[238627.784343] 0000000070309c0a: 0000020000000000 (0x20000000000)
[238627.784356] 00000000e32d4840: ffff8881336e8e80 (0xffff8881336e8e80)
[238627.784372] 0000000085dbef87: ffff88813d42e800 (0xffff88813d42e800)
[238627.784386] 00000000e7d44e57: 00000000019f0000 (0x19f0000)
[238627.784399] 0000000085380bf2: 0000000000000000 ...
[238627.784406] 00000000a799eece: ffff888100000000 (0xffff888100000000)
[238627.784421] 0000000038be1a30: ffff88815e7f8800 (0xffff88815e7f8800)
[238627.784437] 00000000001ad147: 0000020000000000 (0x20000000000)
[238627.784450] 00000000ec106d53: ffff8881336e8cc0 (0xffff8881336e8cc0)
[238627.784465] 000000009cb06403: ffff88813d42e800 (0xffff88813d42e800)
[238627.784480] 000000005aebad9f: 0000000001bf0000 (0x1bf0000)
[238627.784493] 00000000ff249552: ffffffffc0c01548 (gt_was+0x5c48/0xffffffffffff0700 [xe])
[238627.784736] 0000000019d47122: ffffffff00000000 (0xffffffff00000000)
[238627.784751] 0000000050557b88: ffff88815e7f9000 (0xffff88815e7f9000)
[238627.784766] 00000000b9994250: 0000020000000000 (0x20000000000)
[238627.784780] 000000002d3b7053: ffff8881336e8580 (0xffff8881336e8580)
[238627.784795] 000000005cce9fea: ffff88813d42e800 (0xffff88813d42e800)
[238627.784810] 0000000085c29f97: 0000000001df0000 (0x1df0000)
[238627.784823] 0000000098e65f6d: ffffffffb2bc3040 (__ww_mutex_lock_interruptible_slowpath+0x20/0x20)
[238627.784853] 00000000dc586035: ffff888100000000 (0xffff888100000000)
[238627.784868] 00000000af5d7231: ffff88815e7fc800 (0xffff88815e7fc800)
[238627.784883] 00000000ca61e26f: 0000020000000000 (0x20000000000)
[238627.784896] 00000000a2028058: ffff8881336e8280 (0xffff8881336e8280)
[238627.784911] 000000006123cde9: ffff88813d42e800 (0xffff88813d42e800)
[238627.784926] 0000000082cfe6db: 0000000001ff0000 (0x1ff0000)
[238627.784939] 000000002e04b4dc: ffff888100000000 (0xffff888100000000)
[238627.784954] 000000003e42f4da: ffff888100000000 (0xffff888100000000)
[238627.784969] 00000000a87c379c: ffff88815e7f9800 (0xffff88815e7f9800)
[238627.784984] 000000000f779da0: 0000020000000000 (0x20000000000)
[238627.784997] 00000000ea82ea89: ffff8881336e80c0 (0xffff8881336e80c0)
[238627.785012] 00000000b55ee9f9: ffff88813d42e800 (0xffff88813d42e800)
[238627.785027] 0000000016fa38bb: 00000000021f0000 (0x21f0000)
[238627.785040] 000000007c31db19: ffff888191bffb08 (0xffff888191bffb08)
[238627.785055] 00000000f79cf4b6: ffffffff00000000 (0xffffffff00000000)
[238627.785070] 00000000bcaeb524: ffff88815e7fa800 (0xffff88815e7fa800)
[238627.785084] 00000000abc2e2f7: 0000020000000000 (0x20000000000)
[238627.785098] 00000000e0ca8ea4: ffff8881336e8b40 (0xffff8881336e8b40)
[238627.785113] 00000000253a1fd9: ffff88813d42e800 (0xffff88813d42e800)
[238627.785128] 00000000efd674bc: 00000000023f0000 (0x23f0000)
[238627.785141] 00000000924a3b8e: ffff88813d42e800 (0xffff88813d42e800)
[238627.785155] 00000000c28363b6: ffff888100000000 (0xffff888100000000)
[238627.785170] 00000000b7d5c18f: ffff88815e7fd000 (0xffff88815e7fd000)
[238627.785185] 000000001768545f: 0000020000000000 (0x20000000000)
[238627.785199] 0000000038c81d85: ffff8881336e8840 (0xffff8881336e8840)
[238627.785214] 000000001d43eda1: ffff88813d42e800 (0xffff88813d42e800)
[238627.785229] 00000000283719a4: 00000000025f0000 (0x25f0000)
[238627.785241] 00000000b2c7d1a3: ffff8882cdffc300 (0xffff8882cdffc300)
[238627.785256] 000000006b8f330a: ffff888100000000 (0xffff888100000000)
[238627.785271] 00000000efa4a1de: ffff88815e7fc000 (0xffff88815e7fc000)
[238627.785286] 000000001af530f8: 0000020000000000 (0x20000000000)
[238627.785300] 00000000323d096a: ffff8881336e81c0 (0xffff8881336e81c0)
[238627.785314] 00000000347213db: ffff88813d42e800 (0xffff88813d42e800)
[238627.785329] 0000000092ae1990: 00000000027f0000 (0x27f0000)
[238627.785342] 0000000093ce2452: 1ffff1103237ff6c (0x1ffff1103237ff6c)
[238627.785357] 000000001bc0c8cf: 0000000000000000 ...
[238627.785364] 00000000c34803f2: ffff88815e7ff000 (0xffff88815e7ff000)
[238627.785379] 000000000a89636a: 0000020000000000 (0x20000000000)
[238627.785393] 000000006bf72c98: ffff8881336e8600 (0xffff8881336e8600)
[238627.785408] 00000000def01cf3: ffff88813d42e800 (0xffff88813d42e800)
[238627.785422] 0000000066f8a89d: 00000000029f0000 (0x29f0000)
[238627.785435] 0000000054af1322: ffff888191bffc40 (0xffff888191bffc40)
[238627.785450] 00000000515d539c: ffff888100000000 (0xffff888100000000)
[238627.785465] 000000001511d54c: ffff88815e7fe800 (0xffff88815e7fe800)
[238627.785480] 00000000a1c16c93: 0000020000000000 (0x20000000000)
[238627.785493] 00000000dbec63ca: ffff8881336e8880 (0xffff8881336e8880)
[238627.785508] 00000000353280ba: ffff88813d42e800 (0xffff88813d42e800)
[238627.785523] 00000000bdd262fc: 0000000002bf0000 (0x2bf0000)
[238627.785536] 0000000068ea8778: ffff888191bffbc8 (0xffff888191bffbc8)
[238627.785551] 000000000eca6f91: ffff888300000000 (0xffff888300000000)
[238627.785565] 00000000ae2d3803: ffff88815e7fd800 (0xffff88815e7fd800)
[238627.785580] 0000000040ed390f: 0000020000000000 (0x20000000000)
[238627.785594] 000000001b28043d: ffff8881336e84c0 (0xffff8881336e84c0)
[238627.785609] 000000009c9bd7e3: ffff88813d42e800 (0xffff88813d42e800)
[238627.785624] 00000000b8322a33: 0000000002df0000 (0x2df0000)
[238627.785636] 00000000a0ece89d: 0000000000000006 (0x6)
[238627.785648] 0000000091452531: ffffffff00000000 (0xffffffff00000000)
[238627.785663] 00000000bdc8ae86: ffff88815e7fb800 (0xffff88815e7fb800)
[238627.785678] 0000000079330feb: 0000020000000000 (0x20000000000)
[238627.785691] 00000000aad6ae15: ffff8881336e82c0 (0xffff8881336e82c0)
[238627.785706] 000000005f668e6d: ffff88813d42e800 (0xffff88813d42e800)
[238627.785721] 000000009d834982: 0000000002ff0000 (0x2ff0000)
[238627.785734] 00000000f1b4aed7: ffff888346c8a8e0 (0xffff888346c8a8e0)
[238627.785748] 00000000b0803672: ffff888100000000 (0xffff888100000000)
[238627.785763] 000000004463ff27: ffff88820628b000 (0xffff88820628b000)
[238627.785778] 00000000256db340: 0000020000000000 (0x20000000000)
[238627.785792] 0000000060315689: ffff8881336e8dc0 (0xffff8881336e8dc0)
[238627.785807] 0000000099a2ee8c: ffff88813d42e800 (0xffff88813d42e800)
[238627.785822] 000000001542d856: 00000000031f0000 (0x31f0000)
[238627.785834] 00000000fc0c080a: ffffffffb2bc6270 (down_write_killable+0x120/0x120)
[238627.785862] 00000000962e2841: ffffffff00000000 (0xffffffff00000000)
[238627.785877] 000000000e0a5c21: ffff88820628e000 (0xffff88820628e000)
[238627.785892] 0000000075552892: 0000020000000000 (0x20000000000)
[238627.785905] 00000000fe052c75: ffff8881336e8900 (0xffff8881336e8900)
[238627.785920] 000000006d52ead1: ffff88813d42e800 (0xffff88813d42e800)
[238627.785935] 00000000880f7c33: 00000000033f0000 (0x33f0000)
[238627.785948] 0000000099db21ab: 145afaa46e1c1d00 (0x145afaa46e1c1d00)
[238627.785962] 0000000005bb48fe: ffff888300000000 (0xffff888300000000)
[238627.785977] 000000009b3295c5: ffff88820628c800 (0xffff88820628c800)
[238627.785992] 00000000d68b2f27: 0000020000000000 (0x20000000000)
[238627.786006] 0000000028bbd149: ffff8881336e85c0 (0xffff8881336e85c0)
[238627.786021] 0000000000200efb: ffff88813d42e800 (0xffff88813d42e800)
[238627.786036] 00000000e146979d: 00000000035f0000 (0x35f0000)
[238627.786048] 0000000031c4502f: ffffffffc0be2fd0 (async_op_work_func+0x3b0/0x7f0 [xe])
[238627.786296] 0000000030a99760: ffff888200000000 (0xffff888200000000)
[238627.786311] 00000000450f3fae: ffff88820628f000 (0xffff88820628f000)
[238627.786326] 00000000a593a630: 0000020000000000 (0x20000000000)
[238627.786340] 00000000b2f18289: ffff8881336e8a40 (0xffff8881336e8a40)
[238627.786355] 0000000020a9de29: ffff88813d42e800 (0xffff88813d42e800)
[238627.786369] 00000000598c26f9: 00000000037f0000 (0x37f0000)
[238627.786382] 00000000b8bfba88: ffff888346c8a850 (0xffff888346c8a850)
[238627.786397] 0000000073434eb9: ffff888300000000 (0xffff888300000000)
[238627.786412] 0000000081e179cc: ffff888206289800 (0xffff888206289800)
[238627.786427] 00000000f93499bb: 0000020000000000 (0x20000000000)
[238627.786440] 00000000950e7b8a: ffff8881336e8680 (0xffff8881336e8680)
[238627.786455] 00000000b1cbf898: ffff88813d42e800 (0xffff88813d42e800)
[238627.786470] 000000004e6bfd72: 00000000039f0000 (0x39f0000)
[238627.786483] 000000003f4cce00: ffffffffc0bff1ff (gt_was+0x38ff/0xffffffffffff0700 [xe])
[238627.786725] 0000000012f56e23: ffffffff00000000 (0xffffffff00000000)
[238627.786740] 00000000e9066e1b: ffff88817c9dd000 (0xffff88817c9dd000)
[238627.786755] 000000005674174c: 0000020000000000 (0x20000000000)
[238627.786769] 0000000069723b9e: ffff8881336e8200 (0xffff8881336e8200)
[238627.786783] 0000000082ad1c6e: ffff88813d42e800 (0xffff88813d42e800)
[238627.786798] 0000000092a355aa: 0000000003bf0000 (0x3bf0000)
[238627.786811] 000000003c4c7269: ffff8897c24c1c50 (0xffff8897c24c1c50)
[238627.786826] 00000000c9d7bd2a: ffff888300000000 (0xffff888300000000)
[238627.786841] 000000001e3936e6: ffff88817c9d9000 (0xffff88817c9d9000)
[238627.786856] 000000004efb52f8: 0000020000000000 (0x20000000000)
[238627.786869] 00000000eb819448: ffff8881336e8980 (0xffff8881336e8980)
[238627.786884] 00000000fccc629d: ffff88813d42e800 (0xffff88813d42e800)
[238627.786899] 00000000e8b1787e: 0000000003df0000 (0x3df0000)
[238627.786912] 00000000e776920b: 145afaa46e1c1d00 (0x145afaa46e1c1d00)
[238627.786926] 0000000069bc1549: 0000000000000000 ...
[238627.786934] 00000000a0462201: ffff88817c9dc000 (0xffff88817c9dc000)
[238627.786948] 000000009ce9e6d5: 0000020000000000 (0x20000000000)
[238627.786962] 00000000aafb64ad: ffff8881336e8bc0 (0xffff8881336e8bc0)
[238627.786977] 000000000f2926c2: ffff88813d42e800 (0xffff88813d42e800)
[238627.786992] 000000000299d7cb: 0000000003ff0000 (0x3ff0000)
[238627.787004] 0000000019570f27: ffffffffb17355df (process_one_work+0x44f/0x740)
[238627.787028] 0000000047e78daf: ffff888100000000 (0xffff888100000000)
[238627.787043] 000000004173be45: ffff88817c9dc800 (0xffff88817c9dc800)
[238627.787058] 0000000087ca6736: 0000020000000000 (0x20000000000)
[238627.787072] 0000000031e70ce8: ffff8881336e8780 (0xffff8881336e8780)
[238627.787087] 0000000047d5a257: ffff88813d42e800 (0xffff88813d42e800)
[238627.787101] 00000000103ff32c: 00000000041f0000 (0x41f0000)
[238627.787114] 0000000046f2256d: ffff8881000aa205 (0xffff8881000aa205)
[238627.787129] 0000000081be3431: ffff888300000000 (0xffff888300000000)
[238627.787144] 000000002ccb57c4: ffff8881289cc000 (0xffff8881289cc000)
[238627.787159] 000000000bc0f2f2: 0000020000000000 (0x20000000000)
[238627.787172] 00000000af40ecb4: ffff8881336e86c0 (0xffff8881336e86c0)
[238627.787187] 0000000062963a77: ffff88813d42e800 (0xffff88813d42e800)
[238627.787202] 00000000fa7616bb: 00000000043f0000 (0x43f0000)
[238627.787214] 000000009e0a7660: ffff888346c8a958 (0xffff888346c8a958)
[238627.787229] 000000006c918b15: ffff888100000000 (0xffff888100000000)
[238627.787244] 0000000047da1fe1: ffff88818ed04000 (0xffff88818ed04000)
[238627.787259] 000000000c25c054: 0000020000000000 (0x20000000000)
[238627.787273] 0000000000c9b31b: ffff8881336e8b00 (0xffff8881336e8b00)
[238627.787287] 00000000640cc6c9: ffff88813d42e800 (0xffff88813d42e800)
[238627.787302] 00000000aa01d5c6: 00000000045f0000 (0x45f0000)
[238627.787315] 000000004f00f10e: ffff888109ce7440 (0xffff888109ce7440)
[238627.787330] 0000000098333ad3: ffff888100000000 (0xffff888100000000)
[238627.787345] 000000001de53475: ffff88818ed02800 (0xffff88818ed02800)
[238627.787359] 00000000a75da72d: 0000020000000000 (0x20000000000)
[238627.787373] 0000000068a2fb32: ffff8881336e8e40 (0xffff8881336e8e40)
[238627.787388] 000000007b3e8360: ffff88813d42e800 (0xffff88813d42e800)
[238627.787403] 000000000d508a05: 00000000047f0000 (0x47f0000)
[238627.787415] 0000000029dae9c6: ffff888109ce7400 (0xffff888109ce7400)
[238627.787430] 0000000083cf7778: ffff888100000000 (0xffff888100000000)
[238627.787445] 00000000a6d7a081: ffff888212e9c800 (0xffff888212e9c800)
[238627.787460] 00000000222d6500: 0000020000000000 (0x20000000000)
[238627.787474] 0000000076da88c8: ffff8881336e8f80 (0xffff8881336e8f80)
[238627.787488] 000000001500bd71: ffff88813d42e800 (0xffff88813d42e800)
[238627.787503] 00000000b233b587: 00000000049f0000 (0x49f0000)
[238627.787516] 00000000463f1953: ffff888109ce7400 (0xffff888109ce7400)
[238627.787531] 000000004f077ded: ffff888100000000 (0xffff888100000000)
[238627.787546] 00000000a43d20d0: ffff888212e9e000 (0xffff888212e9e000)
[238627.787560] 000000007115ea84: 0000020000000000 (0x20000000000)
[238627.787574] 0000000018f9b724: ffff8881336e8240 (0xffff8881336e8240)
[238627.787589] 000000005c8766c2: ffff88813d42e800 (0xffff88813d42e800)
[238627.787604] 00000000e944e518: 0000000004bf0000 (0x4bf0000)
[238627.787616] 00000000110d33d0: 0000000000000000 ...
[238627.787623] 0000000012b6cd98: ffff888212e9a800 (0xffff888212e9a800)
[238627.787638] 000000005c1d207c: 0000020000000000 (0x20000000000)
[238627.787652] 0000000045f559cd: ffff8881336e8f40 (0xffff8881336e8f40)
[238627.787667] 000000005460e518: ffff88813d42e800 (0xffff88813d42e800)
[238627.787682] 00000000c4347aa0: 0000000004df0000 (0x4df0000)
[238627.787694] 000000007a9ef5e7: 0000000000000000 ...
[238627.787701] 0000000052ed25e6: ffff888212e9d000 (0xffff888212e9d000)
[238627.787716] 000000005224baec: 0000020000000000 (0x20000000000)
[238627.787730] 00000000c97ac8f6: ffff8881336e89c0 (0xffff8881336e89c0)
[238627.787745] 000000004673eb19: ffff88813d42e800 (0xffff88813d42e800)
[238627.787760] 00000000bb1d6f34: 0000000004ff0000 (0x4ff0000)
[238627.787772] 00000000767ea112: 0000000000000000 ...
[238627.787779] 00000000e7a1b288: ffff8881711a7000 (0xffff8881711a7000)
[238627.787794] 000000006c7041f7: 0000020000000000 (0x20000000000)
[238627.787808] 00000000bbe21ad1: ffff8881336e8940 (0xffff8881336e8940)
[238627.787823] 00000000c1a26dfc: ffff88813d42e800 (0xffff88813d42e800)
[238627.787837] 00000000f88c1018: 00000000051f0000 (0x51f0000)
[238627.787850] 0000000000d668f8: 0000000000000000 ...
[238627.787857] 00000000c3072670: ffff8881711a2800 (0xffff8881711a2800)
[238627.787872] 000000003eac488c: 0000020000000000 (0x20000000000)
[238627.787903] ? __ww_mutex_lock_interruptible_slowpath+0x20/0x20
[238629.082874] ? down_write_killable+0x120/0x120
[238629.087492] ? async_op_work_func+0x3b0/0x7f0 [xe]
[238629.092701] ? process_one_work+0x44f/0x740
[238629.097096] </TASK>
[238629.099406] Modules linked in: xe(E) drm_suballoc_helper(E) gpu_sched(E) drm_ttm_helper(E) ttm(E) xt_conntrack(E) xt_MASQUERADE(E) nf_conntrack_netlink(E) nfnetlink(E) xfrm_user(E) xfrm_algo(E) xt_addrtype(E) iptable_nat(E) nf_nat(E) nf_conntrack(E) nf_defrag_ipv6(E) nf_defrag_ipv4(E) bpfilter(E) binfmt_misc(E) nls_iso8859_1(E) dm_multipath(E) scsi_dh_rdac(E) scsi_dh_emc(E) scsi_dh_alua(E) intel_rapl_msr(E) intel_rapl_common(E) isst_if_common(E) x86_pkg_temp_thermal(E) intel_powerclamp(E) coretemp(E) kvm_intel(E) ipmi_ssif(E) kvm(E) rapl(E) input_leds(E) intel_cstate(E) ipmi_si(E) mei_me(E) ipmi_devintf(E) acpi_tad(E) ipmi_msghandler(E) mei(E) hpilo(E) acpi_power_meter(E) ioatdma(E) mac_hid(E) wmi(E) dca(E) sch_fq_codel(E) overlay(E) iptable_filter(E) ip6table_filter(E) ip6_tables(E) br_netfilter(E) bridge(E) stp(E) llc(E) arp_tables(E) msr(E) ip_tables(E) x_tables(E) autofs4(E) btrfs(E) blake2b_generic(E) zstd_compress(E) raid10(E) raid456(E) async_raid6_recov(E) async_memcpy(E)
[238629.100092] async_pq(E) async_xor(E) async_tx(E) libcrc32c(E) xor(E) raid6_pq(E) raid1(E) raid0(E) multipath(E) linear(E) ses(E) enclosure(E) crct10dif_pclmul(E) crc32_pclmul(E) ghash_clmulni_intel(E) hid_generic(E) aesni_intel(E) crypto_simd(E) smartpqi(E) usbhid(E) cryptd(E) uas(E) i40e(E) scsi_transport_sas(E) usb_storage(E) hid(E) tg3(E) lpc_ich(E)
[238629.219827] ---[ end trace 0000000000000000 ]---
[238629.308333] RIP: 0010:__xe_vm_unbind_vma+0x6f1/0x710 [xe]
[238629.314159] Code: 00 01 00 00 e8 a0 6c f3 f0 48 8b bb 00 01 00 00 ba 03 00 00 00 48 8b b5 08 fd ff ff e8 38 4d 8c f1 e9 db fd ff ff 0f 0b 0f 0b <0f> 0b 48 8d 85 78 fd ff ff 48 89 85 30 fd ff ff e9 06 fd ff ff e8
[238629.333266] RSP: 0018:ffff888191bff640 EFLAGS: 00010212
[238629.338714] RAX: 0000000000000000 RBX: 000000000000000c RCX: ffff888191bff6f8
[238629.346065] RDX: ffffffffc0bfa060 RSI: 0000000000000000 RDI: 0000000000000000
[238629.353415] RBP: ffff888191bff980 R08: 0000000000000001 R09: 0000000000000000
[238629.360765] R10: 0000000000000040 R11: 0000000000000001 R12: 0000800408010000
[238629.368126] R13: 0000000000000040 R14: ffff888346c8a800 R15: ffff88813d42e800
[238629.375479] FS: 0000000000000000(0000) GS:ffff8897c2480000(0000) knlGS:0000000000000000
[238629.383804] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[238629.389752] CR2: 00007f4542582730 CR3: 000000100f40e005 CR4: 00000000007706e0
[238629.397104] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[238629.404452] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[238629.411803] PKRU: 55555554
static struct dma_fence *
1741 __xe_vm_unbind_vma(struct xe_gt *gt, struct xe_vma *vma, struct xe_engine *e,
1742 struct xe_sync_entry *syncs, u32 num_syncs)
1743 {
1744 struct xe_vm_pgtable_update entries[XE_VM_MAX_LEVEL * 2 + 1];
1745 struct xe_vm *vm = vma->vm;
1746 u32 num_entries;
1747 struct dma_fence *fence = NULL;
1748 u32 i;
1749
1750 xe_bo_assert_held(vma->bo);
1751 xe_vm_assert_held(vm);
1752 XE_BUG_ON(xe_gt_is_media_type(gt));
1753
1754 xe_pt_prepare_unbind(gt, vma, entries, &num_entries);
1755 XE_BUG_ON(num_entries > ARRAY_SIZE(entries));
1756
1757 vm_dbg(&vm->xe->drm, "%u entries to update\n", num_entries);