Bug 112393

Summary: [CI][SHARDS]igt@kms_* - incomplete - general protection fault: 0000 [#1] PREEMPT SMP NOPTI
Product: DRI Reporter: Lakshmi <lakshminarayana.vudum>
Component: DRM/IntelAssignee: Intel GFX Bugs mailing list <intel-gfx-bugs>
Status: RESOLVED DUPLICATE QA Contact: Intel GFX Bugs mailing list <intel-gfx-bugs>
Severity: major    
Priority: high CC: intel-gfx-bugs
Version: DRI git   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: TGL i915 features:

Description Lakshmi 2019-11-26 08:37:59 UTC
https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7419/shard-tglb2/igt@kms_frontbuffer_tracking@psr-1p-primscrn-pri-indfb-draw-render.html
<4> [87.263761] general protection fault: 0000 [#1] PREEMPT SMP NOPTI
<4> [87.263766] CPU: 7 PID: 1247 Comm: kms_frontbuffer Tainted: G     U            5.4.0-rc8-CI-CI_DRM_7419+ #1
<4> [87.263768] Hardware name: Intel Corporation Tiger Lake Client Platform/TigerLake U DDR4 SODIMM RVP, BIOS TGLSFWI1.R00.2321.A08.1909162051 09/16/2019
<4> [87.263773] RIP: 0010:match_held_lock+0x18/0x160
<4> [87.263774] Code: 82 48 c7 c7 a8 6b 08 82 e8 85 d6 f9 ff 0f 0b 31 c0 c3 48 39 77 10 b8 01 00 00 00 74 52 44 8b 47 24 45 85 c0 74 47 48 83 ec 08 <48> 8b 46 08 48 85 c0 74 7f 8b 15 51 e1 84 02 85 d2 74 34 48 2d 60
<4> [87.263776] RSP: 0018:ffffc90000f87990 EFLAGS: 00010086
<4> [87.263778] RAX: 0000000000000001 RBX: ffff888480084920 RCX: 0000000000000001
<4> [87.263779] RDX: 0000000000000000 RSI: 6b6b6b6b6b6b6d53 RDI: ffff888480084920
<4> [87.263780] RBP: ffff888480084040 R08: 000000000000002b R09: 0000000000000001
<4> [87.263780] R10: ffffc90000f879f0 R11: 0000000045c2dbd8 R12: 6b6b6b6b6b6b6d53
<4> [87.263781] R13: ffff8884800848d0 R14: 0000000000000002 R15: 0000000000000246
<4> [87.263782] FS:  00007ffb6605e300(0000) GS:ffff8884a0780000(0000) knlGS:0000000000000000
<4> [87.263783] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
<4> [87.263784] CR2: 000055c7f0fa2000 CR3: 0000000484a72001 CR4: 0000000000760ee0
<4> [87.263785] PKRU: 55555554
<4> [87.263786] Call Trace:
<4> [87.263820]  ? intel_pin_and_fence_fb_obj+0x7a/0x200 [i915]
<4> [87.263822]  lock_is_held_type+0x8b/0x100
<4> [87.263861]  __i915_vma_unbind+0x3f/0x70 [i915]
<4> [87.263898]  i915_vma_unbind+0x2d/0x50 [i915]
<4> [87.264270]  i915_gem_object_set_cache_level+0x81/0x320 [i915]
<4> [87.264305]  i915_gem_object_pin_to_display_plane+0x5d/0x160 [i915]
<4> [87.264346]  intel_pin_and_fence_fb_obj+0x9e/0x200 [i915]
<7> [87.264409] [drm:intel_power_well_disable [i915]] disabling always-on
<4> [87.264460]  intel_plane_pin_fb+0x3f/0xd0 [i915]
<4> [87.264498]  intel_prepare_plane_fb+0x130/0x520 [i915]
<4> [87.264500]  drm_atomic_helper_prepare_planes+0x85/0x110
<4> [87.264535]  intel_atomic_commit+0xc6/0x350 [i915]
<4> [87.264538]  drm_atomic_helper_set_config+0x61/0x90
<4> [87.264539]  drm_mode_setcrtc+0x18e/0x720
<4> [87.264557]  ? drm_mode_getcrtc+0x180/0x180
<4> [87.264559]  drm_ioctl_kernel+0xa7/0xf0
<4> [87.264561]  drm_ioctl+0x2e1/0x390
<4> [87.264563]  ? drm_mode_getcrtc+0x180/0x180
<4> [87.264566]  do_vfs_ioctl+0xa0/0x6f0
<4> [87.264567]  ? find_held_lock+0x2d/0x90
<4> [87.264570]  ? __task_pid_nr_ns+0xbc/0x1f0
<4> [87.264572]  ksys_ioctl+0x35/0x60
<4> [87.264574]  __x64_sys_ioctl+0x11/0x20
<4> [87.264576]  do_syscall_64+0x4f/0x210
<4> [87.264578]  entry_SYSCALL_64_after_hwframe+0x49/0xbe
<4> [87.264580] RIP: 0033:0x7ffb650b85d7
<4> [87.264581] Code: b3 66 90 48 8b 05 b1 48 2d 00 64 c7 00 26 00 00 00 48 c7 c0 ff ff ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 81 48 2d 00 f7 d8 64 89 01 48
<4> [87.264582] RSP: 002b:00007ffea6e71d68 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
<4> [87.264583] RAX: ffffffffffffffda RBX: 00007ffea6e71da0 RCX: 00007ffb650b85d7
<4> [87.264585] RDX: 00007ffea6e71da0 RSI: 00000000c06864a2 RDI: 0000000000000005
<4> [87.264585] RBP: 00007ffea6e71da0 R08: 0000000000000000 R09: 000055c7f0f8d018
<4> [87.264586] R10: 000055c7f0f8d09c R11: 0000000000000246 R12: 00000000c06864a2
<4> [87.264587] R13: 0000000000000005 R14: 0000000000000001 R15: 0000000000000000
<4> [87.264589] Modules linked in: vgem snd_hda_codec_hdmi mei_hdcp i915 x86_pkg_temp_thermal coretemp crct10dif_pclmul crc32_pclmul snd_hda_intel snd_intel_dspcfg cdc_ether usbnet snd_hda_codec mii snd_hwdep snd_hda_core ghash_clmulni_intel snd_pcm mei_me mei intel_lpss_pci prime_numbers
<4> [87.264599] ---[ end trace b205532645ed64ce ]---
<4> [87.601964] RIP: 0010:match_held_lock+0x18/0x160
<4> [87.601970] Code: 82 48 c7 c7 a8 6b 08 82 e8 85 d6 f9 ff 0f 0b 31 c0 c3 48 39 77 10 b8 01 00 00 00 74 52 44 8b 47 24 45 85 c0 74 47 48 83 ec 08 <48> 8b 46 08 48 85 c0 74 7f 8b 15 51 e1 84 02 85 d2 74 34 48 2d 60
<4> [87.601972] RSP: 0018:ffffc90000f87990 EFLAGS: 00010086
<4> [87.601974] RAX: 0000000000000001 RBX: ffff888480084920 RCX: 0000000000000001
<4> [87.601975] RDX: 0000000000000000 RSI: 6b6b6b6b6b6b6d53 RDI: ffff888480084920
<4> [87.601976] RBP: ffff888480084040 R08: 000000000000002b R09: 0000000000000001
<4> [87.601977] R10: ffffc90000f879f0 R11: 0000000045c2dbd8 R12: 6b6b6b6b6b6b6d53
<4> [87.601978] R13: ffff8884800848d0 R14: 0000000000000002 R15: 0000000000000246
<4> [87.601979] FS:  00007ffb6605e300(0000) GS:ffff8884a0780000(0000) knlGS:0000000000000000
<4> [87.601980] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
<4> [87.601981] CR2: 000055c7f0fa2000 CR3: 0000000484a72001 CR4: 0000000000760ee0
<4> [87.601982] PKRU: 55555554
<3> [87.601985] BUG: sleeping function called from invalid context at ./include/linux/percpu-rwsem.h:38
<3> [87.601986] in_atomic(): 0, irqs_disabled(): 1, non_block: 0, pid: 1247, name: kms_frontbuffer
<4> [87.601987] INFO: lockdep is turned off.
<4> [87.601988] irq event stamp: 788749
<4> [87.601992] hardirqs last  enabled at (788749): [<ffffffff819ea28c>] _raw_spin_unlock_irqrestore+0x4c/0x60
<4> [87.601993] hardirqs last disabled at (788748): [<ffffffff819e9ffd>] _raw_spin_lock_irqsave+0xd/0x50
<4> [87.601996] softirqs last  enabled at (788626): [<ffffffff81c00385>] __do_softirq+0x385/0x47f
<4> [87.601999] softirqs last disabled at (788615): [<ffffffff810b829a>] irq_exit+0xba/0xc0
<4> [87.602002] CPU: 7 PID: 1247 Comm: kms_frontbuffer Tainted: G     UD           5.4.0-rc8-CI-CI_DRM_7419+ #1
<4> [87.602004] Hardware name: Intel Corporation Tiger Lake Client Platform/TigerLake U DDR4 SODIMM RVP, BIOS TGLSFWI1.R00.2321.A08.1909162051 09/16/2019
<4> [87.602005] Call Trace:
<4> [87.602010]  dump_stack+0x71/0x9b
<4> [87.602014]  ___might_sleep+0x178/0x260
<4> [87.602017]  exit_signals+0x2b/0x350
<4> [87.602019]  do_exit+0xa3/0xd70
<4> [87.602024]  ? ksys_ioctl+0x35/0x60
<4> [87.602026]  rewind_stack_do_exit+0x17/0x20
<6> [447.961438] sysrq: Show State
<6> [447.961448]   task                        PC stack   pid father
<6> [447.961454] systemd         S11424     1      0 0x00000000
<4> [447.961464] Call Trace:
<4> [447.961491]  ? __schedule+0x2f1/0x810
<4> [447.961504]  ? ep_poll+0x2c4/0x5a0
<4> [447.961510]  schedule+0x34/0xc0
<4> [447.961519]  schedule_hrtimeout_range_clock+0x10e/0x120
<4> [447.961529]  ep_poll+0x2a4/0x5a0
<4> [447.961542]  ? wake_up_q+0x70/0x70
<4> [447.961551]  do_epoll_wait+0xd2/0xf0
<4> [447.961559]  __x64_sys_epoll_wait+0x15/0x20
<4> [447.961566]  do_syscall_64+0x4f/0x210
<4> [447.961573]  entry_SYSCALL_64_after_hwframe+0x49/0xbe
<4> [447.961579] RIP: 0033:0x7f1cb2d90bb7
<4> [447.961590] Code: Bad RIP value.
<4> [447.961595] RSP: 002b:00007ffd2724bb20 EFLAGS: 00000293 ORIG_RAX: 00000000000000e8
<4> [447.961600] RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 00007f1cb2d90bb7
<4> [447.961604] RDX: 0000000000000036 RSI: 00007ffd2724bb60 RDI: 0000000000000004
<4> [447.961608] RBP: 00007ffd2724bb60 R08: 0000000000000000 R09: 7465677261742e79
<4> [447.961612] R10: 00000000ffffffff R11: 0000000000000293 R12: 0000000000000036
<4> [447.961616] R13: 00000000ffffffff R14: 00007ffd2724bb60 R15: 0000000000000001
<6> [447.961627] kthreadd        S14112     2      0 0x80004000
Comment 1 CI Bug Log 2019-11-26 08:41:11 UTC
The CI Bug Log issue associated to this bug has been updated.

### New filters associated

* TGL: igt@kms_big_fb@x-tiled-8bpp-rotate-180| igt@kms_frontbuffer_tracking@psr-1p-primscrn-pri-indfb-draw-render - incomplete - general protection fault: 0000 [#1] PREEMPT SMP NOPTI
  - https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7418/shard-tglb1/igt@kms_big_fb@x-tiled-8bpp-rotate-180.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7419/shard-tglb2/igt@kms_frontbuffer_tracking@psr-1p-primscrn-pri-indfb-draw-render.html
  - https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7420/shard-tglb1/igt@kms_frontbuffer_tracking@psr-1p-primscrn-pri-indfb-draw-render.html
Comment 2 CI Bug Log 2019-11-26 09:01:23 UTC
A CI Bug Log filter associated to this bug has been updated:

{- TGL: igt@kms_big_fb@x-tiled-8bpp-rotate-180| igt@kms_frontbuffer_tracking@psr-1p-primscrn-pri-indfb-draw-render - incomplete - general protection fault: 0000 [#1] PREEMPT SMP NOPTI -}
{+ TGL: igt@kms_* - incomplete - general protection fault: 0000 [#1] PREEMPT SMP NOPTI +}

New failures caught by the filter:

  * https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7420/shard-tglb7/igt@kms_draw_crc@draw-method-xrgb2101010-render-untiled.html
Comment 3 CI Bug Log 2019-11-26 09:58:55 UTC
A CI Bug Log filter associated to this bug has been updated:

{- TGL: igt@kms_* - incomplete - general protection fault: 0000 [#1] PREEMPT SMP NOPTI -}
{+ TGL: igt@kms_* - incomplete - general protection fault: 0000 [#1] PREEMPT SMP NOPTI +}


  No new failures caught with the new filter
Comment 4 CI Bug Log 2019-11-27 11:08:53 UTC
A CI Bug Log filter associated to this bug has been updated:

{- TGL: igt@kms_* - incomplete - general protection fault: 0000 [#1] PREEMPT SMP NOPTI -}
{+ TGL: igt@kms_* - incomplete - general protection fault: 0000 [#1] PREEMPT SMP NOPTI +}

New failures caught by the filter:

  * https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7425/shard-tglb5/igt@kms_frontbuffer_tracking@psr-rgb101010-draw-mmap-wc.html
  * https://intel-gfx-ci.01.org/tree/drm-tip/IGT_5310/shard-tglb1/igt@kms_frontbuffer_tracking@psr-1p-primscrn-spr-indfb-draw-blt.html
  * https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7421/shard-tglb8/igt@kms_frontbuffer_tracking@psr-1p-primscrn-cur-indfb-onoff.html
Comment 5 CI Bug Log 2019-11-28 07:06:26 UTC
A CI Bug Log filter associated to this bug has been updated:

{- TGL: igt@kms_* - incomplete - general protection fault: 0000 [#1] PREEMPT SMP NOPTI -}
{+ TGL: igt@kms_* - incomplete - general protection fault: 0000 [#1] PREEMPT SMP NOPTI +}

New failures caught by the filter:

  * https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7428/shard-tglb5/igt@kms_frontbuffer_tracking@psr-1p-primscrn-pri-shrfb-draw-mmap-gtt.html
  * https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7429/shard-tglb1/igt@kms_draw_crc@draw-method-xrgb8888-render-ytiled.html
Comment 6 Francesco Balestrieri 2019-11-28 07:56:35 UTC
Seems to be a genuine bug and the frequency has increased recently, setting priority to high.
Comment 7 CI Bug Log 2019-11-28 12:12:45 UTC
A CI Bug Log filter associated to this bug has been updated:

{- TGL: igt@kms_* - incomplete - general protection fault: 0000 [#1] PREEMPT SMP NOPTI -}
{+ TGL: igt@kms_* - incomplete - general protection fault: 0000 [#1] PREEMPT SMP NOPTI +}


  No new failures caught with the new filter
Comment 8 CI Bug Log 2019-11-29 10:38:40 UTC
A CI Bug Log filter associated to this bug has been updated:

{- TGL: igt@kms_* - incomplete - general protection fault: 0000 [#1] PREEMPT SMP NOPTI -}
{+ TGL: igt@kms_* - incomplete - general protection fault: 0000 [#1] PREEMPT SMP NOPTI +}

New failures caught by the filter:

  * https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7417/re-tgl-y/igt@kms_frontbuffer_tracking@psr-2p-primscrn-shrfb-msflip-blt.html
Comment 9 Chris Wilson 2019-11-29 15:20:31 UTC

*** This bug has been marked as a duplicate of bug 112425 ***

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.