[Bug 105176] [IGT] gem_shrink/pwrite-userptr races on obj->mm.pages_pin_count
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Tue Feb 20 20:18:50 UTC 2018
https://bugs.freedesktop.org/show_bug.cgi?id=105176
Chris Wilson <chris at chris-wilson.co.uk> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|[IGT] gem_shrink subtest |[IGT]
|has dmesg-warn WARNING: |gem_shrink/pwrite-userptr
|CPU: 3 PID: 1762 at |races on
|mm/page_alloc.c:4133 |obj->mm.pages_pin_count
|__alloc_pages_slowpath+0xd8 |
|c/0xdb0 |
--- Comment #6 from Chris Wilson <chris at chris-wilson.co.uk> ---
Ah, I see. Someone reported the wrong dmesg-warn. The issue here is:
[ 80.552326] [IGT] gem_shrink: starting subtest pwrite-userptr
[ 341.073195] ------------[ cut here ]------------
[ 341.073198] Failed to release pages: bind_count=0, pages_pin_count=1,
pin_global=0
[ 341.073288] WARNING: CPU: 11 PID: 2038 at
drivers/gpu/drm/i915/i915_gem_userptr.c:89 cancel_userptr+0xe5/0xf0 [i915]
[ 341.073289] Modules linked in: snd_hda_codec_hdmi snd_hda_codec_realtek
snd_hda_codec_generic nls_iso8859_1 iwlmvm mac80211 8250_dw snd_hda_intel
intel_rapl x86_pkg_temp_thermal snd_hda_codec intel_powerclamp snd_hda_core
coretemp snd_hwdep kvm_intel snd_pcm kvm irqbypass snd_seq_midi
snd_seq_midi_event crct10dif_pclmul crc32_pclmul snd_rawmidi
ghash_clmulni_intel pcbc snd_seq aesni_intel aes_x86_64 crypto_simd glue_helper
snd_seq_device cryptd snd_timer iwlwifi intel_cstate intel_rapl_perf snd
input_leds idma64 serio_raw wmi_bmof virt_dma cfg80211 intel_lpss_pci soundcore
intel_pch_thermal intel_lpss mac_hid tpm_crb acpi_pad parport_pc ppdev lp
parport ip_tables x_tables autofs4 hid_generic usbhid uas hid usb_storage i915
e1000e ahci libahci wmi video
[ 341.073319] CPU: 11 PID: 2038 Comm: kworker/u24:30 Tainted: G U
4.16.0-rc1-drm-intel-qa-ww8-commit-79e91ad+ #1
[ 341.073320] Hardware name: Intel Corporation CoffeeLake Client
Platform/CoffeeLake H DDR4 RVP, BIOS CNLSFWR1.R00.X118.B07.1801040709
01/04/2018
[ 341.073349] Workqueue: i915-userptr-release cancel_userptr [i915]
[ 341.073370] RIP: 0010:cancel_userptr+0xe5/0xf0 [i915]
[ 341.073371] RSP: 0018:ffff9bc607cc7e60 EFLAGS: 00010282
[ 341.073372] RAX: 0000000000000000 RBX: ffff8fb538bd6400 RCX:
0000000000000006
[ 341.073373] RDX: 0000000000000007 RSI: 0000000000000082 RDI:
ffff8fb70b4d6590
[ 341.073373] RBP: ffff8fb538bd65b0 R08: 0000000000000001 R09:
00000000000009e0
[ 341.073374] R10: ffff9bc607cc7e60 R11: 00000000000009e0 R12:
0000000000000000
[ 341.073375] R13: 0000000000000000 R14: 0ffff8fb6f8a78e6 R15:
ffff8fb6f8e7ec00
[ 341.073376] FS: 0000000000000000(0000) GS:ffff8fb70b4c0000(0000)
knlGS:0000000000000000
[ 341.073377] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 341.073378] CR2: 000056295dcd5af5 CR3: 000000049100a005 CR4:
00000000003606e0
[ 341.073378] DR0: 0000000000000000 DR1: 0000000000000000 DR2:
0000000000000000
[ 341.073379] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7:
0000000000000400
[ 341.073380] Call Trace:
[ 341.073388] process_one_work+0x154/0x3d0
[ 341.073390] worker_thread+0x4a/0x440
[ 341.073391] kthread+0xf5/0x130
[ 341.073393] ? rescuer_thread+0x370/0x370
[ 341.073394] ? kthread_associate_blkcg+0x90/0x90
[ 341.073398] ret_from_fork+0x35/0x40
[ 341.073400] Code: 02 d3 fe ff eb c9 8b 93 d0 01 00 00 8b 8b ac 01 00 00 48
c7 c7 08 45 27 c0 8b b3 a4 01 00 00 c6 05 fc 7b 17 00 01 e8 2b 20 0f d2 <0f> ff
eb bc 0f 1f 80 00 00 00 00 0f 1f 44 00 00 41 57 41 56 41
[ 341.073421] ---[ end trace 8fa48fec1312957b ]---
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are on the CC list for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20180220/2d2c3d82/attachment.html>
More information about the intel-gfx-bugs
mailing list