Bug 111093

Summary: [CI][BAT] igt@runner@aborted - fail - Previous test: i915_selftest (live_workarounds), Invalid RING_NONPRIV[3], BUG: kernel NULL pointer dereference, address expected 0x10002349, found 0x00002348,
Product: DRI Reporter: Martin Peres <martin.peres>
Component: DRM/IntelAssignee: Intel GFX Bugs mailing list <intel-gfx-bugs>
Status: RESOLVED FIXED QA Contact: Intel GFX Bugs mailing list <intel-gfx-bugs>
Severity: normal    
Priority: high CC: intel-gfx-bugs
Version: XOrg git   
Hardware: Other   
OS: All   
Whiteboard: ReadyForDev
i915 platform: ICL i915 features: GEM/Other

Description Martin Peres 2019-07-09 10:17:38 UTC
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6433/fi-icl-dsi/igt@runner@aborted.html

<3>[  352.564727] Invalid RING_NONPRIV[3], expected 0x10002349, found 0x00002348
<3>[  352.564775] Invalid whitelist *before* engine reset!
<1>[  352.564784] BUG: kernel NULL pointer dereference, address: 0000000000000000
<1>[  352.564787] #PF: supervisor read access in kernel mode
<1>[  352.564789] #PF: error_code(0x0000) - not-present page
<6>[  352.564791] PGD 0 P4D 0 
<4>[  352.564795] Oops: 0000 [#1] PREEMPT SMP PTI
<4>[  352.564798] CPU: 1 PID: 4321 Comm: i915_selftest Tainted: G     U            5.2.0-CI-CI_DRM_6433+ #1
<4>[  352.564801] Hardware name: Intel Corporation Ice Lake Client Platform/IceLake Y LPDDR4x T4 RVP TLC, BIOS ICLSFWR1.R00.3102.A00.1903052247 03/05/2019
<4>[  352.564863] RIP: 0010:intel_gt_chipset_flush+0x3/0x20 [i915]
<4>[  352.564866] Code: 20 0a e1 8b 44 24 04 48 83 c4 08 48 89 ef 5b 5d 41 5c 89 c6 e9 0e f9 fd ff e8 09 2f d1 e0 eb a0 0f 1f 80 00 00 00 00 0f ae f8 <48> 8b 07 80 b8 da 0b 00 00 05 76 02 f3 c3 e9 ea 2e d1 e0 66 2e 0f
<4>[  352.564868] RSP: 0018:ffffc90000533990 EFLAGS: 00010282
<4>[  352.564871] RAX: ffff888294e49000 RBX: ffffc900005339c0 RCX: 0000000000000000
<4>[  352.564873] RDX: 0000000000000000 RSI: ffff8881d48808e0 RDI: 0000000000000000
<4>[  352.564875] RBP: ffff88828bf5aa88 R08: 0000000016bebc3c R09: 0000000000000000
<4>[  352.564877] R10: 0000000000000000 R11: 0000000000000000 R12: ffff8881e9790000
<4>[  352.564879] R13: ffffffffa0aa8e13 R14: ffffffffa0925cf0 R15: 00000000ffffffea
<4>[  352.564881] FS:  00007f73c32a5240(0000) GS:ffff88829bc80000(0000) knlGS:0000000000000000
<4>[  352.564883] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
<4>[  352.564885] CR2: 0000000000000000 CR3: 00000001f87d0003 CR4: 0000000000760ee0
<4>[  352.564887] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
<4>[  352.564889] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
<4>[  352.564890] PKRU: 55555554
<4>[  352.564892] Call Trace:
<4>[  352.564963]  igt_spinner_fini+0x18/0x1d0 [i915]
<4>[  352.565025]  check_whitelist_across_reset+0xfb/0x2f0 [i915]
<4>[  352.565081]  live_reset_whitelist+0x4f/0x90 [i915]
<4>[  352.565149]  __i915_subtests+0xb8/0x210 [i915]
<4>[  352.565212]  ? i915_live_selftests+0x60/0x60 [i915]
<4>[  352.565271]  ? __i915_nop_setup+0x10/0x10 [i915]
<4>[  352.565314]  intel_workarounds_live_selftests+0x4a/0x60 [i915]
<4>[  352.565314]  __run_selftests+0x112/0x170 [i915]
<4>[  352.565314]  i915_live_selftests+0x2c/0x60 [i915]
<4>[  352.565314]  i915_pci_probe+0x83/0x1a0 [i915]
<4>[  352.565314]  ? _raw_spin_unlock_irqrestore+0x39/0x60
<4>[  352.565314]  pci_device_probe+0x9e/0x120
<4>[  352.565314]  really_probe+0xea/0x3c0
<4>[  352.565314]  driver_probe_device+0x10b/0x120
<4>[  352.565314]  device_driver_attach+0x4a/0x50
<4>[  352.565314]  __driver_attach+0x97/0x130
<4>[  352.565314]  ? device_driver_attach+0x50/0x50
<4>[  352.565314]  bus_for_each_dev+0x74/0xc0
<4>[  352.565314]  bus_add_driver+0x13f/0x210
<4>[  352.565314]  ? 0xffffffffa019f000
<4>[  352.565314]  driver_register+0x56/0xe0
<4>[  352.565314]  ? 0xffffffffa019f000
<4>[  352.565314]  do_one_initcall+0x58/0x300
<4>[  352.565314]  ? do_init_module+0x1d/0x1f6
<4>[  352.565314]  ? rcu_read_lock_sched_held+0x6f/0x80
<4>[  352.565314]  ? kmem_cache_alloc_trace+0x261/0x290
<4>[  352.565314]  do_init_module+0x56/0x1f6
<4>[  352.565314]  load_module+0x24d1/0x2990
<4>[  352.565314]  ? __se_sys_finit_module+0xd3/0xf0
<4>[  352.565314]  __se_sys_finit_module+0xd3/0xf0
<4>[  352.565314]  do_syscall_64+0x55/0x1c0
<4>[  352.565314]  entry_SYSCALL_64_after_hwframe+0x49/0xbe
<4>[  352.565314] RIP: 0033:0x7f73c295e839
<4>[  352.565314] Code: 00 f3 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 1f f6 2c 00 f7 d8 64 89 01 48
<4>[  352.565314] RSP: 002b:00007fffab644ca8 EFLAGS: 00000246 ORIG_RAX: 0000000000000139
<4>[  352.565314] RAX: ffffffffffffffda RBX: 0000565122110e30 RCX: 00007f73c295e839
<4>[  352.565314] RDX: 0000000000000000 RSI: 0000565122109e50 RDI: 0000000000000006
<4>[  352.565314] RBP: 0000565122109e50 R08: 0000000000000004 R09: 0000565120865c1b
<4>[  352.565314] R10: 00007fffab644ef0 R11: 0000000000000246 R12: 0000000000000000
<4>[  352.565314] R13: 000056512210b560 R14: 0000000000000020 R15: 000000000000004a
<4>[  352.565314] Modules linked in: i915(+) amdgpu gpu_sched ttm vgem snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic mei_hdcp x86_pkg_temp_thermal coretemp ax88179_178a usbnet mii crct10dif_pclmul crc32_pclmul snd_hda_codec e1000e snd_hwdep ghash_clmulni_intel snd_hda_core ptp pps_core snd_pcm mei_me mei prime_numbers [last unloaded: i915]
Comment 1 Chris Wilson 2019-07-09 10:19:36 UTC
commit baf08ed50a614f21398f30e11d4b6ba2ffecc36e
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Mon Jul 8 22:55:24 2019 +0100

    drm/i915/selftests: Set igt_spinner.gt for early exit
    
    Set up a default gt pointer for an early cleanup of igt_spinnter, before
    a request is created and igt_spinner.gt set to the active engine's.
    
    Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
    Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
    Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
    Link: https://patchwork.freedesktop.org/patch/msgid/20190708215524.31639-1-chris@chris-wilson.co.uk
Comment 2 CI Bug Log 2019-07-09 10:43:57 UTC
The CI Bug Log issue associated to this bug has been updated.

### New filters associated

* ICL: igt@runner@aborted - fail - Previous test: i915_selftest (live_workarounds)
  - https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13480/shard-iclb1/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Trybot_4551/fi-icl-guc/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Trybot_4539/fi-icl-u2/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Trybot_4539/fi-icl-u3/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Trybot_4539/fi-icl-u4/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Trybot_4552/fi-icl-dsi/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Trybot_4552/fi-icl-guc/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Trybot_4552/fi-icl-u2/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Trybot_4552/fi-icl-u3/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Trybot_4552/fi-icl-u4/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Trybot_4553/fi-icl-dsi/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Trybot_4553/fi-icl-guc/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Trybot_4553/fi-icl-u2/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Trybot_4553/fi-icl-u4/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Trybot_4555/fi-icl-dsi/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Trybot_4555/fi-icl-u2/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Trybot_4555/fi-icl-u3/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Trybot_4555/fi-icl-u4/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Trybot_4556/fi-icl-u2/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Trybot_4556/fi-icl-u3/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Trybot_4556/fi-icl-u4/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Trybot_4557/fi-icl-u2/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Trybot_4557/fi-icl-u3/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Trybot_4557/fi-icl-u4/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Trybot_4560/fi-icl-u2/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Trybot_4560/fi-icl-u3/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Trybot_4561/fi-icl-u2/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Trybot_4561/fi-icl-u3/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13476/shard-iclb3/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13476/shard-iclb7/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Trybot_4563/fi-icl-dsi/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Trybot_4563/fi-icl-guc/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Trybot_4563/fi-icl-u2/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Trybot_4563/fi-icl-u3/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Trybot_4563/fi-icl-u4/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Trybot_4568/fi-icl-u2/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Trybot_4568/fi-icl-u3/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Trybot_4568/fi-icl-u4/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13557/shard-iclb1/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6433/fi-icl-dsi/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13572/fi-icl-dsi/igt@runner@aborted.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13574/fi-icl-dsi/igt@runner@aborted.html

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.