igt@i915_selftest@mock@hugepages - incomplete - RIP: 0010:ttm_resource_init
<6> [299.726611] [IGT] i915_selftest: starting dynamic subtest hugepages
<5> [299.792629] Setting dangerous option mock_selftests - tainting kernel
<6> [299.831295] i915: Performing mock selftests with st_random_seed=0xfb2b0a7d st_timeout=500
<6> [299.831298] i915: Running hugepages
<7> [299.831773] mock: [drm:intel_uc_init_early [i915]] enable_guc=3 (guc:no submission:no huc:no slpc:no)
<6> [299.831916] mock: [drm] Incompatible option enable_guc=3 - GuC is not supported!
<6> [299.831917] mock: [drm] Incompatible option enable_guc=3 - HuC is not supported!
<6> [299.831919] mock: [drm] Incompatible option enable_guc=3 - GuC submission is N/A
<7> [299.832638] [drm:intel_engines_driver_register [i915]] renamed mock to rcs0
<6> [299.832933] i915: Running i915_gem_huge_page_mock_selftests/igt_mock_exhaust_device_supported_pages
<6> [299.836278] i915: Running i915_gem_huge_page_mock_selftests/igt_mock_memory_region_huge_pages
<1> [299.836356] BUG: kernel NULL pointer dereference, address: 00000000000000c8
<1> [299.836361] #PF: supervisor read access in kernel mode
<1> [299.836364] #PF: error_code(0x0000) - not-present page
<6> [299.836367] PGD 0 P4D 0
<4> [299.836369] Oops: 0000 [#1] PREEMPT SMP NOPTI
<4> [299.836372] CPU: 1 PID: 1429 Comm: i915_selftest Tainted: G U 5.17.0-rc4-CI-CI_DRM_11227+ #1
<4> [299.836376] Hardware name: Intel(R) Client Systems NUC11TNHi5/NUC11TNBi5, BIOS TNTGL357.0042.2020.1221.1743 12/21/2020
<4> [299.836380] RIP: 0010:ttm_resource_init+0x57/0x90 [ttm]
<4> [299.836386] Code: 18 00 00 00 00 89 42 14 48 c7 42 20 00 00 00 00 c6 42 28 00 c7 42 2c 02 00 00 00 48 89 7a 30 48 8b bf 30 02 00 00 48 63 46 08 <48> 8b ac c7 c8 00 00 00 48 81 c7 90 0f 00 00 e8 f5 34 71 e1 48 8b
<4> [299.836392] RSP: 0018:ffffc90001e4f680 EFLAGS: 00010203
<4> [299.836395] RAX: 0000000000000000 RBX: ffffc90001e4f708 RCX: 0000000000000000
<4> [299.836398] RDX: ffff888116172528 RSI: ffffc90001e4f6f8 RDI: 0000000000000000
<4> [299.836401] RBP: ffffc90001e4f6f8 R08: 00000000000001b0 R09: ffff888116172528
<4> [299.836403] R10: 0000000000000001 R11: 00000000a4cb2e51 R12: ffffc90001e4fa90
<4> [299.836406] R13: ffff888116172528 R14: ffff888130d7f4b0 R15: ffff888130d7f400
<4> [299.836409] FS: 00007ff241684500(0000) GS:ffff88849fe80000(0000) knlGS:0000000000000000
<4> [299.836412] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
<4> [299.836416] CR2: 00000000000000c8 CR3: 0000000107b80001 CR4: 0000000000770ee0
<4> [299.836418] PKRU: 55555554
<4> [299.836420] Call Trace:
<4> [299.836422] <TASK>
<4> [299.836423] i915_ttm_buddy_man_alloc+0x68/0x240 [i915]
<4> [299.836542] intel_region_ttm_resource_alloc+0x64/0xb0 [i915]
<4> [299.836628] ? __thaw_task+0x40/0x40
<4> [299.836638] mock_region_get_pages+0x24/0x110 [i915]
<4> [299.836719] ____i915_gem_object_get_pages+0x32/0xf0 [i915]
<4> [299.836825] __i915_gem_object_get_pages+0x89/0xa0 [i915]
<4> [299.836918] i915_vma_get_pages+0x114/0x1d0 [i915]
<4> [299.837025] i915_vma_pin_ww+0xa2/0xb00 [i915]
<4> [299.837124] i915_vma_pin.constprop.45+0x127/0x1c0 [i915]
<4> [299.837220] igt_mock_memory_region_huge_pages+0x103/0x2c0 [i915]
<4> [299.837308] __i915_subtests.cold.7+0x3f/0x92 [i915]
<4> [299.837450] ? i915_perf_selftests+0x20/0x20 [i915]
<4> [299.837571] ? __i915_nop_setup+0x10/0x10 [i915]
<4> [299.837675] i915_gem_huge_page_mock_selftests+0x8b/0xe0 [i915]
<4> [299.837773] __run_selftests.part.3+0x111/0x172 [i915]
<4> [299.837892] i915_mock_selftests.cold.4+0x1a/0x47 [i915]
<4> [299.838004] i915_init+0x1f/0x7e [i915]
<4> [299.838078] ? 0xffffffffa0875000
<4> [299.838080] do_one_initcall+0x53/0x2e0
<4> [299.838084] ? do_init_module+0x1d/0x1e0
<4> [299.838087] ? rcu_read_lock_sched_held+0x4d/0x80
<4> [299.838091] ? kmem_cache_alloc_trace+0x1de/0x250
<4> [299.838095] do_init_module+0x45/0x1e0
<4> [299.838097] load_module+0x2740/0x29d0
<4> [299.838102] ? __do_sys_finit_module+0xaf/0x120
<4> [299.838105] __do_sys_finit_module+0xaf/0x120
<4> [299.838109] do_syscall_64+0x37/0xb0
<4> [299.838112] entry_SYSCALL_64_after_hwframe+0x44/0xae
<4> [299.838116] RIP: 0033:0x7ff240cfc639
<4> [299.838119] 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 f8 2c 00 f7 d8 64 89 01 48
<4> [299.838126] RSP: 002b:00007ffd0e8a7078 EFLAGS: 00000246 ORIG_RAX: 0000000000000139
<4> [299.838131] RAX: ffffffffffffffda RBX: 000055dd9df0bfe0 RCX: 00007ff240cfc639
<4> [299.838134] RDX: 0000000000000000 RSI: 000055dd9df1bcd0 RDI: 0000000000000007
<4> [299.838137] RBP: 000055dd9df1bcd0 R08: 0000000000000004 R09: 000055dd9df0e3f0
<4> [299.838141] R10: 00007ffd0e8a71c0 R11: 0000000000000246 R12: 0000000000000000
<4> [299.838144] R13: 000055dd9df10800 R14: 0000000000000020 R15: 0000000000000048
<4> [299.838148] </TASK>
<4> [299.838150] Modules linked in: i915(+) drm_dp_helper drm_kms_helper vgem drm_shmem_helper snd_hda_codec_hdmi mei_hdcp btusb x86_pkg_temp_thermal btrtl drm_buddy btbcm coretemp btintel crct10dif_pclmul snd_intel_dspcfg ttm crc32_pclmul ghash_clmulni_intel bluetooth snd_hda_codec igc snd_hwdep ptp ecdh_generic ecc pps_core snd_hda_core mei_me syscopyarea sysfillrect snd_pcm sysimgblt mei fb_sys_fops prime_numbers intel_lpss_pci [last unloaded: i915]
<4> [299.838181] CR2: 00000000000000c8
<4> [299.838183] ---[ end trace 0000000000000000 ]---