Got this crash on Samus with 4.14 running platform_Memorypressure:
<4>[ 1466.846211] general protection fault: 0000 [#1] PREEMPT SMP PTI
<0>[ 1466.848522] gsmi: Log Shutdown Reason 0x03
<4>[ 1466.848525] Modules linked in: rfcomm cmac uinput btusb btrtl btbcm btintel bluetooth ecdh_generic snd_hda_codec_hdmi uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 snd_hda_intel videobuf2_core snd_hda_codec snd_hwdep snd_hda_core lzo lzo_compress acpi_als kfifo_buf industrialio snd_soc_sst_acpi snd_soc_acpi snd_soc_acpi_intel_match zram xt_nat bridge stp llc snd_seq_dummy ipt_MASQUERADE nf_nat_masquerade_ipv4 iptable_nat nf_nat_ipv4 nf_nat xt_mark fuse snd_seq_midi snd_seq_midi_event snd_rawmidi snd_seq snd_seq_device ip6table_filter iwlmvm iwl7000_mac80211 asix usbnet mii iwlwifi cfg80211 joydev
<4>[ 1466.848568] CPU: 1 PID: 3732 Comm: chrome Tainted: G U 4.14.51 #2
<4>[ 1466.848570] Hardware name: GOOGLE Samus, BIOS Google_Samus.6300.174.0 04/02/2015
<4>[ 1466.848573] task: ffff8fa1b3ceab80 task.stack: ffffb4e5412f0000
<4>[ 1466.848580] RIP: 0010:gen8_ppgtt_alloc_pdp+0x17d/0x266
<4>[ 1466.848583] RSP: 0000:ffffb4e5412f38e0 EFLAGS: 00010206
<4>[ 1466.848586] RAX: 00056aaf40000000 RBX: ffff8fa11d4ec000 RCX: 00000001d1e50003
<4>[ 1466.848589] RDX: 0000000000001000 RSI: 00000001dd067083 RDI: 000000000000008d
<4>[ 1466.848591] RBP: ffffb4e5412f3950 R08: 0000000000000000 R09: 0000000000000000
<4>[ 1466.848593] R10: ffffffffb4728cc0 R11: ffffffffb4728cc0 R12: ffff8fa0bfd5e000
<4>[ 1466.848596] R13: 0000000011a53000 R14: ffff8fa0bcd278e0 R15: ffff8fa0bcd27560
<4>[ 1466.848599] FS: 000078172e24d740(0000) GS:ffff8fa1bec80000(0000) knlGS:0000000000000000
<4>[ 1466.848602] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
<4>[ 1466.848604] CR2: 0000259de817a168 CR3: 0000000219d4a005 CR4: 00000000003606e0
<4>[ 1466.848606] Call Trace:
<4>[ 1466.848613] gen8_ppgtt_alloc_4lvl+0xcb/0x16a
<4>[ 1466.848617] ppgtt_bind_vma+0x74/0x7d
<4>[ 1466.848623] i915_vma_bind+0xc4/0xd9
<4>[ 1466.848627] __i915_vma_do_pin+0x2e8/0x336
<4>[ 1466.848631] ? __radix_tree_insert+0xaa/0xdc
<4>[ 1466.848634] eb_lookup_vmas+0x3f6/0x89b
<4>[ 1466.848638] i915_gem_do_execbuffer+0x4f1/0xdc1
<4>[ 1466.848644] ? preempt_schedule_irq+0x3c/0x4e
<4>[ 1466.848647] ? retint_kernel+0x1b/0x1d
<4>[ 1466.848651] i915_gem_execbuffer2+0x18f/0x347
<4>[ 1466.848655] ? i915_gem_execbuffer+0x289/0x289
<4>[ 1466.848660] drm_ioctl_kernel+0x6c/0xa8
<4>[ 1466.848664] drm_ioctl+0x267/0x353
<4>[ 1466.848668] ? i915_gem_execbuffer+0x289/0x289
<4>[ 1466.848672] ? __inode_security_revalidate+0x34/0x67
<4>[ 1466.848677] vfs_ioctl+0x21/0x2f
<4>[ 1466.848681] do_vfs_ioctl+0x4c4/0x4e7
<4>[ 1466.848685] ? security_file_ioctl+0x3b/0x4f
<4>[ 1466.848689] SyS_ioctl+0x57/0x79
<4>[ 1466.848693] do_syscall_64+0x64/0x72
<4>[ 1466.848698] entry_SYSCALL_64_after_hwframe+0x3d/0xa2
<4>[ 1466.848702] RIP: 0033:0x78172e841967
<4>[ 1466.848705] RSP: 002b:00007ffce8ebc798 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
<4>[ 1466.848708] RAX: ffffffffffffffda RBX: 0000000000000038 RCX: 000078172e841967
<4>[ 1466.848711] RDX: 00007ffce8ebc7e0 RSI: 0000000040406469 RDI: 0000000000000032
<4>[ 1466.848714] RBP: 00007ffce8ebc7c0 R08: 0000000000000098 R09: 00000b1797e0a000
<4>[ 1466.848717] R10: 000059accaaa1401 R11: 0000000000000246 R12: 0000000000000032
<4>[ 1466.848720] R13: 00000b179360cbe0 R14: 00007ffce8ebc7e0 R15: 0000000040406469
<4>[ 1466.848723] Code: 00 00 49 8b 3f 40 80 ce 83 e8 e6 e1 ff ff 48 8b 45 a8 4c 89 78 10 49 8b 3c 24 e8 c7 d1 ff ff 49 8b 4f 08 48 8b 7d 98 48 83 c9 03 <48> 89 0c f8 e8 31 dd ff ff 41 ff 84 24 10 10 00 00 8b 45 a4 41
<1>[ 1466.848768] RIP: gen8_ppgtt_alloc_pdp+0x17d/0x266 RSP: ffffb4e5412f38e0
<4>[ 1466.848784] ---[ end trace bdafc554eb4c74a0 ]---
<0>[ 1466.849347] Kernel panic - not syncing: Fatal exception
This is fixed upstream with b715a2f0c7714a399e7f8e951cc8dea9cd4eeb4b
drm/i915/ppgtt: Pin page directories before allocation
I have no reason to believe this crash is samus specific so I think it's worth landing this upstream fix for any i915 user on 4.14
Comment 1 by bugdroid1@chromium.org
, Jul 11