[<prev] [next>] [day] [month] [year] [list]
Message-ID: <5818b108.GDGFvjn9OeXeLfWq%xiaolong.ye@intel.com>
Date: Tue, 01 Nov 2016 23:13:12 +0800
From: kernel test robot <xiaolong.ye@...el.com>
To: Chris Wilson <chris@...is-wilson.co.uk>
Cc: lkp@...org, Stephen Rothwell <sfr@...b.auug.org.au>,
LKML <linux-kernel@...r.kernel.org>,
Ville Syrj??l?? <ville.syrjala@...ux.intel.com>,
Daniel Vetter <daniel@...ll.ch>,
Imre Deak <imre.deak@...el.com>
Subject: [drm/i915] 9c870d0367: BUG: sleeping function called from
invalid context at drivers/base/power/runtime.c:955
FYI, we noticed the following commit:
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
commit 9c870d03674f11b49ef4f48b04d709ffa7cf1390 ("drm/i915: Use RPM as the barrier for controlling user mmap access")
in testcase: phoronix-test-suite
with following parameters:
need_x: true
test: tesseract-1.1.0
cpufreq_governor: performance
The Phoronix Test Suite is the most comprehensive testing and benchmarking platform available that provides an extensible framework for which new tests can be easily added.
on test machine: 4 threads Intel(R) Core(TM) i5-2500K CPU @ 3.30GHz with 6G memory
caused below changes:
+-----------------------------------------------------------------------------------+------------+------------+
| | 275f039db5 | 9c870d0367 |
+-----------------------------------------------------------------------------------+------------+------------+
| boot_successes | 1 | 2 |
| boot_failures | 4 | 10 |
| invoked_oom-killer:gfp_mask=0x | 4 | |
| Mem-Info | 4 | |
| Kernel_panic-not_syncing:Out_of_memory_and_no_killable_processes | 4 | |
| BUG:sleeping_function_called_from_invalid_context_at_drivers/base/power/runtime.c | 0 | 10 |
| calltrace:SyS_ioctl | 0 | 10 |
+-----------------------------------------------------------------------------------+------------+------------+
[ 52.821710] Estimated Trial Run Count: 3
[ 52.826925] Estimated Test Run-Time: 8 Minutes
[ 52.832826] Estimated Time To Completion: 16 Minutes
[ 59.825942] BUG: sleeping function called from invalid context at drivers/base/power/runtime.c:955
[ 59.836379] in_atomic(): 1, irqs_disabled(): 0, pid: 1373, name: linux_64_client
[ 59.843863] CPU: 0 PID: 1373 Comm: linux_64_client Not tainted 4.8.0-rc8-01689-g9c870d0 #1
[ 59.852157] Hardware name: System manufacturer System Product Name/P8H67-M PRO, BIOS 1002 04/01/2011
[ 59.861294] 0000000000000000 ffff88019fdef780 ffffffff8144f279 ffff8801a20b4b80
[ 59.868799] 00000000000003bb ffff88019fdef798 ffffffff810a4ca4 ffffffff81cff030
[ 59.876322] ffff88019fdef7c0 ffffffff810a4d39 ffff8801a82900a0 0000000000000004
[ 59.883836] Call Trace:
[ 59.886343] [<ffffffff8144f279>] dump_stack+0x63/0x8a
[ 59.891518] [<ffffffff810a4ca4>] ___might_sleep+0xd4/0x120
[ 59.897115] [<ffffffff810a4d39>] __might_sleep+0x49/0x80
[ 59.902526] [<ffffffff815b7a79>] __pm_runtime_resume+0x79/0x80
[ 59.908480] [<ffffffffa01f6925>] intel_runtime_pm_get+0x25/0x90 [i915]
[ 59.915134] [<ffffffffa020d1e0>] aliasing_gtt_bind_vma+0xb0/0xf0 [i915]
[ 59.921885] [<ffffffffa0212738>] i915_vma_bind+0x98/0x130 [i915]
[ 59.928030] [<ffffffffa02079bf>] i915_gem_execbuffer_relocate_entry+0x57f/0x810 [i915]
[ 59.936040] [<ffffffff81187549>] ? __alloc_pages_nodemask+0x129/0x2f0
[ 59.942599] [<ffffffffa0207da2>] i915_gem_execbuffer_relocate_vma+0x152/0x230 [i915]
[ 59.951163] [<ffffffff8119c213>] ? shmem_getpage_gfp+0xd3/0xbf0
[ 59.957229] [<ffffffffa020899b>] i915_gem_do_execbuffer+0x85b/0x1790 [i915]
[ 59.964995] [<ffffffff8119c043>] ? shmem_add_to_page_cache+0xe3/0x1e0
[ 59.971557] [<ffffffff811ffd0f>] ? mem_cgroup_try_charge+0x6f/0x1c0
[ 59.977902] [<ffffffff810a4d39>] ? __might_sleep+0x49/0x80
[ 59.983517] [<ffffffffa0209c9e>] i915_gem_execbuffer2+0x9e/0x200 [i915]
[ 59.990277] [<ffffffffa006abd3>] drm_ioctl+0x203/0x4a0 [drm]
[ 59.996040] [<ffffffffa0209c00>] ? i915_gem_execbuffer+0x330/0x330 [i915]
[ 60.002941] [<ffffffff81221375>] do_vfs_ioctl+0x95/0x6c0
[ 60.008373] [<ffffffff81066fbe>] ? __do_page_fault+0x30e/0x4d0
[ 60.014301] [<ffffffff81221a19>] SyS_ioctl+0x79/0x90
[ 60.019374] [<ffffffff819340f2>] entry_SYSCALL_64_fastpath+0x1a/0xa4
[ 60.861860] BUG: sleeping function called from invalid context at drivers/base/power/runtime.c:955
[ 60.872313] in_atomic(): 1, irqs_disabled(): 0, pid: 1373, name: linux_64_client
[ 60.879801] CPU: 0 PID: 1373 Comm: linux_64_client Not tainted 4.8.0-rc8-01689-g9c870d0 #1
[ 60.888082] Hardware name: System manufacturer System Product Name/P8H67-M PRO, BIOS 1002 04/01/2011
[ 60.897217] 0000000000000000 ffff88019fdef780 ffffffff8144f279 ffff8801a20b4b80
[ 60.904687] 00000000000003bb ffff88019fdef798 ffffffff810a4ca4 ffffffff81cff030
[ 60.912219] ffff88019fdef7c0 ffffffff810a4d39 ffff8801a82900a0 0000000000000004
[ 60.919708] Call Trace:
[ 60.922164] [<ffffffff8144f279>] dump_stack+0x63/0x8a
[ 60.927364] [<ffffffff810a4ca4>] ___might_sleep+0xd4/0x120
[ 60.932943] [<ffffffff810a4d39>] __might_sleep+0x49/0x80
[ 60.938379] [<ffffffff815b7a79>] __pm_runtime_resume+0x79/0x80
[ 60.944316] [<ffffffffa01f6925>] intel_runtime_pm_get+0x25/0x90 [i915]
[ 60.950971] [<ffffffffa020d1e0>] aliasing_gtt_bind_vma+0xb0/0xf0 [i915]
[ 60.957696] [<ffffffffa0212738>] i915_vma_bind+0x98/0x130 [i915]
[ 60.963832] [<ffffffffa02079bf>] i915_gem_execbuffer_relocate_entry+0x57f/0x810 [i915]
[ 60.971867] [<ffffffffa0207da2>] i915_gem_execbuffer_relocate_vma+0x152/0x230 [i915]
[ 60.980430] [<ffffffff8102c76f>] ? __switch_to+0x2bf/0x6d0
[ 60.986046] [<ffffffff810bbcd7>] ? pick_next_task_fair+0x107/0x4c0
[ 60.992366] [<ffffffffa020899b>] i915_gem_do_execbuffer+0x85b/0x1790 [i915]
[ 61.000138] [<ffffffff810a4d39>] ? __might_sleep+0x49/0x80
[ 61.005754] [<ffffffffa0209c9e>] i915_gem_execbuffer2+0x9e/0x200 [i915]
[ 61.012526] [<ffffffffa006abd3>] drm_ioctl+0x203/0x4a0 [drm]
[ 61.018305] [<ffffffffa0209c00>] ? i915_gem_execbuffer+0x330/0x330 [i915]
[ 61.025212] [<ffffffff81221375>] do_vfs_ioctl+0x95/0x6c0
[ 61.030614] [<ffffffff810a4d39>] ? __might_sleep+0x49/0x80
[ 61.036210] [<ffffffff81221a19>] SyS_ioctl+0x79/0x90
[ 61.041258] [<ffffffff819340f2>] entry_SYSCALL_64_fastpath+0x1a/0xa4
[ 93.273270] Started Run 1 @ 06:35:40
[ 96.252197] Started Run 2 @ 06:36:20IPMI BMC is not supported on this machine, skip bmc-watchdog setup!
[ 99.139551] BUG: sleeping function called from invalid context at drivers/base/power/runtime.c:955
[ 99.149953] in_atomic(): 1, irqs_disabled(): 0, pid: 1886, name: linux_64_client
[ 99.157399] CPU: 0 PID: 1886 Comm: linux_64_client Not tainted 4.8.0-rc8-01689-g9c870d0 #1
[ 99.165669] Hardware name: System manufacturer System Product Name/P8H67-M PRO, BIOS 1002 04/01/2011
[ 99.174786] 0000000000000000 ffff8801a500f780 ffffffff8144f279 ffff8801a3ab25c0
[ 99.182247] 00000000000003bb ffff8801a500f798 ffffffff810a4ca4 ffffffff81cff030
[ 99.189737] ffff8801a500f7c0 ffffffff810a4d39 ffff8801a82900a0 0000000000000004
[ 99.197208] Call Trace:
[ 99.199663] [<ffffffff8144f279>] dump_stack+0x63/0x8a
[ 99.204801] [<ffffffff810a4ca4>] ___might_sleep+0xd4/0x120
[ 99.210364] [<ffffffff810a4d39>] __might_sleep+0x49/0x80
[ 99.215757] [<ffffffff815b7a79>] __pm_runtime_resume+0x79/0x80
[ 99.221693] [<ffffffffa01f6925>] intel_runtime_pm_get+0x25/0x90 [i915]
[ 99.228324] [<ffffffffa020d1e0>] aliasing_gtt_bind_vma+0xb0/0xf0 [i915]
[ 99.235030] [<ffffffffa0212738>] i915_vma_bind+0x98/0x130 [i915]
[ 99.241160] [<ffffffffa02079bf>] i915_gem_execbuffer_relocate_entry+0x57f/0x810 [i915]
[ 99.249203] [<ffffffff811e5bc2>] ? ___slab_alloc+0x212/0x4b0
[ 99.254982] [<ffffffffa0207da2>] i915_gem_execbuffer_relocate_vma+0x152/0x230 [i915]
[ 99.263495] [<ffffffff8119c213>] ? shmem_getpage_gfp+0xd3/0xbf0
[ 99.269507] [<ffffffffa020899b>] i915_gem_do_execbuffer+0x85b/0x1790 [i915]
[ 99.277284] [<ffffffff8119c043>] ? shmem_add_to_page_cache+0xe3/0x1e0
[ 99.283843] [<ffffffff811ffd0f>] ? mem_cgroup_try_charge+0x6f/0x1c0
[ 99.290198] [<ffffffff810a4d39>] ? __might_sleep+0x49/0x80
[ 99.295770] [<ffffffffa0209c9e>] i915_gem_execbuffer2+0x9e/0x200 [i915]
[ 99.302503] [<ffffffffa006abd3>] drm_ioctl+0x203/0x4a0 [drm]
[ 99.308258] [<ffffffffa0209c00>] ? i915_gem_execbuffer+0x330/0x330 [i915]
[ 99.315150] [<ffffffff81221375>] do_vfs_ioctl+0x95/0x6c0
[ 99.320550] [<ffffffff81066fbe>] ? __do_page_fault+0x30e/0x4d0
[ 99.326461] [<ffffffff81221a19>] SyS_ioctl+0x79/0x90
[ 99.331506] [<ffffffff819340f2>] entry_SYSCALL_64_fastpath+0x1a/0xa4
[ 100.176141] BUG: sleeping function called from invalid context at drivers/base/power/runtime.c:955
[ 100.186543] in_atomic(): 1, irqs_disabled(): 0, pid: 1886, name: linux_64_client
[ 100.194001] CPU: 0 PID: 1886 Comm: linux_64_client Not tainted 4.8.0-rc8-01689-g9c870d0 #1
[ 100.202276] Hardware name: System manufacturer System Product Name/P8H67-M PRO, BIOS 1002 04/01/2011
[ 100.211412] 0000000000000000 ffff8801a500f780 ffffffff8144f279 ffff8801a3ab25c0
[ 100.218875] 00000000000003bb ffff8801a500f798 ffffffff810a4ca4 ffffffff81cff030
[ 100.226346] ffff8801a500f7c0 ffffffff810a4d39 ffff8801a82900a0 0000000000000004
[ 100.233824] Call Trace:
[ 100.236281] [<ffffffff8144f279>] dump_stack+0x63/0x8a
[ 100.241420] [<ffffffff810a4ca4>] ___might_sleep+0xd4/0x120
[ 100.247015] [<ffffffff810a4d39>] __might_sleep+0x49/0x80
[ 100.252418] [<ffffffff815b7a79>] __pm_runtime_resume+0x79/0x80
[ 100.258389] [<ffffffffa01f6925>] intel_runtime_pm_get+0x25/0x90 [i915]
[ 100.265027] [<ffffffffa020d1e0>] aliasing_gtt_bind_vma+0xb0/0xf0 [i915]
[ 100.271735] [<ffffffffa0212738>] i915_vma_bind+0x98/0x130 [i915]
[ 100.277854] [<ffffffffa02079bf>] i915_gem_execbuffer_relocate_entry+0x57f/0x810 [i915]
[ 100.285852] [<ffffffffa0207da2>] i915_gem_execbuffer_relocate_vma+0x152/0x230 [i915]
[ 100.294364] [<ffffffff8102c76f>] ? __switch_to+0x2bf/0x6d0
[ 100.299938] [<ffffffff810bbf1d>] ? pick_next_task_fair+0x34d/0x4c0
[ 100.306204] [<ffffffffa020899b>] i915_gem_do_execbuffer+0x85b/0x1790 [i915]
[ 100.313936] [<ffffffff810a4d39>] ? __might_sleep+0x49/0x80
[ 100.319517] [<ffffffffa0209c9e>] i915_gem_execbuffer2+0x9e/0x200 [i915]
[ 100.326218] [<ffffffffa006abd3>] drm_ioctl+0x203/0x4a0 [drm]
[ 100.331996] [<ffffffffa0209c00>] ? i915_gem_execbuffer+0x330/0x330 [i915]
[ 100.338888] [<ffffffff81221375>] do_vfs_ioctl+0x95/0x6c0
[ 100.344287] [<ffffffff810a4d39>] ? __might_sleep+0x49/0x80
[ 100.349851] [<ffffffff81221a19>] SyS_ioctl+0x79/0x90
[ 100.354897] [<ffffffff819340f2>] entry_SYSCALL_64_fastpath+0x1a/0xa4
[ 131.855454]
[ 137.513260] BUG: sleeping function called from invalid context at drivers/base/power/runtime.c:955
[ 137.523627] in_atomic(): 1, irqs_disabled(): 0, pid: 2378, name: linux_64_client
[ 137.531067] CPU: 1 PID: 2378 Comm: linux_64_client Not tainted 4.8.0-rc8-01689-g9c870d0 #1
[ 137.539356] Hardware name: System manufacturer System Product Name/P8H67-M PRO, BIOS 1002 04/01/2011
[ 137.548483] 0000000000000000 ffff8801a520b780 ffffffff8144f279 ffff8801bd078000
[ 137.555979] 00000000000003bb ffff8801a520b798 ffffffff810a4ca4 ffffffff81cff030
[ 137.563466] ffff8801a520b7c0 ffffffff810a4d39 ffff8801a82900a0 0000000000000004
[ 137.570929] Call Trace:
[ 137.573384] [<ffffffff8144f279>] dump_stack+0x63/0x8a
[ 137.578524] [<ffffffff810a4ca4>] ___might_sleep+0xd4/0x120
[ 137.584095] [<ffffffff810a4d39>] __might_sleep+0x49/0x80
[ 137.589489] [<ffffffff815b7a79>] __pm_runtime_resume+0x79/0x80
[ 137.595459] [<ffffffffa01f6925>] intel_runtime_pm_get+0x25/0x90 [i915]
[ 137.602105] [<ffffffffa020d1e0>] aliasing_gtt_bind_vma+0xb0/0xf0 [i915]
[ 137.608804] [<ffffffffa0212738>] i915_vma_bind+0x98/0x130 [i915]
[ 137.614932] [<ffffffffa02079bf>] i915_gem_execbuffer_relocate_entry+0x57f/0x810 [i915]
[ 137.622922] [<ffffffff811e5c3a>] ? ___slab_alloc+0x28a/0x4b0
[ 137.628697] [<ffffffffa0207da2>] i915_gem_execbuffer_relocate_vma+0x152/0x230 [i915]
[ 137.637225] [<ffffffff8119c213>] ? shmem_getpage_gfp+0xd3/0xbf0
[ 137.643247] [<ffffffffa020899b>] i915_gem_do_execbuffer+0x85b/0x1790 [i915]
[ 137.651006] [<ffffffff8119c043>] ? shmem_add_to_page_cache+0xe3/0x1e0
[ 137.657548] [<ffffffff811ffd0f>] ? mem_cgroup_try_charge+0x6f/0x1c0
[ 137.663901] [<ffffffff810a4d39>] ? __might_sleep+0x49/0x80
[ 137.669507] [<ffffffffa0209c9e>] i915_gem_execbuffer2+0x9e/0x200 [i915]
[ 137.676232] [<ffffffffa006abd3>] drm_ioctl+0x203/0x4a0 [drm]
[ 137.681989] [<ffffffffa0209c00>] ? i915_gem_execbuffer+0x330/0x330 [i915]
[ 137.688879] [<ffffffff81221375>] do_vfs_ioctl+0x95/0x6c0
[ 137.694280] [<ffffffff81066fbe>] ? __do_page_fault+0x30e/0x4d0
[ 137.700190] [<ffffffff81221a19>] SyS_ioctl+0x79/0x90
[ 137.705244] [<ffffffff819340f2>] entry_SYSCALL_64_fastpath+0x1a/0xa4
To reproduce:
git clone git://git.kernel.org/pub/scm/linux/kernel/git/wfg/lkp-tests.git
cd lkp-tests
bin/lkp install job.yaml # job file is attached in this email
bin/lkp run job.yaml
Thanks,
Kernel Test Robot
View attachment "config-4.8.0-rc8-01689-g9c870d0" of type "text/plain" (152492 bytes)
View attachment "job-script" of type "text/plain" (6592 bytes)
Download attachment "dmesg.xz" of type "application/octet-stream" (21828 bytes)
View attachment "phoronix-test-suite" of type "text/plain" (3597 bytes)
View attachment "job.yaml" of type "text/plain" (4389 bytes)
View attachment "reproduce" of type "text/plain" (151 bytes)
Powered by blists - more mailing lists