* [Intel-gfx] [PATCH] drm/i915: Add mmap lock around vma_lookup() to prevent lockdep splats
@ 2021-09-15 10:59 Maarten Lankhorst
2021-09-15 11:57 ` [Intel-gfx] ✗ Fi.CI.BAT: failure for " Patchwork
2021-09-15 13:19 ` [Intel-gfx] [PATCH] " Matthew Auld
0 siblings, 2 replies; 4+ messages in thread
From: Maarten Lankhorst @ 2021-09-15 10:59 UTC (permalink / raw)
To: intel-gfx; +Cc: dri-devel, Maarten Lankhorst
Fixes the following splat:
i915: Running i915_gem_mman_live_selftests/igt_mmap
------------[ cut here ]------------
WARNING: CPU: 3 PID: 5654 at include/linux/mmap_lock.h:164 find_vma+0x4e/0xb0
Modules linked in: i915(+) vgem fuse snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic ledtrig_audio mei_hdcp x86_pkg_temp_thermal coretemp crct10dif_pclmul crc32_pclmul ghash_clmulni_intel snd_intel_dspcfg snd_hda_codec snd_hwdep e1000e snd_hda_core ptp snd_pcm ttm mei_me pps_core i2c_i801 prime_numbers i2c_smbus mei [last unloaded: i915]
CPU: 3 PID: 5654 Comm: i915_selftest Tainted: G U 5.15.0-rc1-CI-Trybot_7984+ #1
Hardware name: Micro-Star International Co., Ltd. MS-7B54/Z370M MORTAR (MS-7B54), BIOS 1.00 10/31/2017
RIP: 0010:find_vma+0x4e/0xb0
Code: de 48 89 ef e8 d3 94 fe ff 48 85 c0 74 34 48 83 c4 08 5b 5d c3 48 8d bf 28 01 00 00 be ff ff ff ff e8 d6 46 8b 00 85 c0 75 c8 <0f> 0b 48 8b 85 b8 00 00 00 48 85 c0 75 c6 48 89 ef e8 12 26 87 00
RSP: 0018:ffffc900013df980 EFLAGS: 00010246
RAX: 0000000000000000 RBX: 00007f9df2b80000 RCX: 0000000000000000
RDX: 0000000000000001 RSI: ffffffff822e314c RDI: ffffffff8233c83f
RBP: ffff88811bafc840 R08: ffff888107d0ddb8 R09: 00000000fffffffe
R10: 0000000000000001 R11: 00000000ffbae7ba R12: 0000000000000000
R13: 0000000000000000 R14: ffff88812a710000 R15: ffff888114fa42c0
FS: 00007f9def9d4c00(0000) GS:ffff888266580000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f799627fe50 CR3: 000000011bbc2006 CR4: 00000000003706e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
__igt_mmap+0xe0/0x490 [i915]
igt_mmap+0xd2/0x160 [i915]
? __trace_bprintk+0x6e/0x80
__i915_subtests.cold.7+0x42/0x92 [i915]
? i915_perf_selftests+0x20/0x20 [i915]
? __i915_nop_setup+0x10/0x10 [i915]
__run_selftests.part.3+0x10d/0x172 [i915]
i915_live_selftests.cold.5+0x1f/0x47 [i915]
i915_pci_probe+0x93/0x1d0 [i915]
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Closes: https://gitlab.freedesktop.org/drm/intel/issues/4129
---
drivers/gpu/drm/i915/gem/selftests/i915_gem_mman.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/gpu/drm/i915/gem/selftests/i915_gem_mman.c b/drivers/gpu/drm/i915/gem/selftests/i915_gem_mman.c
index 02d40eb31a4c..e69e8861352d 100644
--- a/drivers/gpu/drm/i915/gem/selftests/i915_gem_mman.c
+++ b/drivers/gpu/drm/i915/gem/selftests/i915_gem_mman.c
@@ -907,7 +907,9 @@ static int __igt_mmap(struct drm_i915_private *i915,
pr_debug("igt_mmap(%s, %d) @ %lx\n", obj->mm.region->name, type, addr);
+ mmap_read_lock(current->mm);
area = vma_lookup(current->mm, addr);
+ mmap_read_unlock(current->mm);
if (!area) {
pr_err("%s: Did not create a vm_area_struct for the mmap\n",
obj->mm.region->name);
--
2.33.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [Intel-gfx] ✗ Fi.CI.BAT: failure for drm/i915: Add mmap lock around vma_lookup() to prevent lockdep splats
2021-09-15 10:59 [Intel-gfx] [PATCH] drm/i915: Add mmap lock around vma_lookup() to prevent lockdep splats Maarten Lankhorst
@ 2021-09-15 11:57 ` Patchwork
2021-09-15 13:19 ` [Intel-gfx] [PATCH] " Matthew Auld
1 sibling, 0 replies; 4+ messages in thread
From: Patchwork @ 2021-09-15 11:57 UTC (permalink / raw)
To: Maarten Lankhorst; +Cc: intel-gfx
[-- Attachment #1: Type: text/plain, Size: 12508 bytes --]
== Series Details ==
Series: drm/i915: Add mmap lock around vma_lookup() to prevent lockdep splats
URL : https://patchwork.freedesktop.org/series/94687/
State : failure
== Summary ==
CI Bug Log - changes from CI_DRM_10588 -> Patchwork_21055
====================================================
Summary
-------
**FAILURE**
Serious unknown changes coming with Patchwork_21055 absolutely need to be
verified manually.
If you think the reported changes have nothing to do with the changes
introduced in Patchwork_21055, please notify your bug team to allow them
to document this new failure mode, which will reduce false positives in CI.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21055/index.html
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in Patchwork_21055:
### IGT changes ###
#### Possible regressions ####
* igt@i915_module_load@reload:
- fi-skl-guc: [PASS][1] -> [INCOMPLETE][2]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10588/fi-skl-guc/igt@i915_module_load@reload.html
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21055/fi-skl-guc/igt@i915_module_load@reload.html
#### Warnings ####
* igt@i915_module_load@reload:
- fi-kbl-soraka: [INCOMPLETE][3] ([i915#4136]) -> [INCOMPLETE][4]
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10588/fi-kbl-soraka/igt@i915_module_load@reload.html
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21055/fi-kbl-soraka/igt@i915_module_load@reload.html
* igt@runner@aborted:
- fi-icl-y: [FAIL][5] ([i915#3690]) -> [FAIL][6]
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10588/fi-icl-y/igt@runner@aborted.html
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21055/fi-icl-y/igt@runner@aborted.html
#### Suppressed ####
The following results come from untrusted machines, tests, or statuses.
They do not affect the overall result.
* igt@i915_module_load@reload:
- {fi-ehl-2}: [INCOMPLETE][7] ([i915#4136]) -> [INCOMPLETE][8]
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10588/fi-ehl-2/igt@i915_module_load@reload.html
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21055/fi-ehl-2/igt@i915_module_load@reload.html
* igt@runner@aborted:
- {fi-ehl-2}: NOTRUN -> [FAIL][9]
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21055/fi-ehl-2/igt@runner@aborted.html
Known issues
------------
Here are the changes found in Patchwork_21055 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@amdgpu/amd_basic@cs-compute:
- fi-cfl-guc: NOTRUN -> [SKIP][10] ([fdo#109271]) +17 similar issues
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21055/fi-cfl-guc/igt@amdgpu/amd_basic@cs-compute.html
* igt@amdgpu/amd_basic@cs-gfx:
- fi-skl-6700k2: NOTRUN -> [SKIP][11] ([fdo#109271]) +17 similar issues
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21055/fi-skl-6700k2/igt@amdgpu/amd_basic@cs-gfx.html
* igt@amdgpu/amd_basic@cs-sdma:
- fi-cfl-8109u: NOTRUN -> [SKIP][12] ([fdo#109271]) +17 similar issues
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21055/fi-cfl-8109u/igt@amdgpu/amd_basic@cs-sdma.html
- fi-kbl-7500u: NOTRUN -> [SKIP][13] ([fdo#109271]) +17 similar issues
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21055/fi-kbl-7500u/igt@amdgpu/amd_basic@cs-sdma.html
* igt@amdgpu/amd_cs_nop@fork-gfx0:
- fi-icl-u2: NOTRUN -> [SKIP][14] ([fdo#109315]) +17 similar issues
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21055/fi-icl-u2/igt@amdgpu/amd_cs_nop@fork-gfx0.html
* igt@amdgpu/amd_cs_nop@nop-gfx0:
- fi-bwr-2160: NOTRUN -> [SKIP][15] ([fdo#109271]) +17 similar issues
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21055/fi-bwr-2160/igt@amdgpu/amd_cs_nop@nop-gfx0.html
* igt@amdgpu/amd_cs_nop@sync-fork-gfx0:
- fi-cfl-8700k: NOTRUN -> [SKIP][16] ([fdo#109271]) +17 similar issues
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21055/fi-cfl-8700k/igt@amdgpu/amd_cs_nop@sync-fork-gfx0.html
* igt@amdgpu/amd_cs_nop@sync-gfx0:
- fi-rkl-11600: NOTRUN -> [SKIP][17] ([fdo#109315]) +17 similar issues
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21055/fi-rkl-11600/igt@amdgpu/amd_cs_nop@sync-gfx0.html
- fi-kbl-7567u: NOTRUN -> [SKIP][18] ([fdo#109271]) +17 similar issues
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21055/fi-kbl-7567u/igt@amdgpu/amd_cs_nop@sync-gfx0.html
* igt@amdgpu/amd_prime@amd-to-i915:
- fi-pnv-d510: NOTRUN -> [SKIP][19] ([fdo#109271]) +17 similar issues
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21055/fi-pnv-d510/igt@amdgpu/amd_prime@amd-to-i915.html
* igt@core_hotunplug@unbind-rebind:
- fi-rkl-guc: [PASS][20] -> [INCOMPLETE][21] ([i915#4130])
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10588/fi-rkl-guc/igt@core_hotunplug@unbind-rebind.html
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21055/fi-rkl-guc/igt@core_hotunplug@unbind-rebind.html
* igt@i915_module_load@reload:
- fi-cfl-guc: NOTRUN -> [DMESG-WARN][22] ([i915#4136])
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21055/fi-cfl-guc/igt@i915_module_load@reload.html
- fi-icl-y: [PASS][23] -> [INCOMPLETE][24] ([i915#4136])
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10588/fi-icl-y/igt@i915_module_load@reload.html
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21055/fi-icl-y/igt@i915_module_load@reload.html
* igt@kms_flip@basic-flip-vs-dpms:
- fi-rkl-guc: NOTRUN -> [SKIP][25] ([i915#4098])
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21055/fi-rkl-guc/igt@kms_flip@basic-flip-vs-dpms.html
* igt@kms_flip@basic-flip-vs-wf_vblank:
- fi-rkl-guc: NOTRUN -> [SKIP][26] ([i915#3669]) +1 similar issue
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21055/fi-rkl-guc/igt@kms_flip@basic-flip-vs-wf_vblank.html
#### Possible fixes ####
* igt@core_hotunplug@unbind-rebind:
- fi-cfl-guc: [INCOMPLETE][27] ([i915#4130]) -> [PASS][28]
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10588/fi-cfl-guc/igt@core_hotunplug@unbind-rebind.html
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21055/fi-cfl-guc/igt@core_hotunplug@unbind-rebind.html
- fi-icl-u2: [INCOMPLETE][29] ([i915#4130]) -> [PASS][30]
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10588/fi-icl-u2/igt@core_hotunplug@unbind-rebind.html
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21055/fi-icl-u2/igt@core_hotunplug@unbind-rebind.html
- fi-cfl-8109u: [INCOMPLETE][31] ([i915#4130]) -> [PASS][32]
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10588/fi-cfl-8109u/igt@core_hotunplug@unbind-rebind.html
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21055/fi-cfl-8109u/igt@core_hotunplug@unbind-rebind.html
* igt@i915_module_load@reload:
- fi-skl-6700k2: [INCOMPLETE][33] ([i915#4136]) -> [PASS][34]
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10588/fi-skl-6700k2/igt@i915_module_load@reload.html
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21055/fi-skl-6700k2/igt@i915_module_load@reload.html
- fi-kbl-guc: [INCOMPLETE][35] -> [PASS][36]
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10588/fi-kbl-guc/igt@i915_module_load@reload.html
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21055/fi-kbl-guc/igt@i915_module_load@reload.html
* igt@i915_selftest@live@mman:
- fi-bwr-2160: [INCOMPLETE][37] ([i915#4129]) -> [PASS][38]
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10588/fi-bwr-2160/igt@i915_selftest@live@mman.html
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21055/fi-bwr-2160/igt@i915_selftest@live@mman.html
- fi-rkl-11600: [INCOMPLETE][39] ([i915#4129]) -> [PASS][40]
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10588/fi-rkl-11600/igt@i915_selftest@live@mman.html
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21055/fi-rkl-11600/igt@i915_selftest@live@mman.html
- fi-kbl-7567u: [INCOMPLETE][41] ([i915#4129]) -> [PASS][42]
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10588/fi-kbl-7567u/igt@i915_selftest@live@mman.html
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21055/fi-kbl-7567u/igt@i915_selftest@live@mman.html
- fi-cfl-8700k: [INCOMPLETE][43] ([i915#4129]) -> [PASS][44]
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10588/fi-cfl-8700k/igt@i915_selftest@live@mman.html
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21055/fi-cfl-8700k/igt@i915_selftest@live@mman.html
- fi-pnv-d510: [INCOMPLETE][45] ([i915#299]) -> [PASS][46]
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10588/fi-pnv-d510/igt@i915_selftest@live@mman.html
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21055/fi-pnv-d510/igt@i915_selftest@live@mman.html
- fi-kbl-7500u: [INCOMPLETE][47] ([i915#4129]) -> [PASS][48]
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10588/fi-kbl-7500u/igt@i915_selftest@live@mman.html
[48]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21055/fi-kbl-7500u/igt@i915_selftest@live@mman.html
* igt@kms_flip@basic-plain-flip@c-dp1:
- fi-cfl-8109u: [FAIL][49] -> [PASS][50]
[49]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10588/fi-cfl-8109u/igt@kms_flip@basic-plain-flip@c-dp1.html
[50]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21055/fi-cfl-8109u/igt@kms_flip@basic-plain-flip@c-dp1.html
* igt@kms_pipe_crc_basic@compare-crc-sanitycheck-pipe-b:
- fi-cfl-8109u: [DMESG-WARN][51] ([i915#295]) -> [PASS][52] +14 similar issues
[51]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10588/fi-cfl-8109u/igt@kms_pipe_crc_basic@compare-crc-sanitycheck-pipe-b.html
[52]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21055/fi-cfl-8109u/igt@kms_pipe_crc_basic@compare-crc-sanitycheck-pipe-b.html
#### Warnings ####
* igt@runner@aborted:
- fi-skl-guc: [FAIL][53] ([i915#1436] / [i915#2426] / [i915#3363]) -> [FAIL][54] ([i915#2426] / [i915#3363])
[53]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10588/fi-skl-guc/igt@runner@aborted.html
[54]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21055/fi-skl-guc/igt@runner@aborted.html
{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
[fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[fdo#109315]: https://bugs.freedesktop.org/show_bug.cgi?id=109315
[i915#1436]: https://gitlab.freedesktop.org/drm/intel/issues/1436
[i915#2426]: https://gitlab.freedesktop.org/drm/intel/issues/2426
[i915#295]: https://gitlab.freedesktop.org/drm/intel/issues/295
[i915#299]: https://gitlab.freedesktop.org/drm/intel/issues/299
[i915#3363]: https://gitlab.freedesktop.org/drm/intel/issues/3363
[i915#3669]: https://gitlab.freedesktop.org/drm/intel/issues/3669
[i915#3690]: https://gitlab.freedesktop.org/drm/intel/issues/3690
[i915#3970]: https://gitlab.freedesktop.org/drm/intel/issues/3970
[i915#4098]: https://gitlab.freedesktop.org/drm/intel/issues/4098
[i915#4129]: https://gitlab.freedesktop.org/drm/intel/issues/4129
[i915#4130]: https://gitlab.freedesktop.org/drm/intel/issues/4130
[i915#4136]: https://gitlab.freedesktop.org/drm/intel/issues/4136
Participating hosts (40 -> 36)
------------------------------
Missing (4): fi-bdw-samus fi-tgl-1115g4 fi-bsw-cyan bat-dg1-6
Build changes
-------------
* Linux: CI_DRM_10588 -> Patchwork_21055
CI-20190529: 20190529
CI_DRM_10588: 4a090e6b363e3f8736395022588e4cdf51cbc588 @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_6209: 07d6594ed02f55b68d64fa6dd7f80cfbc1ce4ef8 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
Patchwork_21055: 1cf5c04f2b1c5f9af5017c288cafb2a110dfa248 @ git://anongit.freedesktop.org/gfx-ci/linux
== Linux commits ==
1cf5c04f2b1c drm/i915: Add mmap lock around vma_lookup() to prevent lockdep splats
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21055/index.html
[-- Attachment #2: Type: text/html, Size: 15247 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Intel-gfx] [PATCH] drm/i915: Add mmap lock around vma_lookup() to prevent lockdep splats
2021-09-15 10:59 [Intel-gfx] [PATCH] drm/i915: Add mmap lock around vma_lookup() to prevent lockdep splats Maarten Lankhorst
2021-09-15 11:57 ` [Intel-gfx] ✗ Fi.CI.BAT: failure for " Patchwork
@ 2021-09-15 13:19 ` Matthew Auld
2021-09-15 13:26 ` Maarten Lankhorst
1 sibling, 1 reply; 4+ messages in thread
From: Matthew Auld @ 2021-09-15 13:19 UTC (permalink / raw)
To: Maarten Lankhorst; +Cc: Intel Graphics Development, ML dri-devel
On Wed, 15 Sept 2021 at 12:00, Maarten Lankhorst
<maarten.lankhorst@linux.intel.com> wrote:
>
> Fixes the following splat:
>
> i915: Running i915_gem_mman_live_selftests/igt_mmap
> ------------[ cut here ]------------
> WARNING: CPU: 3 PID: 5654 at include/linux/mmap_lock.h:164 find_vma+0x4e/0xb0
> Modules linked in: i915(+) vgem fuse snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic ledtrig_audio mei_hdcp x86_pkg_temp_thermal coretemp crct10dif_pclmul crc32_pclmul ghash_clmulni_intel snd_intel_dspcfg snd_hda_codec snd_hwdep e1000e snd_hda_core ptp snd_pcm ttm mei_me pps_core i2c_i801 prime_numbers i2c_smbus mei [last unloaded: i915]
> CPU: 3 PID: 5654 Comm: i915_selftest Tainted: G U 5.15.0-rc1-CI-Trybot_7984+ #1
> Hardware name: Micro-Star International Co., Ltd. MS-7B54/Z370M MORTAR (MS-7B54), BIOS 1.00 10/31/2017
> RIP: 0010:find_vma+0x4e/0xb0
> Code: de 48 89 ef e8 d3 94 fe ff 48 85 c0 74 34 48 83 c4 08 5b 5d c3 48 8d bf 28 01 00 00 be ff ff ff ff e8 d6 46 8b 00 85 c0 75 c8 <0f> 0b 48 8b 85 b8 00 00 00 48 85 c0 75 c6 48 89 ef e8 12 26 87 00
> RSP: 0018:ffffc900013df980 EFLAGS: 00010246
> RAX: 0000000000000000 RBX: 00007f9df2b80000 RCX: 0000000000000000
> RDX: 0000000000000001 RSI: ffffffff822e314c RDI: ffffffff8233c83f
> RBP: ffff88811bafc840 R08: ffff888107d0ddb8 R09: 00000000fffffffe
> R10: 0000000000000001 R11: 00000000ffbae7ba R12: 0000000000000000
> R13: 0000000000000000 R14: ffff88812a710000 R15: ffff888114fa42c0
> FS: 00007f9def9d4c00(0000) GS:ffff888266580000(0000) knlGS:0000000000000000
> CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
> CR2: 00007f799627fe50 CR3: 000000011bbc2006 CR4: 00000000003706e0
> DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
> DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
> Call Trace:
> __igt_mmap+0xe0/0x490 [i915]
> igt_mmap+0xd2/0x160 [i915]
> ? __trace_bprintk+0x6e/0x80
> __i915_subtests.cold.7+0x42/0x92 [i915]
> ? i915_perf_selftests+0x20/0x20 [i915]
> ? __i915_nop_setup+0x10/0x10 [i915]
> __run_selftests.part.3+0x10d/0x172 [i915]
> i915_live_selftests.cold.5+0x1f/0x47 [i915]
> i915_pci_probe+0x93/0x1d0 [i915]
>
> Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
> Closes: https://gitlab.freedesktop.org/drm/intel/issues/4129
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Intel-gfx] [PATCH] drm/i915: Add mmap lock around vma_lookup() to prevent lockdep splats
2021-09-15 13:19 ` [Intel-gfx] [PATCH] " Matthew Auld
@ 2021-09-15 13:26 ` Maarten Lankhorst
0 siblings, 0 replies; 4+ messages in thread
From: Maarten Lankhorst @ 2021-09-15 13:26 UTC (permalink / raw)
To: Matthew Auld; +Cc: Intel Graphics Development, ML dri-devel
Op 15-09-2021 om 15:19 schreef Matthew Auld:
> On Wed, 15 Sept 2021 at 12:00, Maarten Lankhorst
> <maarten.lankhorst@linux.intel.com> wrote:
>> Fixes the following splat:
>>
>> i915: Running i915_gem_mman_live_selftests/igt_mmap
>> ------------[ cut here ]------------
>> WARNING: CPU: 3 PID: 5654 at include/linux/mmap_lock.h:164 find_vma+0x4e/0xb0
>> Modules linked in: i915(+) vgem fuse snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic ledtrig_audio mei_hdcp x86_pkg_temp_thermal coretemp crct10dif_pclmul crc32_pclmul ghash_clmulni_intel snd_intel_dspcfg snd_hda_codec snd_hwdep e1000e snd_hda_core ptp snd_pcm ttm mei_me pps_core i2c_i801 prime_numbers i2c_smbus mei [last unloaded: i915]
>> CPU: 3 PID: 5654 Comm: i915_selftest Tainted: G U 5.15.0-rc1-CI-Trybot_7984+ #1
>> Hardware name: Micro-Star International Co., Ltd. MS-7B54/Z370M MORTAR (MS-7B54), BIOS 1.00 10/31/2017
>> RIP: 0010:find_vma+0x4e/0xb0
>> Code: de 48 89 ef e8 d3 94 fe ff 48 85 c0 74 34 48 83 c4 08 5b 5d c3 48 8d bf 28 01 00 00 be ff ff ff ff e8 d6 46 8b 00 85 c0 75 c8 <0f> 0b 48 8b 85 b8 00 00 00 48 85 c0 75 c6 48 89 ef e8 12 26 87 00
>> RSP: 0018:ffffc900013df980 EFLAGS: 00010246
>> RAX: 0000000000000000 RBX: 00007f9df2b80000 RCX: 0000000000000000
>> RDX: 0000000000000001 RSI: ffffffff822e314c RDI: ffffffff8233c83f
>> RBP: ffff88811bafc840 R08: ffff888107d0ddb8 R09: 00000000fffffffe
>> R10: 0000000000000001 R11: 00000000ffbae7ba R12: 0000000000000000
>> R13: 0000000000000000 R14: ffff88812a710000 R15: ffff888114fa42c0
>> FS: 00007f9def9d4c00(0000) GS:ffff888266580000(0000) knlGS:0000000000000000
>> CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
>> CR2: 00007f799627fe50 CR3: 000000011bbc2006 CR4: 00000000003706e0
>> DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
>> DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
>> Call Trace:
>> __igt_mmap+0xe0/0x490 [i915]
>> igt_mmap+0xd2/0x160 [i915]
>> ? __trace_bprintk+0x6e/0x80
>> __i915_subtests.cold.7+0x42/0x92 [i915]
>> ? i915_perf_selftests+0x20/0x20 [i915]
>> ? __i915_nop_setup+0x10/0x10 [i915]
>> __run_selftests.part.3+0x10d/0x172 [i915]
>> i915_live_selftests.cold.5+0x1f/0x47 [i915]
>> i915_pci_probe+0x93/0x1d0 [i915]
>>
>> Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
>> Closes: https://gitlab.freedesktop.org/drm/intel/issues/4129
> Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Thanks, pushed to gt-next. :)
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2021-09-15 13:26 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-09-15 10:59 [Intel-gfx] [PATCH] drm/i915: Add mmap lock around vma_lookup() to prevent lockdep splats Maarten Lankhorst
2021-09-15 11:57 ` [Intel-gfx] ✗ Fi.CI.BAT: failure for " Patchwork
2021-09-15 13:19 ` [Intel-gfx] [PATCH] " Matthew Auld
2021-09-15 13:26 ` Maarten Lankhorst
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox