All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm/i915/execlists: Disable preemption under GVT
@ 2019-07-09  9:12 Chris Wilson
  2019-07-09 11:30 ` ✓ Fi.CI.BAT: success for drm/i915/execlists: Disable preemption under GVT (rev6) Patchwork
                   ` (3 more replies)
  0 siblings, 4 replies; 12+ messages in thread
From: Chris Wilson @ 2019-07-09  9:12 UTC (permalink / raw)
  To: intel-gfx

Preempt-to-busy uses a GPU semaphore to enforce an idle-barrier across
preemption, but mediated gvt does not fully support semaphores.

v2: Fiddle around with the flags and settle on using has-semaphores for
the core bits so that we retain the ability to preempt our own
semaphores.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Zhenyu Wang <zhenyuw@linux.intel.com>
Cc: Xiaolin Zhang <xiaolin.zhang@intel.com>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Cc: Mika Kuoppala <mika.kuoppala@linux.intel.com>
---
 drivers/gpu/drm/i915/gt/intel_engine_cs.c |  4 ++--
 drivers/gpu/drm/i915/gt/intel_lrc.c       | 24 +++++++++++++++++------
 drivers/gpu/drm/i915/gt/selftest_lrc.c    |  6 ++++++
 3 files changed, 26 insertions(+), 8 deletions(-)

diff --git a/drivers/gpu/drm/i915/gt/intel_engine_cs.c b/drivers/gpu/drm/i915/gt/intel_engine_cs.c
index 56310812da21..614ed8c488ef 100644
--- a/drivers/gpu/drm/i915/gt/intel_engine_cs.c
+++ b/drivers/gpu/drm/i915/gt/intel_engine_cs.c
@@ -825,6 +825,8 @@ int intel_engine_init_common(struct intel_engine_cs *engine)
 	struct drm_i915_private *i915 = engine->i915;
 	int ret;
 
+	engine->set_default_submission(engine);
+
 	/* We may need to do things with the shrinker which
 	 * require us to immediately switch back to the default
 	 * context. This can cause a problem as pinning the
@@ -852,8 +854,6 @@ int intel_engine_init_common(struct intel_engine_cs *engine)
 
 	engine->emit_fini_breadcrumb_dw = ret;
 
-	engine->set_default_submission(engine);
-
 	return 0;
 
 err_unpin:
diff --git a/drivers/gpu/drm/i915/gt/intel_lrc.c b/drivers/gpu/drm/i915/gt/intel_lrc.c
index 558a5850de3c..ef36f4b5e212 100644
--- a/drivers/gpu/drm/i915/gt/intel_lrc.c
+++ b/drivers/gpu/drm/i915/gt/intel_lrc.c
@@ -295,6 +295,9 @@ static inline bool need_preempt(const struct intel_engine_cs *engine,
 {
 	int last_prio;
 
+	if (!intel_engine_has_semaphores(engine))
+		return false;
+
 	/*
 	 * Check if the current priority hint merits a preemption attempt.
 	 *
@@ -893,6 +896,9 @@ need_timeslice(struct intel_engine_cs *engine, const struct i915_request *rq)
 {
 	int hint;
 
+	if (!intel_engine_has_semaphores(engine))
+		return false;
+
 	if (list_is_last(&rq->sched.link, &engine->active.requests))
 		return false;
 
@@ -2634,7 +2640,8 @@ static u32 *gen8_emit_fini_breadcrumb(struct i915_request *request, u32 *cs)
 	*cs++ = MI_USER_INTERRUPT;
 
 	*cs++ = MI_ARB_ON_OFF | MI_ARB_ENABLE;
-	cs = emit_preempt_busywait(request, cs);
+	if (intel_engine_has_semaphores(request->engine))
+		cs = emit_preempt_busywait(request, cs);
 
 	request->tail = intel_ring_offset(request, cs);
 	assert_ring_tail_valid(request->ring, request->tail);
@@ -2658,7 +2665,8 @@ static u32 *gen8_emit_fini_breadcrumb_rcs(struct i915_request *request, u32 *cs)
 	*cs++ = MI_USER_INTERRUPT;
 
 	*cs++ = MI_ARB_ON_OFF | MI_ARB_ENABLE;
-	cs = emit_preempt_busywait(request, cs);
+	if (intel_engine_has_semaphores(request->engine))
+		cs = emit_preempt_busywait(request, cs);
 
 	request->tail = intel_ring_offset(request, cs);
 	assert_ring_tail_valid(request->ring, request->tail);
@@ -2706,10 +2714,11 @@ void intel_execlists_set_default_submission(struct intel_engine_cs *engine)
 	engine->unpark = NULL;
 
 	engine->flags |= I915_ENGINE_SUPPORTS_STATS;
-	if (!intel_vgpu_active(engine->i915))
+	if (!intel_vgpu_active(engine->i915)) {
 		engine->flags |= I915_ENGINE_HAS_SEMAPHORES;
-	if (HAS_LOGICAL_RING_PREEMPTION(engine->i915))
-		engine->flags |= I915_ENGINE_HAS_PREEMPTION;
+		if (HAS_LOGICAL_RING_PREEMPTION(engine->i915))
+			engine->flags |= I915_ENGINE_HAS_PREEMPTION;
+	}
 }
 
 static void execlists_destroy(struct intel_engine_cs *engine)
@@ -3399,7 +3408,6 @@ intel_execlists_create_virtual(struct i915_gem_context *ctx,
 	ve->base.class = OTHER_CLASS;
 	ve->base.uabi_class = I915_ENGINE_CLASS_INVALID;
 	ve->base.instance = I915_ENGINE_CLASS_INVALID_VIRTUAL;
-	ve->base.flags = I915_ENGINE_IS_VIRTUAL;
 
 	/*
 	 * The decision on whether to submit a request using semaphores
@@ -3496,8 +3504,12 @@ intel_execlists_create_virtual(struct i915_gem_context *ctx,
 		ve->base.emit_fini_breadcrumb = sibling->emit_fini_breadcrumb;
 		ve->base.emit_fini_breadcrumb_dw =
 			sibling->emit_fini_breadcrumb_dw;
+
+		ve->base.flags = sibling->flags;
 	}
 
+	ve->base.flags |= I915_ENGINE_IS_VIRTUAL;
+
 	return &ve->context;
 
 err_put:
diff --git a/drivers/gpu/drm/i915/gt/selftest_lrc.c b/drivers/gpu/drm/i915/gt/selftest_lrc.c
index fe4e15f9ba9d..a13f06ba984b 100644
--- a/drivers/gpu/drm/i915/gt/selftest_lrc.c
+++ b/drivers/gpu/drm/i915/gt/selftest_lrc.c
@@ -269,6 +269,9 @@ static int live_timeslice_preempt(void *arg)
 		enum intel_engine_id id;
 
 		for_each_engine(engine, i915, id) {
+			if (!intel_engine_has_preemption(engine))
+				continue;
+
 			memset(vaddr, 0, PAGE_SIZE);
 
 			err = slice_semaphore_queue(engine, vma, count);
@@ -354,6 +357,9 @@ static int live_busywait_preempt(void *arg)
 		struct igt_live_test t;
 		u32 *cs;
 
+		if (!intel_engine_has_preemption(engine))
+			continue;
+
 		if (!intel_engine_can_store_dword(engine))
 			continue;
 
-- 
2.22.0

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply related	[flat|nested] 12+ messages in thread

* ✓ Fi.CI.BAT: success for drm/i915/execlists: Disable preemption under GVT (rev6)
  2019-07-09  9:12 [PATCH] drm/i915/execlists: Disable preemption under GVT Chris Wilson
@ 2019-07-09 11:30 ` Patchwork
  2019-07-09 20:53 ` ✓ Fi.CI.IGT: " Patchwork
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 12+ messages in thread
From: Patchwork @ 2019-07-09 11:30 UTC (permalink / raw)
  To: Chris Wilson; +Cc: intel-gfx

== Series Details ==

Series: drm/i915/execlists: Disable preemption under GVT (rev6)
URL   : https://patchwork.freedesktop.org/series/62533/
State : success

== Summary ==

CI Bug Log - changes from CI_DRM_6438 -> Patchwork_13578
====================================================

Summary
-------

  **SUCCESS**

  No regressions found.

  External URL: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13578/

Known issues
------------

  Here are the changes found in Patchwork_13578 that come from known issues:

### IGT changes ###

#### Issues hit ####

  * igt@gem_ctx_create@basic-files:
    - fi-icl-u3:          [PASS][1] -> [INCOMPLETE][2] ([fdo#107713] / [fdo#109100])
   [1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6438/fi-icl-u3/igt@gem_ctx_create@basic-files.html
   [2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13578/fi-icl-u3/igt@gem_ctx_create@basic-files.html

  
  {name}: This element is suppressed. This means it is ignored when computing
          the status of the difference (SUCCESS, WARNING, or FAILURE).

  [fdo#102505]: https://bugs.freedesktop.org/show_bug.cgi?id=102505
  [fdo#107713]: https://bugs.freedesktop.org/show_bug.cgi?id=107713
  [fdo#109100]: https://bugs.freedesktop.org/show_bug.cgi?id=109100
  [fdo#111045]: https://bugs.freedesktop.org/show_bug.cgi?id=111045
  [fdo#111046 ]: https://bugs.freedesktop.org/show_bug.cgi?id=111046 
  [fdo#111049]: https://bugs.freedesktop.org/show_bug.cgi?id=111049


Participating hosts (55 -> 46)
------------------------------

  Missing    (9): fi-kbl-soraka fi-ilk-m540 fi-hsw-4200u fi-byt-squawks fi-bsw-cyan fi-pnv-d510 fi-icl-y fi-byt-clapper fi-bdw-samus 


Build changes
-------------

  * Linux: CI_DRM_6438 -> Patchwork_13578

  CI_DRM_6438: 95f55d284c41cf499bbfad4ea0c9f0199d47e27e @ git://anongit.freedesktop.org/gfx-ci/linux
  IGT_5092: 2a66ae6626d5583240509f84117d1345a799b75a @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
  Patchwork_13578: a251da6a918cdf3118804390ee3d2cef83e11bb5 @ git://anongit.freedesktop.org/gfx-ci/linux


== Kernel 32bit build ==

Warning: Kernel 32bit buildtest failed:
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13578/build_32bit.log

  CALL    scripts/checksyscalls.sh
  CALL    scripts/atomic/check-atomics.sh
  CHK     include/generated/compile.h
Kernel: arch/x86/boot/bzImage is ready  (#1)
  Building modules, stage 2.
  MODPOST 112 modules
ERROR: "__udivdi3" [drivers/gpu/drm/amd/amdgpu/amdgpu.ko] undefined!
ERROR: "__divdi3" [drivers/gpu/drm/amd/amdgpu/amdgpu.ko] undefined!
scripts/Makefile.modpost:91: recipe for target '__modpost' failed
make[1]: *** [__modpost] Error 1
Makefile:1287: recipe for target 'modules' failed
make: *** [modules] Error 2


== Linux commits ==

a251da6a918c drm/i915/execlists: Disable preemption under GVT

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13578/
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 12+ messages in thread

* ✓ Fi.CI.IGT: success for drm/i915/execlists: Disable preemption under GVT (rev6)
  2019-07-09  9:12 [PATCH] drm/i915/execlists: Disable preemption under GVT Chris Wilson
  2019-07-09 11:30 ` ✓ Fi.CI.BAT: success for drm/i915/execlists: Disable preemption under GVT (rev6) Patchwork
@ 2019-07-09 20:53 ` Patchwork
  2019-07-15  9:32   ` Zhenyu Wang
  2019-07-10 10:04 ` [PATCH] drm/i915/execlists: Disable preemption under GVT Zhang, Xiaolin
  2019-07-16  9:25 ` Zhenyu Wang
  3 siblings, 1 reply; 12+ messages in thread
From: Patchwork @ 2019-07-09 20:53 UTC (permalink / raw)
  To: Chris Wilson; +Cc: intel-gfx

== Series Details ==

Series: drm/i915/execlists: Disable preemption under GVT (rev6)
URL   : https://patchwork.freedesktop.org/series/62533/
State : success

== Summary ==

CI Bug Log - changes from CI_DRM_6438_full -> Patchwork_13578_full
====================================================

Summary
-------

  **SUCCESS**

  No regressions found.

  

Known issues
------------

  Here are the changes found in Patchwork_13578_full that come from known issues:

### IGT changes ###

#### Issues hit ####

  * igt@gem_ctx_isolation@bcs0-s3:
    - shard-skl:          [PASS][1] -> [INCOMPLETE][2] ([fdo#104108]) +1 similar issue
   [1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6438/shard-skl2/igt@gem_ctx_isolation@bcs0-s3.html
   [2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13578/shard-skl8/igt@gem_ctx_isolation@bcs0-s3.html

  * igt@gem_eio@unwedge-stress:
    - shard-snb:          [PASS][3] -> [FAIL][4] ([fdo#109661])
   [3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6438/shard-snb5/igt@gem_eio@unwedge-stress.html
   [4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13578/shard-snb7/igt@gem_eio@unwedge-stress.html

  * igt@gem_tiled_swapping@non-threaded:
    - shard-kbl:          [PASS][5] -> [DMESG-WARN][6] ([fdo#108686])
   [5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6438/shard-kbl4/igt@gem_tiled_swapping@non-threaded.html
   [6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13578/shard-kbl3/igt@gem_tiled_swapping@non-threaded.html

  * igt@i915_suspend@sysfs-reader:
    - shard-apl:          [PASS][7] -> [DMESG-WARN][8] ([fdo#108566]) +5 similar issues
   [7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6438/shard-apl4/igt@i915_suspend@sysfs-reader.html
   [8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13578/shard-apl7/igt@i915_suspend@sysfs-reader.html

  * igt@kms_cursor_crc@pipe-c-cursor-suspend:
    - shard-kbl:          [PASS][9] -> [DMESG-WARN][10] ([fdo#108566])
   [9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6438/shard-kbl3/igt@kms_cursor_crc@pipe-c-cursor-suspend.html
   [10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13578/shard-kbl4/igt@kms_cursor_crc@pipe-c-cursor-suspend.html

  * igt@kms_draw_crc@draw-method-rgb565-mmap-wc-ytiled:
    - shard-skl:          [PASS][11] -> [FAIL][12] ([fdo#103184] / [fdo#103232])
   [11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6438/shard-skl9/igt@kms_draw_crc@draw-method-rgb565-mmap-wc-ytiled.html
   [12]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13578/shard-skl1/igt@kms_draw_crc@draw-method-rgb565-mmap-wc-ytiled.html

  * igt@kms_flip_tiling@flip-changes-tiling-yf:
    - shard-skl:          [PASS][13] -> [FAIL][14] ([fdo#108228] / [fdo#108303])
   [13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6438/shard-skl9/igt@kms_flip_tiling@flip-changes-tiling-yf.html
   [14]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13578/shard-skl1/igt@kms_flip_tiling@flip-changes-tiling-yf.html

  * igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-indfb-pgflip-blt:
    - shard-iclb:         [PASS][15] -> [INCOMPLETE][16] ([fdo#106978] / [fdo#107713])
   [15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6438/shard-iclb6/igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-indfb-pgflip-blt.html
   [16]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13578/shard-iclb7/igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-indfb-pgflip-blt.html

  * igt@kms_frontbuffer_tracking@fbcpsr-1p-shrfb-fliptrack:
    - shard-iclb:         [PASS][17] -> [FAIL][18] ([fdo#103167]) +2 similar issues
   [17]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6438/shard-iclb7/igt@kms_frontbuffer_tracking@fbcpsr-1p-shrfb-fliptrack.html
   [18]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13578/shard-iclb5/igt@kms_frontbuffer_tracking@fbcpsr-1p-shrfb-fliptrack.html

  * igt@kms_psr@psr2_primary_page_flip:
    - shard-iclb:         [PASS][19] -> [SKIP][20] ([fdo#109441]) +2 similar issues
   [19]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6438/shard-iclb2/igt@kms_psr@psr2_primary_page_flip.html
   [20]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13578/shard-iclb1/igt@kms_psr@psr2_primary_page_flip.html

  * igt@kms_setmode@basic:
    - shard-apl:          [PASS][21] -> [FAIL][22] ([fdo#99912])
   [21]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6438/shard-apl5/igt@kms_setmode@basic.html
   [22]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13578/shard-apl2/igt@kms_setmode@basic.html

  * igt@kms_vblank@pipe-b-query-forked-busy-hang:
    - shard-hsw:          [PASS][23] -> [INCOMPLETE][24] ([fdo#103540])
   [23]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6438/shard-hsw2/igt@kms_vblank@pipe-b-query-forked-busy-hang.html
   [24]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13578/shard-hsw7/igt@kms_vblank@pipe-b-query-forked-busy-hang.html

  * igt@perf@blocking:
    - shard-skl:          [PASS][25] -> [FAIL][26] ([fdo#110728])
   [25]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6438/shard-skl1/igt@perf@blocking.html
   [26]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13578/shard-skl6/igt@perf@blocking.html

  
#### Possible fixes ####

  * igt@gem_exec_balancer@smoke:
    - shard-iclb:         [SKIP][27] ([fdo#110854]) -> [PASS][28]
   [27]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6438/shard-iclb6/igt@gem_exec_balancer@smoke.html
   [28]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13578/shard-iclb4/igt@gem_exec_balancer@smoke.html

  * igt@kms_cursor_crc@pipe-b-cursor-suspend:
    - shard-apl:          [DMESG-WARN][29] ([fdo#108566]) -> [PASS][30] +1 similar issue
   [29]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6438/shard-apl6/igt@kms_cursor_crc@pipe-b-cursor-suspend.html
   [30]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13578/shard-apl8/igt@kms_cursor_crc@pipe-b-cursor-suspend.html

  * igt@kms_flip@plain-flip-fb-recreate-interruptible:
    - shard-skl:          [FAIL][31] ([fdo#100368]) -> [PASS][32]
   [31]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6438/shard-skl9/igt@kms_flip@plain-flip-fb-recreate-interruptible.html
   [32]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13578/shard-skl1/igt@kms_flip@plain-flip-fb-recreate-interruptible.html

  * igt@kms_frontbuffer_tracking@fbc-1p-offscren-pri-shrfb-draw-pwrite:
    - shard-iclb:         [FAIL][33] ([fdo#103167]) -> [PASS][34] +4 similar issues
   [33]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6438/shard-iclb4/igt@kms_frontbuffer_tracking@fbc-1p-offscren-pri-shrfb-draw-pwrite.html
   [34]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13578/shard-iclb8/igt@kms_frontbuffer_tracking@fbc-1p-offscren-pri-shrfb-draw-pwrite.html

  * igt@kms_frontbuffer_tracking@fbcpsr-suspend:
    - shard-skl:          [INCOMPLETE][35] ([fdo#104108] / [fdo#106978]) -> [PASS][36]
   [35]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6438/shard-skl3/igt@kms_frontbuffer_tracking@fbcpsr-suspend.html
   [36]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13578/shard-skl8/igt@kms_frontbuffer_tracking@fbcpsr-suspend.html

  * igt@kms_plane_alpha_blend@pipe-b-coverage-7efc:
    - shard-skl:          [FAIL][37] ([fdo#108145] / [fdo#110403]) -> [PASS][38]
   [37]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6438/shard-skl9/igt@kms_plane_alpha_blend@pipe-b-coverage-7efc.html
   [38]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13578/shard-skl1/igt@kms_plane_alpha_blend@pipe-b-coverage-7efc.html

  * igt@kms_psr@psr2_primary_mmap_gtt:
    - shard-iclb:         [SKIP][39] ([fdo#109441]) -> [PASS][40]
   [39]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6438/shard-iclb3/igt@kms_psr@psr2_primary_mmap_gtt.html
   [40]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13578/shard-iclb2/igt@kms_psr@psr2_primary_mmap_gtt.html

  
  [fdo#100368]: https://bugs.freedesktop.org/show_bug.cgi?id=100368
  [fdo#103167]: https://bugs.freedesktop.org/show_bug.cgi?id=103167
  [fdo#103184]: https://bugs.freedesktop.org/show_bug.cgi?id=103184
  [fdo#103232]: https://bugs.freedesktop.org/show_bug.cgi?id=103232
  [fdo#103540]: https://bugs.freedesktop.org/show_bug.cgi?id=103540
  [fdo#104108]: https://bugs.freedesktop.org/show_bug.cgi?id=104108
  [fdo#106978]: https://bugs.freedesktop.org/show_bug.cgi?id=106978
  [fdo#107713]: https://bugs.freedesktop.org/show_bug.cgi?id=107713
  [fdo#108145]: https://bugs.freedesktop.org/show_bug.cgi?id=108145
  [fdo#108228]: https://bugs.freedesktop.org/show_bug.cgi?id=108228
  [fdo#108303]: https://bugs.freedesktop.org/show_bug.cgi?id=108303
  [fdo#108566]: https://bugs.freedesktop.org/show_bug.cgi?id=108566
  [fdo#108686]: https://bugs.freedesktop.org/show_bug.cgi?id=108686
  [fdo#109441]: https://bugs.freedesktop.org/show_bug.cgi?id=109441
  [fdo#109661]: https://bugs.freedesktop.org/show_bug.cgi?id=109661
  [fdo#110403]: https://bugs.freedesktop.org/show_bug.cgi?id=110403
  [fdo#110728]: https://bugs.freedesktop.org/show_bug.cgi?id=110728
  [fdo#110854]: https://bugs.freedesktop.org/show_bug.cgi?id=110854
  [fdo#99912]: https://bugs.freedesktop.org/show_bug.cgi?id=99912


Participating hosts (10 -> 9)
------------------------------

  Missing    (1): pig-hsw-4770r 


Build changes
-------------

  * Linux: CI_DRM_6438 -> Patchwork_13578

  CI_DRM_6438: 95f55d284c41cf499bbfad4ea0c9f0199d47e27e @ git://anongit.freedesktop.org/gfx-ci/linux
  IGT_5092: 2a66ae6626d5583240509f84117d1345a799b75a @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
  Patchwork_13578: a251da6a918cdf3118804390ee3d2cef83e11bb5 @ git://anongit.freedesktop.org/gfx-ci/linux
  piglit_4509: fdc5a4ca11124ab8413c7988896eec4c97336694 @ git://anongit.freedesktop.org/piglit

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13578/
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PATCH] drm/i915/execlists: Disable preemption under GVT
  2019-07-09  9:12 [PATCH] drm/i915/execlists: Disable preemption under GVT Chris Wilson
  2019-07-09 11:30 ` ✓ Fi.CI.BAT: success for drm/i915/execlists: Disable preemption under GVT (rev6) Patchwork
  2019-07-09 20:53 ` ✓ Fi.CI.IGT: " Patchwork
@ 2019-07-10 10:04 ` Zhang, Xiaolin
  2019-07-10 10:13   ` Chris Wilson
  2019-07-16  9:25 ` Zhenyu Wang
  3 siblings, 1 reply; 12+ messages in thread
From: Zhang, Xiaolin @ 2019-07-10 10:04 UTC (permalink / raw)
  To: Chris Wilson, intel-gfx

[-- Attachment #1: Type: text/plain, Size: 9164 bytes --]

On 07/09/2019 05:12 PM, Chris Wilson wrote:
> Preempt-to-busy uses a GPU semaphore to enforce an idle-barrier across
> preemption, but mediated gvt does not fully support semaphores.
>
> v2: Fiddle around with the flags and settle on using has-semaphores for
> the core bits so that we retain the ability to preempt our own
> semaphores.
Chris,
With this patch, vgpu guest can boot up successfully with BAT test passed.
But I want to point out there is other GPU hang issue pop up after vgpu
guest boot issue addressed. I am not pretty sure is it related or not. 
Basically it is easy to trigger with glxears with vblank_mode 0 and the
GPU hang time is random and the call trace is below: (guest kernel log
is attached in case it is useful.).
[ 1192.680497] Asynchronous wait on fence i915:compiz[1866]:b30 timed
out (hint:intel_atomic_commit_ready+0x0/0x50 [i915])
[ 1193.512989] hangcheck rcs0
[ 1193.513650] hangcheck     Awake? 4
[ 1193.514299] hangcheck     Hangcheck: 9986 ms ago
[ 1193.515071] hangcheck     Reset count: 0 (global 0)
[ 1193.515854] hangcheck     Requests:
[ 1193.516410] hangcheck     RING_START: 0x00000000
[ 1193.517138] hangcheck     RING_HEAD:  0x00003198
[ 1193.517876] hangcheck     RING_TAIL:  0x00003198
[ 1193.518611] hangcheck     RING_CTL:   0x00000000
[ 1193.519380] hangcheck     RING_MODE:  0x00000200 [idle]
[ 1193.520149] hangcheck     RING_IMR: fffffefe
[ 1193.520799] hangcheck     ACTHD:  0x00000000_000a6650
[ 1193.521545] hangcheck     BBADDR: 0x00000000_00000000
[ 1193.522321] hangcheck     DMA_FADDR: 0x00000000_00000000
[ 1193.523392] hangcheck     IPEIR: 0x00000000
[ 1193.524171] hangcheck     IPEHR: 0x00000000
[ 1193.525050] hangcheck     Execlist status: 0x00040012 00000003, entries 6
[ 1193.526049] hangcheck     Execlist CSB read 5, write 5, tasklet
queued? no (enabled)
[ 1193.527154] hangcheck         Active[0: ring:{start:dff03000,
hwsp:dff661c0, seqno:00012175}, rq:  1b:12178-  prio=4097 @ 11649ms:
glxgears[2160]
[ 1193.528852] hangcheck         Pending[0] ring:{start:dff03000,
hwsp:dff661c0, seqno:00012175}, rq:  1b:12178-  prio=4097 @ 11649ms:
glxgears[2160]
[ 1193.532515] hangcheck         Pending[1] ring:{start:dff39000,
hwsp:dff66140, seqno:004f7b5e}, rq:  14:4f7b60  prio=4097 @ 11655ms:
Xorg[865]
[ 1193.536009] hangcheck         E  1b:12178-  prio=4097 @ 11658ms:
glxgears[2160]
[ 1193.537187] hangcheck         E  14:4f7b60  prio=4097 @ 11658ms:
Xorg[865]
[ 1193.538192] hangcheck         Queue priority hint: 4097
[ 1193.538894] hangcheck         Q  1a:b30-  prio=4097 @ 11650ms:
compiz[1866]
[ 1193.539810] hangcheck         Q  1b:1217a  prio=2 @ 11660ms:
glxgears[2160]
[ 1193.542485] hangcheck HWSP:
[ 1193.543703] hangcheck [0000] 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
[ 1193.546729] hangcheck *
[ 1193.547230] hangcheck [0040] 00000014 00000003 00008002 00000001
00000014 00000001 00000018 00000003
[ 1193.550607] hangcheck [0060] 00000001 00000000 00000014 00000001
00000000 00000000 00000000 00000005
[ 1193.552274] hangcheck [0080] 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
[ 1193.553937] hangcheck *
[ 1193.554381] hangcheck Idle? no
[ 1193.554902] hangcheck Signals:
[ 1193.555419] hangcheck     [1b:12178] @ 11678ms
[ 1193.864797] i915 0000:00:04.0: GPU HANG: ecode 9:0:0x00000000, hang
on rcs0
[ 1193.869234] [drm] GPU hangs can indicate a bug anywhere in the entire
gfx stack, including userspace.
[ 1193.871096] [drm] Please file a _new_ bug report on
bugs.freedesktop.org against DRI -> DRM/Intel
[ 1193.872483] [drm] drm/i915 developers can then reassign to the right
component if it's not a kernel issue.
[ 1193.873927] [drm] The gpu crash dump is required to analyze gpu
hangs, so please always attach it.
[ 1193.875395] [drm] GPU crash dump saved to /sys/class/drm/card0/error

BRs, Xiaolin
>
> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
> Cc: Zhenyu Wang <zhenyuw@linux.intel.com>
> Cc: Xiaolin Zhang <xiaolin.zhang@intel.com>
> Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
> Cc: Mika Kuoppala <mika.kuoppala@linux.intel.com>
> ---
>  drivers/gpu/drm/i915/gt/intel_engine_cs.c |  4 ++--
>  drivers/gpu/drm/i915/gt/intel_lrc.c       | 24 +++++++++++++++++------
>  drivers/gpu/drm/i915/gt/selftest_lrc.c    |  6 ++++++
>  3 files changed, 26 insertions(+), 8 deletions(-)
>
> diff --git a/drivers/gpu/drm/i915/gt/intel_engine_cs.c b/drivers/gpu/drm/i915/gt/intel_engine_cs.c
> index 56310812da21..614ed8c488ef 100644
> --- a/drivers/gpu/drm/i915/gt/intel_engine_cs.c
> +++ b/drivers/gpu/drm/i915/gt/intel_engine_cs.c
> @@ -825,6 +825,8 @@ int intel_engine_init_common(struct intel_engine_cs *engine)
>  	struct drm_i915_private *i915 = engine->i915;
>  	int ret;
>  
> +	engine->set_default_submission(engine);
> +
>  	/* We may need to do things with the shrinker which
>  	 * require us to immediately switch back to the default
>  	 * context. This can cause a problem as pinning the
> @@ -852,8 +854,6 @@ int intel_engine_init_common(struct intel_engine_cs *engine)
>  
>  	engine->emit_fini_breadcrumb_dw = ret;
>  
> -	engine->set_default_submission(engine);
> -
>  	return 0;
>  
>  err_unpin:
> diff --git a/drivers/gpu/drm/i915/gt/intel_lrc.c b/drivers/gpu/drm/i915/gt/intel_lrc.c
> index 558a5850de3c..ef36f4b5e212 100644
> --- a/drivers/gpu/drm/i915/gt/intel_lrc.c
> +++ b/drivers/gpu/drm/i915/gt/intel_lrc.c
> @@ -295,6 +295,9 @@ static inline bool need_preempt(const struct intel_engine_cs *engine,
>  {
>  	int last_prio;
>  
> +	if (!intel_engine_has_semaphores(engine))
> +		return false;
> +
>  	/*
>  	 * Check if the current priority hint merits a preemption attempt.
>  	 *
> @@ -893,6 +896,9 @@ need_timeslice(struct intel_engine_cs *engine, const struct i915_request *rq)
>  {
>  	int hint;
>  
> +	if (!intel_engine_has_semaphores(engine))
> +		return false;
> +
>  	if (list_is_last(&rq->sched.link, &engine->active.requests))
>  		return false;
>  
> @@ -2634,7 +2640,8 @@ static u32 *gen8_emit_fini_breadcrumb(struct i915_request *request, u32 *cs)
>  	*cs++ = MI_USER_INTERRUPT;
>  
>  	*cs++ = MI_ARB_ON_OFF | MI_ARB_ENABLE;
> -	cs = emit_preempt_busywait(request, cs);
> +	if (intel_engine_has_semaphores(request->engine))
> +		cs = emit_preempt_busywait(request, cs);
>  
>  	request->tail = intel_ring_offset(request, cs);
>  	assert_ring_tail_valid(request->ring, request->tail);
> @@ -2658,7 +2665,8 @@ static u32 *gen8_emit_fini_breadcrumb_rcs(struct i915_request *request, u32 *cs)
>  	*cs++ = MI_USER_INTERRUPT;
>  
>  	*cs++ = MI_ARB_ON_OFF | MI_ARB_ENABLE;
> -	cs = emit_preempt_busywait(request, cs);
> +	if (intel_engine_has_semaphores(request->engine))
> +		cs = emit_preempt_busywait(request, cs);
>  
>  	request->tail = intel_ring_offset(request, cs);
>  	assert_ring_tail_valid(request->ring, request->tail);
> @@ -2706,10 +2714,11 @@ void intel_execlists_set_default_submission(struct intel_engine_cs *engine)
>  	engine->unpark = NULL;
>  
>  	engine->flags |= I915_ENGINE_SUPPORTS_STATS;
> -	if (!intel_vgpu_active(engine->i915))
> +	if (!intel_vgpu_active(engine->i915)) {
>  		engine->flags |= I915_ENGINE_HAS_SEMAPHORES;
> -	if (HAS_LOGICAL_RING_PREEMPTION(engine->i915))
> -		engine->flags |= I915_ENGINE_HAS_PREEMPTION;
> +		if (HAS_LOGICAL_RING_PREEMPTION(engine->i915))
> +			engine->flags |= I915_ENGINE_HAS_PREEMPTION;
> +	}
>  }
>  
>  static void execlists_destroy(struct intel_engine_cs *engine)
> @@ -3399,7 +3408,6 @@ intel_execlists_create_virtual(struct i915_gem_context *ctx,
>  	ve->base.class = OTHER_CLASS;
>  	ve->base.uabi_class = I915_ENGINE_CLASS_INVALID;
>  	ve->base.instance = I915_ENGINE_CLASS_INVALID_VIRTUAL;
> -	ve->base.flags = I915_ENGINE_IS_VIRTUAL;
>  
>  	/*
>  	 * The decision on whether to submit a request using semaphores
> @@ -3496,8 +3504,12 @@ intel_execlists_create_virtual(struct i915_gem_context *ctx,
>  		ve->base.emit_fini_breadcrumb = sibling->emit_fini_breadcrumb;
>  		ve->base.emit_fini_breadcrumb_dw =
>  			sibling->emit_fini_breadcrumb_dw;
> +
> +		ve->base.flags = sibling->flags;
>  	}
>  
> +	ve->base.flags |= I915_ENGINE_IS_VIRTUAL;
> +
>  	return &ve->context;
>  
>  err_put:
> diff --git a/drivers/gpu/drm/i915/gt/selftest_lrc.c b/drivers/gpu/drm/i915/gt/selftest_lrc.c
> index fe4e15f9ba9d..a13f06ba984b 100644
> --- a/drivers/gpu/drm/i915/gt/selftest_lrc.c
> +++ b/drivers/gpu/drm/i915/gt/selftest_lrc.c
> @@ -269,6 +269,9 @@ static int live_timeslice_preempt(void *arg)
>  		enum intel_engine_id id;
>  
>  		for_each_engine(engine, i915, id) {
> +			if (!intel_engine_has_preemption(engine))
> +				continue;
> +
>  			memset(vaddr, 0, PAGE_SIZE);
>  
>  			err = slice_semaphore_queue(engine, vma, count);
> @@ -354,6 +357,9 @@ static int live_busywait_preempt(void *arg)
>  		struct igt_live_test t;
>  		u32 *cs;
>  
> +		if (!intel_engine_has_preemption(engine))
> +			continue;
> +
>  		if (!intel_engine_can_store_dword(engine))
>  			continue;
>  

[-- Attachment #2: gpu-hang.txt --]
[-- Type: text/plain, Size: 54563 bytes --]

[    0.000000] Linux version 5.2.0+ (intel@vca-bj102) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-11) (GCC)) #2 SMP Wed Jul 10 21:43:50 CST 2019
[    0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-5.2.0+ root=/dev/sda1 ro ignore_loglevel log_buf_len=128M console=tty0 console=ttyS0,115200,8n1 splash vt.handoff=7
[    0.000000] x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers'
[    0.000000] x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers'
[    0.000000] x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers'
[    0.000000] x86/fpu: Supporting XSAVE feature 0x008: 'MPX bounds registers'
[    0.000000] x86/fpu: Supporting XSAVE feature 0x010: 'MPX CSR'
[    0.000000] x86/fpu: xstate_offset[2]:  576, xstate_sizes[2]:  256
[    0.000000] x86/fpu: xstate_offset[3]:  832, xstate_sizes[3]:   64
[    0.000000] x86/fpu: xstate_offset[4]:  896, xstate_sizes[4]:   64
[    0.000000] x86/fpu: Enabled xstate features 0x1f, context size is 960 bytes, using 'compacted' format.
[    0.000000] BIOS-provided physical RAM map:
[    0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009fbff] usable
[    0.000000] BIOS-e820: [mem 0x000000000009fc00-0x000000000009ffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000000f0000-0x00000000000fffff] reserved
[    0.000000] BIOS-e820: [mem 0x0000000000100000-0x00000000bffdefff] usable
[    0.000000] BIOS-e820: [mem 0x00000000bffdf000-0x00000000bfffffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000feffc000-0x00000000feffffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000fffc0000-0x00000000ffffffff] reserved
[    0.000000] BIOS-e820: [mem 0x0000000100000000-0x000000013fffffff] usable
[    0.000000] printk: debug: ignoring loglevel setting.
[    0.000000] NX (Execute Disable) protection: active
[    0.000000] SMBIOS 2.8 present.
[    0.000000] DMI: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.10.2-0-g5f4c7b1 04/01/2014
[    0.000000] Hypervisor detected: KVM
[    0.000000] kvm-clock: Using msrs 4b564d01 and 4b564d00
[    0.000000] kvm-clock: cpu 0, msr 93601001, primary cpu clock
[    0.000000] kvm-clock: using sched offset of 772777356264 cycles
[    0.000004] clocksource: kvm-clock: mask: 0xffffffffffffffff max_cycles: 0x1cd42e4dffb, max_idle_ns: 881590591483 ns
[    0.000011] tsc: Detected 1800.000 MHz processor
[    0.001911] e820: update [mem 0x00000000-0x00000fff] usable ==> reserved
[    0.001913] e820: remove [mem 0x000a0000-0x000fffff] usable
[    0.001916] last_pfn = 0x140000 max_arch_pfn = 0x400000000
[    0.001968] MTRR default type: write-back
[    0.001971] MTRR fixed ranges enabled:
[    0.001973]   00000-9FFFF write-back
[    0.001973]   A0000-BFFFF uncachable
[    0.001974]   C0000-FFFFF write-protect
[    0.001975] MTRR variable ranges enabled:
[    0.001977]   0 base 00C0000000 mask FFC0000000 uncachable
[    0.001977]   1 disabled
[    0.001978]   2 disabled
[    0.001979]   3 disabled
[    0.001979]   4 disabled
[    0.001980]   5 disabled
[    0.001980]   6 disabled
[    0.001981]   7 disabled
[    0.001993] x86/PAT: Configuration [0-7]: WB  WC  UC- UC  WB  WP  UC- WT  
[    0.002003] last_pfn = 0xbffdf max_arch_pfn = 0x400000000
[    0.012278] found SMP MP-table at [mem 0x000f6a10-0x000f6a1f]
[    0.012556] Using GB pages for direct mapping
[    0.012561] BRK [0x93801000, 0x93801fff] PGTABLE
[    0.012566] BRK [0x93802000, 0x93802fff] PGTABLE
[    0.012567] BRK [0x93803000, 0x93803fff] PGTABLE
[    0.012620] BRK [0x93804000, 0x93804fff] PGTABLE
[    0.170397] printk: log_buf_len: 134217728 bytes
[    0.170401] printk: early log buf free: 1045008(99%)
[    0.170445] ACPI: Early table checksum verification disabled
[    0.170517] ACPI: RSDP 0x00000000000F69D0 000014 (v00 BOCHS )
[    0.170525] ACPI: RSDT 0x00000000BFFE1464 000030 (v01 BOCHS  BXPCRSDT 00000001 BXPC 00000001)
[    0.170535] ACPI: FACP 0x00000000BFFE1308 000074 (v01 BOCHS  BXPCFACP 00000001 BXPC 00000001)
[    0.170546] ACPI: DSDT 0x00000000BFFDFCC0 001648 (v01 BOCHS  BXPCDSDT 00000001 BXPC 00000001)
[    0.170553] ACPI: FACS 0x00000000BFFDFC80 000040
[    0.170559] ACPI: APIC 0x00000000BFFE137C 0000B0 (v01 BOCHS  BXPCAPIC 00000001 BXPC 00000001)
[    0.170562] ACPI: HPET 0x00000000BFFE142C 000038 (v01 BOCHS  BXPCHPET 00000001 BXPC 00000001)
[    0.170575] ACPI: Local APIC address 0xfee00000
[    0.170927] No NUMA configuration found
[    0.170929] Faking a node at [mem 0x0000000000000000-0x000000013fffffff]
[    0.170941] NODE_DATA(0) allocated [mem 0x137fd3000-0x137ffdfff]
[    0.171312] Zone ranges:
[    0.171316]   DMA      [mem 0x0000000000001000-0x0000000000ffffff]
[    0.171318]   DMA32    [mem 0x0000000001000000-0x00000000ffffffff]
[    0.171319]   Normal   [mem 0x0000000100000000-0x000000013fffffff]
[    0.171320]   Device   empty
[    0.171321] Movable zone start for each node
[    0.171324] Early memory node ranges
[    0.171325]   node   0: [mem 0x0000000000001000-0x000000000009efff]
[    0.171325]   node   0: [mem 0x0000000000100000-0x00000000bffdefff]
[    0.171326]   node   0: [mem 0x0000000100000000-0x000000013fffffff]
[    0.171330] Zeroed struct page in unavailable ranges: 131 pages
[    0.171331] Initmem setup node 0 [mem 0x0000000000001000-0x000000013fffffff]
[    0.171332] On node 0 totalpages: 1048445
[    0.171336]   DMA zone: 64 pages used for memmap
[    0.171337]   DMA zone: 21 pages reserved
[    0.171338]   DMA zone: 3998 pages, LIFO batch:0
[    0.171380]   DMA32 zone: 12224 pages used for memmap
[    0.171381]   DMA32 zone: 782303 pages, LIFO batch:63
[    0.182767]   Normal zone: 4096 pages used for memmap
[    0.182770]   Normal zone: 262144 pages, LIFO batch:63
[    0.183618] ACPI: PM-Timer IO Port: 0x608
[    0.183621] ACPI: Local APIC address 0xfee00000
[    0.183635] ACPI: LAPIC_NMI (acpi_id[0xff] dfl dfl lint[0x1])
[    0.183673] IOAPIC[0]: apic_id 0, version 17, address 0xfec00000, GSI 0-23
[    0.183676] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
[    0.183678] ACPI: INT_SRC_OVR (bus 0 bus_irq 5 global_irq 5 high level)
[    0.183679] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
[    0.183685] ACPI: INT_SRC_OVR (bus 0 bus_irq 10 global_irq 10 high level)
[    0.183686] ACPI: INT_SRC_OVR (bus 0 bus_irq 11 global_irq 11 high level)
[    0.183687] ACPI: IRQ0 used by override.
[    0.183689] ACPI: IRQ5 used by override.
[    0.183690] ACPI: IRQ9 used by override.
[    0.183690] ACPI: IRQ10 used by override.
[    0.183691] ACPI: IRQ11 used by override.
[    0.183693] Using ACPI (MADT) for SMP configuration information
[    0.183695] ACPI: HPET id: 0x8086a201 base: 0xfed00000
[    0.183704] smpboot: Allowing 8 CPUs, 0 hotplug CPUs
[    0.183729] PM: Registered nosave memory: [mem 0x00000000-0x00000fff]
[    0.183730] PM: Registered nosave memory: [mem 0x0009f000-0x0009ffff]
[    0.183731] PM: Registered nosave memory: [mem 0x000a0000-0x000effff]
[    0.183732] PM: Registered nosave memory: [mem 0x000f0000-0x000fffff]
[    0.183733] PM: Registered nosave memory: [mem 0xbffdf000-0xbfffffff]
[    0.183733] PM: Registered nosave memory: [mem 0xc0000000-0xfeffbfff]
[    0.183734] PM: Registered nosave memory: [mem 0xfeffc000-0xfeffffff]
[    0.183735] PM: Registered nosave memory: [mem 0xff000000-0xfffbffff]
[    0.183735] PM: Registered nosave memory: [mem 0xfffc0000-0xffffffff]
[    0.183737] [mem 0xc0000000-0xfeffbfff] available for PCI devices
[    0.183738] Booting paravirtualized kernel on KVM
[    0.183744] clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1910969940391419 ns
[    0.286465] setup_percpu: NR_CPUS:8192 nr_cpumask_bits:8 nr_cpu_ids:8 nr_node_ids:1
[    0.287582] percpu: Embedded 55 pages/cpu s188416 r8192 d28672 u262144
[    0.287588] pcpu-alloc: s188416 r8192 d28672 u262144 alloc=1*2097152
[    0.287590] pcpu-alloc: [0] 0 1 2 3 4 5 6 7 
[    0.287618] KVM setup async PF for cpu 0
[    0.287623] kvm-stealtime: cpu 0, msr 133a2d040
[    0.287632] PV qspinlock hash table entries: 256 (order: 0, 4096 bytes)
[    0.287642] Built 1 zonelists, mobility grouping on.  Total pages: 1032040
[    0.287644] Policy zone: Normal
[    0.287646] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-5.2.0+ root=/dev/sda1 ro ignore_loglevel log_buf_len=128M console=tty0 console=ttyS0,115200,8n1 splash vt.handoff=7
[    0.371678] Memory: 3175788K/4193780K available (12307K kernel code, 2282K rwdata, 4444K rodata, 2492K init, 5644K bss, 299680K reserved, 0K cma-reserved)
[    0.371765] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=8, Nodes=1
[    0.371783] Kernel/User page tables isolation: enabled
[    0.371813] ftrace: allocating 40521 entries in 159 pages
[    0.390255] rcu: Hierarchical RCU implementation.
[    0.390258] rcu: 	RCU restricting CPUs from NR_CPUS=8192 to nr_cpu_ids=8.
[    0.390261] rcu: RCU calculated value of scheduler-enlistment delay is 100 jiffies.
[    0.390262] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=8
[    0.393538] NR_IRQS: 524544, nr_irqs: 488, preallocated irqs: 16
[    0.393888] random: get_random_bytes called from start_kernel+0x35f/0x56f with crng_init=0
[    0.423158] Console: colour VGA+ 80x25
[    0.501032] printk: console [tty0] enabled
[    0.767095] printk: console [ttyS0] enabled
[    0.768422] ACPI: Core revision 20190509
[    0.769939] clocksource: hpet: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604467 ns
[    0.772665] hpet clockevent registered
[    0.773971] APIC: Switch to symmetric I/O mode setup
[    0.775712] x2apic enabled
[    0.776934] Switched APIC routing to physical x2apic.
[    0.778297] KVM setup pv IPIs
[    0.780489] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
[    0.782095] clocksource: tsc-early: mask: 0xffffffffffffffff max_cycles: 0x19f2297dd97, max_idle_ns: 440795236593 ns
[    0.785220] Calibrating delay loop (skipped) preset value.. 3600.00 BogoMIPS (lpj=1800000)
[    0.786221] pid_max: default: 32768 minimum: 301
[    0.787242] LSM: Security Framework initializing
[    0.788234] Yama: becoming mindful.
[    0.789224] SELinux:  Initializing.
[    0.790238] *** VALIDATE SELinux ***
[    0.793605] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes)
[    0.795337] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes)
[    0.796279] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes)
[    0.797270] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes)
[    0.798385] *** VALIDATE proc ***
[    0.799279] *** VALIDATE cgroup1 ***
[    0.800217] *** VALIDATE cgroup2 ***
[    0.801304] x86/cpu: User Mode Instruction Prevention (UMIP) activated
[    0.802273] Last level iTLB entries: 4KB 0, 2MB 0, 4MB 0
[    0.803217] Last level dTLB entries: 4KB 0, 2MB 0, 4MB 0, 1GB 0
[    0.804224] Spectre V2 : Spectre mitigation: kernel not compiled with retpoline; no mitigation available!
[    0.804225] Speculative Store Bypass: Vulnerable
[    0.806226] MDS: Vulnerable: Clear CPU buffers attempted, no microcode
[    0.807499] Freeing SMP alternatives memory: 36K
[    0.810730] TSC deadline timer enabled
[    0.811214] smpboot: CPU0: Intel(R) Core(TM) i5-6260U CPU @ 1.80GHz (family: 0x6, model: 0x4e, stepping: 0x3)
[    0.811406] Performance Events: Skylake events, Intel PMU driver.
[    0.812224] ... version:                2
[    0.813218] ... bit width:              48
[    0.814217] ... generic registers:      4
[    0.815218] ... value mask:             0000ffffffffffff
[    0.816224] ... max period:             000000007fffffff
[    0.817224] ... fixed-purpose events:   3
[    0.818224] ... event mask:             000000070000000f
[    0.819313] rcu: Hierarchical SRCU implementation.
[    0.821627] smp: Bringing up secondary CPUs ...
[    0.822440] x86: Booting SMP configuration:
[    0.823227] .... node  #0, CPUs:      #1
[    0.384406] kvm-clock: cpu 1, msr 93601041, secondary cpu clock
[    0.824247] KVM setup async PF for cpu 1
[    0.825214] kvm-stealtime: cpu 1, msr 133a6d040
[    0.830460]  #2
[    0.384406] kvm-clock: cpu 2, msr 93601081, secondary cpu clock
[    0.832245] KVM setup async PF for cpu 2
[    0.833214] kvm-stealtime: cpu 2, msr 133aad040
[    0.837499]  #3
[    0.384406] kvm-clock: cpu 3, msr 936010c1, secondary cpu clock
[    0.839240] KVM setup async PF for cpu 3
[    0.840214] kvm-stealtime: cpu 3, msr 133aed040
[    0.844444]  #4
[    0.384406] kvm-clock: cpu 4, msr 93601101, secondary cpu clock
[    0.846254] KVM setup async PF for cpu 4
[    0.847214] kvm-stealtime: cpu 4, msr 133b2d040
[    0.853224]  #5
[    0.384406] kvm-clock: cpu 5, msr 93601141, secondary cpu clock
[    0.854309] KVM setup async PF for cpu 5
[    0.855214] kvm-stealtime: cpu 5, msr 133b6d040
[    0.859356]  #6
[    0.384406] kvm-clock: cpu 6, msr 93601181, secondary cpu clock
[    0.861252] KVM setup async PF for cpu 6
[    0.862214] kvm-stealtime: cpu 6, msr 133bad040
[    0.883316]  #7
[    0.384406] kvm-clock: cpu 7, msr 936011c1, secondary cpu clock
[    0.884249] KVM setup async PF for cpu 7
[    0.885214] kvm-stealtime: cpu 7, msr 133bed040
[    0.889223] smp: Brought up 1 node, 8 CPUs
[    0.890219] smpboot: Max logical packages: 8
[    0.891224] smpboot: Total of 8 processors activated (28800.00 BogoMIPS)
[    0.905244] node 0 initialised, 179578 pages in 4ms
[    0.909682] devtmpfs: initialized
[    0.910324] x86/mm: Memory block size: 128MB
[    0.911717] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275000 ns
[    0.912232] futex hash table entries: 2048 (order: 5, 131072 bytes)
[    0.913332] pinctrl core: initialized pinctrl subsystem
[    0.914294] PM: RTC time: 09:30:21, date: 2019-07-10
[    0.919152] NET: Registered protocol family 16
[    0.919442] audit: initializing netlink subsys (disabled)
[    0.920311] audit: type=2000 audit(1562751022.218:1): state=initialized audit_enabled=0 res=1
[    0.924239] cpuidle: using governor menu
[    0.925854] KVM setup pv remote TLB flush
[    0.926228] ACPI: bus type PCI registered
[    0.927220] acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5
[    0.928429] PCI: Using configuration type 1 for base access
[    0.932403] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[    0.933234] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[    1.242376] alg: No test for lzo-rle (lzo-rle-generic)
[    1.243268] alg: No test for lzo-rle (lzo-rle-scomp)
[    1.248340] ACPI: Added _OSI(Module Device)
[    1.249230] ACPI: Added _OSI(Processor Device)
[    1.250219] ACPI: Added _OSI(3.0 _SCP Extensions)
[    1.251226] ACPI: Added _OSI(Processor Aggregator Device)
[    1.252230] ACPI: Added _OSI(Linux-Dell-Video)
[    1.253225] ACPI: Added _OSI(Linux-Lenovo-NV-HDMI-Audio)
[    1.254222] ACPI: Added _OSI(Linux-HPI-Hybrid-Graphics)
[    1.255842] ACPI: 1 ACPI AML tables successfully acquired and loaded
[    1.256884] ACPI: Interpreter enabled
[    1.257244] ACPI: (supports S0 S5)
[    1.258242] ACPI: Using IOAPIC for interrupt routing
[    1.259473] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug
[    1.260373] ACPI: Enabled 2 GPEs in block 00 to 0F
[    1.264438] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff])
[    1.265230] acpi PNP0A03:00: _OSC: OS supports [ASPM ClockPM Segments MSI HPX-Type3]
[    1.266237] acpi PNP0A03:00: fail to add MMCONFIG information, can't access extended PCI configuration space under this bridge.
[    1.267462] acpiphp: Slot [3] registered
[    1.268239] acpiphp: Slot [4] registered
[    1.269240] acpiphp: Slot [5] registered
[    1.270236] acpiphp: Slot [6] registered
[    1.271250] acpiphp: Slot [7] registered
[    1.272264] acpiphp: Slot [8] registered
[    1.273260] acpiphp: Slot [9] registered
[    1.274246] acpiphp: Slot [10] registered
[    1.275260] acpiphp: Slot [11] registered
[    1.276246] acpiphp: Slot [12] registered
[    1.277237] acpiphp: Slot [13] registered
[    1.278260] acpiphp: Slot [14] registered
[    1.279242] acpiphp: Slot [15] registered
[    1.280251] acpiphp: Slot [16] registered
[    1.281263] acpiphp: Slot [17] registered
[    1.282246] acpiphp: Slot [18] registered
[    1.283412] acpiphp: Slot [19] registered
[    1.284258] acpiphp: Slot [20] registered
[    1.285245] acpiphp: Slot [21] registered
[    1.286245] acpiphp: Slot [22] registered
[    1.287243] acpiphp: Slot [23] registered
[    1.288239] acpiphp: Slot [24] registered
[    1.289261] acpiphp: Slot [25] registered
[    1.290266] acpiphp: Slot [26] registered
[    1.291257] acpiphp: Slot [27] registered
[    1.292249] acpiphp: Slot [28] registered
[    1.293255] acpiphp: Slot [29] registered
[    1.294244] acpiphp: Slot [30] registered
[    1.295243] acpiphp: Slot [31] registered
[    1.296233] PCI host bridge to bus 0000:00
[    1.297223] pci_bus 0000:00: root bus resource [io  0x0000-0x0cf7 window]
[    1.298221] pci_bus 0000:00: root bus resource [io  0x0d00-0xffff window]
[    1.299220] pci_bus 0000:00: root bus resource [mem 0x000a0000-0x000bffff window]
[    1.300220] pci_bus 0000:00: root bus resource [mem 0xc0000000-0xfebfffff window]
[    1.301224] pci_bus 0000:00: root bus resource [mem 0x140000000-0x1bfffffff window]
[    1.302219] pci_bus 0000:00: root bus resource [bus 00-ff]
[    1.303255] pci 0000:00:00.0: [8086:1237] type 00 class 0x060000
[    1.304893] pci 0000:00:01.0: [8086:7000] type 00 class 0x060100
[    1.305799] pci 0000:00:01.1: [8086:7010] type 00 class 0x010180
[    1.312223] pci 0000:00:01.1: reg 0x20: [io  0xc060-0xc06f]
[    1.315248] pci 0000:00:01.1: legacy IDE quirk: reg 0x10: [io  0x01f0-0x01f7]
[    1.316226] pci 0000:00:01.1: legacy IDE quirk: reg 0x14: [io  0x03f6]
[    1.317220] pci 0000:00:01.1: legacy IDE quirk: reg 0x18: [io  0x0170-0x0177]
[    1.318226] pci 0000:00:01.1: legacy IDE quirk: reg 0x1c: [io  0x0376]
[    1.319424] pci 0000:00:01.2: [8086:7020] type 00 class 0x0c0300
[    1.325222] pci 0000:00:01.2: reg 0x20: [io  0xc040-0xc05f]
[    1.329307] pci 0000:00:01.3: [8086:7113] type 00 class 0x068000
[    1.330638] pci 0000:00:01.3: quirk: [io  0x0600-0x063f] claimed by PIIX4 ACPI
[    1.331232] pci 0000:00:01.3: quirk: [io  0x0700-0x070f] claimed by PIIX4 SMB
[    1.332469] pci 0000:00:02.0: [1234:1111] type 00 class 0x030000
[    1.335222] pci 0000:00:02.0: reg 0x10: [mem 0xfd000000-0xfdffffff pref]
[    1.340239] pci 0000:00:02.0: reg 0x18: [mem 0xfebf0000-0xfebf0fff]
[    1.350223] pci 0000:00:02.0: reg 0x30: [mem 0xfebe0000-0xfebeffff pref]
[    1.351446] pci 0000:00:03.0: [8086:100e] type 00 class 0x020000
[    1.354221] pci 0000:00:03.0: reg 0x10: [mem 0xfebc0000-0xfebdffff]
[    1.357230] pci 0000:00:03.0: reg 0x14: [io  0xc000-0xc03f]
[    1.368223] pci 0000:00:03.0: reg 0x30: [mem 0xfeb80000-0xfebbffff pref]
[    1.369491] pci 0000:00:04.0: [8086:1926] type 00 class 0x030000
[    1.372236] pci 0000:00:04.0: reg 0x10: [mem 0x140000000-0x140ffffff 64bit]
[    1.375225] pci 0000:00:04.0: reg 0x18: [mem 0x180000000-0x1bfffffff 64bit pref]
[    1.384273] ACPI: PCI Interrupt Link [LNKA] (IRQs 5 *10 11)
[    1.385346] ACPI: PCI Interrupt Link [LNKB] (IRQs 5 *10 11)
[    1.386546] ACPI: PCI Interrupt Link [LNKC] (IRQs 5 10 *11)
[    1.387323] ACPI: PCI Interrupt Link [LNKD] (IRQs 5 10 *11)
[    1.389296] ACPI: PCI Interrupt Link [LNKS] (IRQs *9)
[    1.390900] pci 0000:00:02.0: vgaarb: setting as boot VGA device
[    1.391214] pci 0000:00:02.0: vgaarb: VGA device added: decodes=io+mem,owns=io+mem,locks=none
[    1.391253] pci 0000:00:04.0: vgaarb: VGA device added: decodes=io+mem,owns=io+mem,locks=none
[    1.392232] pci 0000:00:02.0: vgaarb: no bridge control possible
[    1.393225] pci 0000:00:04.0: vgaarb: bridge control possible
[    1.394219] vgaarb: loaded
[    1.395352] SCSI subsystem initialized
[    1.396257] libata version 3.00 loaded.
[    1.397277] ACPI: bus type USB registered
[    1.398240] usbcore: registered new interface driver usbfs
[    1.399238] usbcore: registered new interface driver hub
[    1.400268] usbcore: registered new device driver usb
[    1.401249] pps_core: LinuxPPS API ver. 1 registered
[    1.402221] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    1.403232] PTP clock support registered
[    1.404325] EDAC MC: Ver: 3.0.0
[    1.405368] PCI: Using ACPI for IRQ routing
[    1.406225] PCI: pci_cache_line_size set to 64 bytes
[    1.407350] e820: reserve RAM buffer [mem 0x0009fc00-0x0009ffff]
[    1.408231] e820: reserve RAM buffer [mem 0xbffdf000-0xbfffffff]
[    1.409443] NetLabel: Initializing
[    1.410223] NetLabel:  domain hash size = 128
[    1.411219] NetLabel:  protocols = UNLABELED CIPSOv4 CALIPSO
[    1.412267] NetLabel:  unlabeled traffic allowed by default
[    1.413350] hpet0: at MMIO 0xfed00000, IRQs 2, 8, 0
[    1.414221] hpet0: 3 comparators, 64-bit 100.000000 MHz counter
[    1.435709] clocksource: Switched to clocksource kvm-clock
[    1.452443] VFS: Disk quotas dquot_6.6.0
[    1.454237] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    1.456679] *** VALIDATE hugetlbfs ***
[    1.458505] pnp: PnP ACPI init
[    1.461006] pnp 00:00: Plug and Play ACPI device, IDs PNP0b00 (active)
[    1.463266] pnp 00:01: Plug and Play ACPI device, IDs PNP0303 (active)
[    1.465284] pnp 00:02: Plug and Play ACPI device, IDs PNP0f13 (active)
[    1.467267] pnp 00:03: [dma 2]
[    1.468581] pnp 00:03: Plug and Play ACPI device, IDs PNP0700 (active)
[    1.470577] pnp 00:04: Plug and Play ACPI device, IDs PNP0400 (active)
[    1.472680] pnp 00:05: Plug and Play ACPI device, IDs PNP0501 (active)
[    1.476182] pnp: PnP ACPI: found 6 devices
[    1.486492] clocksource: acpi_pm: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 2085701024 ns
[    1.490088] pci_bus 0000:00: resource 4 [io  0x0000-0x0cf7 window]
[    1.492685] pci_bus 0000:00: resource 5 [io  0x0d00-0xffff window]
[    1.495797] pci_bus 0000:00: resource 6 [mem 0x000a0000-0x000bffff window]
[    1.498241] pci_bus 0000:00: resource 7 [mem 0xc0000000-0xfebfffff window]
[    1.500679] pci_bus 0000:00: resource 8 [mem 0x140000000-0x1bfffffff window]
[    1.504369] NET: Registered protocol family 2
[    1.516491] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes)
[    1.519886] TCP established hash table entries: 32768 (order: 6, 262144 bytes)
[    1.523010] TCP bind hash table entries: 32768 (order: 7, 524288 bytes)
[    1.527375] TCP: Hash tables configured (established 32768 bind 32768)
[    1.529957] UDP hash table entries: 2048 (order: 4, 65536 bytes)
[    1.532282] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes)
[    1.534705] NET: Registered protocol family 1
[    1.536583] pci 0000:00:01.0: PIIX3: Enabling Passive Release
[    1.542506] pci 0000:00:00.0: Limiting direct PCI/PCI transfers
[    1.544199] pci 0000:00:01.0: Activating ISA DMA hang workarounds
[    1.571442] PCI Interrupt Link [LNKD] enabled at IRQ 11
[    1.614842] pci 0000:00:01.2: quirk_usb_early_handoff+0x0/0x6b0 took 67171 usecs
[    1.618150] pci 0000:00:02.0: Video device with shadowed ROM at [mem 0x000c0000-0x000dffff]
[    1.621682] PCI: CLS 0 bytes, default 64
[    1.623547] PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
[    1.626328] software IO TLB: mapped [mem 0xbbfdf000-0xbffdf000] (64MB)
[    1.631515] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x19f2297dd97, max_idle_ns: 440795236593 ns
[    1.643562] Initialise system trusted keyrings
[    1.646296] Key type blacklist registered
[    1.648604] workingset: timestamp_bits=36 max_order=20 bucket_order=0
[    1.653854] zbud: loaded
[    1.656037] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    1.658410] fuse: init (API version 7.31)
[    1.665683] NET: Registered protocol family 38
[    1.667504] Key type asymmetric registered
[    1.669205] Asymmetric key parser 'x509' registered
[    1.671044] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
[    1.674343] io scheduler mq-deadline registered
[    1.676808] io scheduler kyber registered
[    1.679467] atomic64_test: passed for x86-64 platform with CX8 and with SSE
[    1.682250] intel_idle: Please enable MWAIT in BIOS SETUP
[    1.684498] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input0
[    1.687805] ACPI: Power Button [PWRF]
[    1.690526] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    1.719571] 00:05: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A
[    1.725368] Non-volatile memory driver v1.3
[    1.728318] Linux agpgart interface v0.103
[    1.731093] loop: module loaded
[    1.732493] rdac: device handler registered
[    1.734103] hp_sw: device handler registered
[    1.735714] emc: device handler registered
[    1.737341] alua: device handler registered
[    1.738939] ata_piix 0000:00:01.1: version 2.13
[    1.744028] scsi host0: ata_piix
[    1.746024] scsi host1: ata_piix
[    1.747845] ata1: PATA max MWDMA2 cmd 0x1f0 ctl 0x3f6 bmdma 0xc060 irq 14
[    1.750482] ata2: PATA max MWDMA2 cmd 0x170 ctl 0x376 bmdma 0xc068 irq 15
[    1.753788] libphy: Fixed MDIO Bus: probed
[    1.755651] VFIO - User Level meta-driver version: 0.3
[    1.757727] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.760196] ehci-pci: EHCI PCI platform driver
[    1.762559] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    1.764796] ohci-pci: OHCI PCI platform driver
[    1.766664] uhci_hcd: USB Universal Host Controller Interface driver
[    1.797547] uhci_hcd 0000:00:01.2: UHCI Host Controller
[    1.799561] uhci_hcd 0000:00:01.2: new USB bus registered, assigned bus number 1
[    1.802891] uhci_hcd 0000:00:01.2: detected 2 ports
[    1.805062] uhci_hcd 0000:00:01.2: irq 11, io base 0x0000c040
[    1.807825] usb usb1: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 5.02
[    1.812873] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.815853] usb usb1: Product: UHCI Host Controller
[    1.817879] usb usb1: Manufacturer: Linux 5.2.0+ uhci_hcd
[    1.820005] usb usb1: SerialNumber: 0000:00:01.2
[    1.822213] hub 1-0:1.0: USB hub found
[    1.823986] hub 1-0:1.0: 2 ports detected
[    1.826298] usbcore: registered new interface driver usbserial_generic
[    1.829456] usbserial: USB Serial support registered for generic
[    1.831759] i8042: PNP: PS/2 Controller [PNP0303:KBD,PNP0f13:MOU] at 0x60,0x64 irq 1,12
[    1.836461] serio: i8042 KBD port at 0x60,0x64 irq 1
[    1.839016] serio: i8042 AUX port at 0x60,0x64 irq 12
[    1.843942] mousedev: PS/2 mouse device common for all mice
[    1.846495] rtc_cmos 00:00: RTC can wake from S4
[    1.849112] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input1
[    1.852347] rtc_cmos 00:00: registered as rtc0
[    1.854316] input: VirtualPS/2 VMware VMMouse as /devices/platform/i8042/serio1/input/input4
[    1.855380] rtc_cmos 00:00: alarms up to one day, y3k, 114 bytes nvram, hpet irqs
[    1.862901] intel_pstate: CPU model not supported
[    1.863149] input: VirtualPS/2 VMware VMMouse as /devices/platform/i8042/serio1/input/input3
[    1.864778] hidraw: raw HID events driver (C) Jiri Kosina
[    1.870048] usbcore: registered new interface driver usbhid
[    1.873367] usbhid: USB HID core driver
[    1.875014] drop_monitor: Initializing network drop monitor service
[    1.878086] Initializing XFRM netlink socket
[    1.879919] NET: Registered protocol family 10
[    1.882078] Segment Routing with IPv6
[    1.883845] NET: Registered protocol family 17
[    1.886478] mce: Using 10 MCE banks
[    1.888088] sched_clock: Marking stable (1504658567, 383406089)->(2290643132, -402578476)
[    1.908269] ata2.01: NODEV after polling detection
[    1.908269] ata1.01: NODEV after polling detection
[    1.908269] ata2.00: ATAPI: QEMU DVD-ROM, 2.5+, max UDMA/100
[    1.908269] ata1.00: ATA-7: QEMU HARDDISK, 2.5+, max UDMA/100
[    1.921800] ata1.00: 62914560 sectors, multi 16: LBA48 
[    1.925594] scsi 0:0:0:0: Direct-Access     ATA      QEMU HARDDISK    2.5+ PQ: 0 ANSI: 5
[    1.929308] sd 0:0:0:0: Attached scsi generic sg0 type 0
[    1.931468] sd 0:0:0:0: [sda] 62914560 512-byte logical blocks: (32.2 GB/30.0 GiB)
[    1.933729] registered taskstats version 1
[    1.935644] sd 0:0:0:0: [sda] Write Protect is off
[    1.938013] Loading compiled-in X.509 certificates
[    1.939921] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[    1.941550] zswap: loaded using pool lzo/zbud
[    1.945047] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    1.949834] scsi 1:0:0:0: CD-ROM            QEMU     QEMU DVD-ROM     2.5+ PQ: 0 ANSI: 5
[    1.954371] scsi 1:0:0:0: Attached scsi generic sg1 type 5
[    1.957536]  sda: sda1
[    1.958439] Key type big_key registered
[    1.959551] sd 0:0:0:0: [sda] Attached SCSI disk
[    1.961936] Key type encrypted registered
[    1.965290] ima: No TPM chip found, activating TPM-bypass!
[    1.967796] ima: Allocated hash algorithm: sha1
[    1.970245] No architecture policies found
[    1.971999] evm: Initialising EVM extended attributes:
[    1.974770] evm: security.selinux
[    1.977277] evm: security.ima
[    1.978872] evm: security.capability
[    1.980432] evm: HMAC attrs: 0x1
[    1.982233] PM:   Magic number: 11:188:525
[    1.985368] rtc_cmos 00:00: setting system clock to 2019-07-10T09:30:23 UTC (1562751023)
[    1.989024] md: Waiting for all devices to be available before autodetect
[    1.991352] md: If you don't use raid, use raid=noautodetect
[    1.994408] md: Autodetecting RAID arrays.
[    1.996147] md: autorun ...
[    1.997441] md: ... autorun DONE.
[    2.005511] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
[    2.009486] VFS: Mounted root (ext4 filesystem) readonly on device 8:1.
[    2.014359] devtmpfs: mounted
[    2.016429] Freeing unused decrypted memory: 2040K
[    2.018575] Freeing unused kernel image memory: 2492K
[    2.020483] Write protecting the kernel read-only data: 20480k
[    2.023841] Freeing unused kernel image memory: 1992K
[    2.028739] Freeing unused kernel image memory: 1700K
[    2.033356] Run /sbin/init as init process
[    2.147253] usb 1-1: new full-speed USB device number 2 using uhci_hcd
[    2.166048] SELinux:  Disabled at runtime.
[    2.209469] audit: type=1404 audit(1562751023.725:2): enforcing=0 old_enforcing=0 auid=4294967295 ses=4294967295 enabled=0 old-enabled=1 lsm=selinux res=1
[    2.270447] random: systemd: uninitialized urandom read (16 bytes read)
[    2.275314] random: systemd: uninitialized urandom read (16 bytes read)
[    2.292740] systemd[1]: systemd 229 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ -LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN)
[    2.306889] systemd[1]: Detected virtualization qemu.
[    2.309036] systemd[1]: Detected architecture x86-64.
[    2.316152] systemd[1]: Set hostname to <1604vm1>.
[    2.336074] usb 1-1: New USB device found, idVendor=0627, idProduct=0001, bcdDevice= 0.00
[    2.336560] random: systemd-cryptse: uninitialized urandom read (16 bytes read)
[    2.341619] usb 1-1: New USB device strings: Mfr=1, Product=3, SerialNumber=10
[    2.348966] usb 1-1: Product: QEMU USB Tablet
[    2.350787] usb 1-1: Manufacturer: QEMU
[    2.352962] usb 1-1: SerialNumber: 28754-0000:00:01.2-1
[    2.366123] input: QEMU QEMU USB Tablet as /devices/pci0000:00/0000:00:01.2/usb1/1-1/1-1:1.0/0003:0627:0001.0001/input/input5
[    2.371492] hid-generic 0003:0627:0001.0001: input,hidraw0: USB HID v0.01 Mouse [QEMU QEMU USB Tablet] on usb-0000:00:01.2-1/input0
[    2.501848] random: fast init done
[    2.536588] systemd[1]: Reached target Swap.
[    2.539355] systemd[1]: Created slice System Slice.
[    2.542829] systemd[1]: Listening on Journal Socket.
[    2.549345] systemd[1]: Mounting Debug File System...
[    2.558137] systemd[1]: Started Braille Device Support.
[    2.563919] systemd[1]: Created slice system-serial\x2dgetty.slice.
[    2.817023] lp: driver loaded but no devices found
[    2.836406] ppdev: user-space parallel port driver
[    2.857899] parport_pc 00:04: reported by Plug and Play ACPI
[    2.860398] parport0: PC-style at 0x378, irq 7 [PCSPP,TRISTATE]
[    2.865668] EXT4-fs (sda1): re-mounted. Opts: errors=remount-ro
[    2.945854] systemd-journald[263]: Received request to flush runtime journal from PID 1
[    2.955891] lp0: using parport0 (interrupt-driven).
[    3.170616] random: crng init done
[    3.170617] random: 7 urandom warning(s) missed due to ratelimiting
[    3.552811] Floppy drive(s): fd0 is 2.88M AMI BIOS
[    3.579645] FDC 0 is a S82078B
[    3.685460] cryptd: max_cpu_qlen set to 1000
[    3.726739] piix4_smbus 0000:00:01.3: SMBus Host Controller at 0x700, revision 0
[    3.772214] e1000: Intel(R) PRO/1000 Network Driver - version 7.3.21-k8-NAPI
[    3.772228] e1000: Copyright (c) 1999-2006 Intel Corporation.
[    3.802983] PCI Interrupt Link [LNKC] enabled at IRQ 10
[    4.186306] AVX2 version of gcm_enc/dec engaged.
[    4.186307] AES CTR mode by8 optimization enabled
[    4.299267] e1000 0000:00:03.0 eth0: (PCI:33MHz:32-bit) 00:16:3e:60:bb:54
[    4.299272] e1000 0000:00:03.0 eth0: Intel(R) PRO/1000 Network Connection
[    4.353728] sr 1:0:0:0: [sr0] scsi3-mmc drive: 4x/4x cd/rw xa/form2 tray
[    4.353733] cdrom: Uniform CD-ROM driver Revision: 3.20
[    4.356143] sr 1:0:0:0: Attached scsi CD-ROM sr0
[    4.384855] e1000 0000:00:03.0 ens3: renamed from eth0
[    5.068595] i915: loading out-of-tree module taints kernel.
[    5.121386] [drm] Virtual GPU for Intel GVT-g detected.
[    5.123862] [drm] Found 64MB of eDRAM
[    5.125204] [drm] iGVT-g active, disabling use of stolen memory
[    5.132584] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    5.135008] [drm] Driver supports precise vblank timestamp query.
[    5.136960] i915 0000:00:04.0: BAR 6: can't assign [??? 0x00000000 flags 0x20000000] (bogus alignment)
[    5.139339] [drm] Failed to find VBIOS tables (VBT)
[    5.141028] i915 0000:00:04.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=none:owns=io+mem
[    5.168730] [drm] failed to retrieve link info, disabling eDP
[    5.170769] i915 0000:00:04.0: Direct firmware load for i915/skl_dmc_ver1_27.bin failed with error -2
[    5.177384] i915 0000:00:04.0: Failed to load DMC firmware i915/skl_dmc_ver1_27.bin. Disabling runtime power management.
[    5.183029] i915 0000:00:04.0: DMC firmware homepage: https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/i915
[    5.189384] [drm] VGT ballooning configuration:
[    5.191486] [drm] Mappable graphic memory: base 0xcdc5000 size 131072KiB
[    5.193963] [drm] Unmappable graphic memory: base 0xbff6d000 size 524288KiB
[    5.195881] [drm] balloon space: range [ 0x40000000 - 0xbff6d000 ] 2096564 KiB.
[    5.201165] [drm] balloon space: range [ 0xdff6d000 - 0x100000000 ] 524876 KiB.
[    5.207277] [drm] balloon space: range [ 0x0 - 0xcdc5000 ] 210708 KiB.
[    5.209855] [drm] balloon space: range [ 0x14dc5000 - 0x40000000 ] 706796 KiB.
[    5.214008] [drm] VGT balloon successfully
[    5.218147] [drm] RC6 disabled, disabling runtime PM support
[    5.229257] [drm] Initialized i915 1.6.0 20190708 for 0000:00:04.0 on minor 0
[    5.630356] Console: switching to colour frame buffer device 240x75
[    5.644249] i915 0000:00:04.0: fb0: i915drmfb frame buffer device
[    6.037861] e1000: ens3 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX
[    6.038597] IPv6: ADDRCONF(NETDEV_CHANGE): ens3: link becomes ready
[ 1192.680497] Asynchronous wait on fence i915:compiz[1866]:b30 timed out (hint:intel_atomic_commit_ready+0x0/0x50 [i915])
[ 1193.512989] hangcheck rcs0
[ 1193.513650] hangcheck 	Awake? 4
[ 1193.514299] hangcheck 	Hangcheck: 9986 ms ago
[ 1193.515071] hangcheck 	Reset count: 0 (global 0)
[ 1193.515854] hangcheck 	Requests:
[ 1193.516410] hangcheck 	RING_START: 0x00000000
[ 1193.517138] hangcheck 	RING_HEAD:  0x00003198
[ 1193.517876] hangcheck 	RING_TAIL:  0x00003198
[ 1193.518611] hangcheck 	RING_CTL:   0x00000000
[ 1193.519380] hangcheck 	RING_MODE:  0x00000200 [idle]
[ 1193.520149] hangcheck 	RING_IMR: fffffefe
[ 1193.520799] hangcheck 	ACTHD:  0x00000000_000a6650
[ 1193.521545] hangcheck 	BBADDR: 0x00000000_00000000
[ 1193.522321] hangcheck 	DMA_FADDR: 0x00000000_00000000
[ 1193.523392] hangcheck 	IPEIR: 0x00000000
[ 1193.524171] hangcheck 	IPEHR: 0x00000000
[ 1193.525050] hangcheck 	Execlist status: 0x00040012 00000003, entries 6
[ 1193.526049] hangcheck 	Execlist CSB read 5, write 5, tasklet queued? no (enabled)
[ 1193.527154] hangcheck 		Active[0: ring:{start:dff03000, hwsp:dff661c0, seqno:00012175}, rq:  1b:12178-  prio=4097 @ 11649ms: glxgears[2160]
[ 1193.528852] hangcheck 		Pending[0] ring:{start:dff03000, hwsp:dff661c0, seqno:00012175}, rq:  1b:12178-  prio=4097 @ 11649ms: glxgears[2160]
[ 1193.532515] hangcheck 		Pending[1] ring:{start:dff39000, hwsp:dff66140, seqno:004f7b5e}, rq:  14:4f7b60  prio=4097 @ 11655ms: Xorg[865]
[ 1193.536009] hangcheck 		E  1b:12178-  prio=4097 @ 11658ms: glxgears[2160]
[ 1193.537187] hangcheck 		E  14:4f7b60  prio=4097 @ 11658ms: Xorg[865]
[ 1193.538192] hangcheck 		Queue priority hint: 4097
[ 1193.538894] hangcheck 		Q  1a:b30-  prio=4097 @ 11650ms: compiz[1866]
[ 1193.539810] hangcheck 		Q  1b:1217a  prio=2 @ 11660ms: glxgears[2160]
[ 1193.542485] hangcheck HWSP:
[ 1193.543703] hangcheck [0000] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 1193.546729] hangcheck *
[ 1193.547230] hangcheck [0040] 00000014 00000003 00008002 00000001 00000014 00000001 00000018 00000003
[ 1193.550607] hangcheck [0060] 00000001 00000000 00000014 00000001 00000000 00000000 00000000 00000005
[ 1193.552274] hangcheck [0080] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 1193.553937] hangcheck *
[ 1193.554381] hangcheck Idle? no
[ 1193.554902] hangcheck Signals:
[ 1193.555419] hangcheck 	[1b:12178] @ 11678ms
[ 1193.864797] i915 0000:00:04.0: GPU HANG: ecode 9:0:0x00000000, hang on rcs0
[ 1193.869234] [drm] GPU hangs can indicate a bug anywhere in the entire gfx stack, including userspace.
[ 1193.871096] [drm] Please file a _new_ bug report on bugs.freedesktop.org against DRI -> DRM/Intel
[ 1193.872483] [drm] drm/i915 developers can then reassign to the right component if it's not a kernel issue.
[ 1193.873927] [drm] The gpu crash dump is required to analyze gpu hangs, so please always attach it.
[ 1193.875395] [drm] GPU crash dump saved to /sys/class/drm/card0/error
[ 1193.876652] i915 0000:00:04.0: Resetting rcs0 for hang on rcs0
[ 1193.880421] execlists_resume 	Awake? 5
[ 1193.882532] execlists_resume 	Hangcheck: 10354 ms ago
[ 1193.883354] execlists_resume 	Reset count: 1 (global 0)
[ 1193.884207] execlists_resume 	Requests:
[ 1193.884853] execlists_resume 	RING_START: 0x00000000
[ 1193.885737] execlists_resume 	RING_HEAD:  0x00003198
[ 1193.886585] execlists_resume 	RING_TAIL:  0x00003198
[ 1193.887428] execlists_resume 	RING_CTL:   0x00000000
[ 1193.888253] execlists_resume 	RING_MODE:  0x00000300 [idle]
[ 1193.889097] execlists_resume 	RING_IMR: fffffefe
[ 1193.889821] execlists_resume 	ACTHD:  0x00000000_000a6650
[ 1193.890735] execlists_resume 	BBADDR: 0x00000000_00000000
[ 1193.891600] execlists_resume 	DMA_FADDR: 0x00000000_00000000
[ 1193.892948] execlists_resume 	IPEIR: 0x00000000
[ 1193.894919] execlists_resume 	IPEHR: 0x00000000
[ 1193.895806] execlists_resume 	Execlist status: 0x00040012 00000003, entries 6
[ 1193.898854] execlists_resume 	Execlist CSB read 5, write 5, tasklet queued? no (disabled)
[ 1193.901850] execlists_resume 		Queue priority hint: 4097
[ 1193.902852] execlists_resume 		Q  1b:12178-  prio=4097 @ 12025ms: glxgears[2160]
[ 1193.904326] execlists_resume 		Q  14:4f7b60  prio=4097 @ 12025ms: Xorg[865]
[ 1193.905773] execlists_resume 		Q  1a:b30-  prio=4097 @ 12015ms: compiz[1866]
[ 1193.907197] execlists_resume 		Q  1b:1217a  prio=2 @ 12029ms: glxgears[2160]
[ 1193.908648] execlists_resume HWSP:
[ 1193.909370] execlists_resume [0000] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 1193.911044] execlists_resume *
[ 1193.911693] execlists_resume [0040] 00000014 00000003 00008002 00000001 00000014 00000001 00000018 00000003
[ 1193.913621] execlists_resume [0060] 00000001 00000000 00000014 00000001 00000000 00000000 00000000 00000005
[ 1193.915297] execlists_resume [0080] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 1193.916843] execlists_resume *
[ 1193.917352] execlists_resume Idle? no
[ 1201.512992] hangcheck rcs0
[ 1201.513487] hangcheck 	Awake? 4
[ 1201.513973] hangcheck 	Hangcheck: 6017 ms ago
[ 1201.514605] hangcheck 	Reset count: 1 (global 0)
[ 1201.515640] hangcheck 	Requests:
[ 1201.516342] hangcheck 	RING_START: 0x00000000
[ 1201.517241] hangcheck 	RING_HEAD:  0x00003f90
[ 1201.518031] hangcheck 	RING_TAIL:  0x00003f90
[ 1201.518863] hangcheck 	RING_CTL:   0x00000000
[ 1201.519740] hangcheck 	RING_MODE:  0x00000200 [idle]
[ 1201.520737] hangcheck 	RING_IMR: fffffefe
[ 1201.521571] hangcheck 	ACTHD:  0x00000000_000a6c4c
[ 1201.522544] hangcheck 	BBADDR: 0x00000000_00000000
[ 1201.523371] hangcheck 	DMA_FADDR: 0x00000000_00000000
[ 1201.524198] hangcheck 	IPEIR: 0x00000000
[ 1201.524851] hangcheck 	IPEHR: 0x00000000
[ 1201.525610] hangcheck 	Execlist status: 0x00020009 00000003, entries 6
[ 1201.526725] hangcheck 	Execlist CSB read 0, write 0, tasklet queued? no (enabled)
[ 1201.528304] hangcheck 		Active[0: ring:{start:dff03000, hwsp:dff661c0, seqno:0001217b}, rq:  1b:1217c*-  prio=3 @ 6140ms: glxgears[2160]
[ 1201.530119] hangcheck 		Pending[0] ring:{start:dff03000, hwsp:dff661c0, seqno:0001217b}, rq:  1b:1217c*-  prio=3 @ 6140ms: glxgears[2160]
[ 1201.532295] hangcheck 		Pending[1] ring:{start:dff39000, hwsp:dff66140, seqno:004f7b60}, rq:  14:4f7b62  prio=4097 @ 6133ms: Xorg[865]
[ 1201.534424] hangcheck 		E  1b:1217c*-  prio=3 @ 6146ms: glxgears[2160]
[ 1201.535509] hangcheck 		E  14:4f7b62  prio=4097 @ 6139ms: Xorg[865]
[ 1201.536496] hangcheck 		Queue priority hint: 4097
[ 1201.537178] hangcheck 		Q  1a:b32-  prio=4097 @ 6132ms: compiz[1866]
[ 1201.538105] hangcheck 		Q  1a:b34  prio=2 @ 6129ms: compiz[1866]
[ 1201.539048] hangcheck 		Q  1b:1217e  prio=2 @ 4054ms: glxgears[2160]
[ 1201.540085] hangcheck HWSP:
[ 1201.540594] hangcheck [0000] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 1201.542156] hangcheck *
[ 1201.542610] hangcheck [0040] 00000014 00000002 00000014 00000003 00008002 00000001 00000014 00000001
[ 1201.544260] hangcheck [0060] 00000018 00000002 00000001 00000000 00000000 00000000 00000000 00000000
[ 1201.545818] hangcheck [0080] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 1201.547293] hangcheck *
[ 1201.547694] hangcheck Idle? no
[ 1201.548154] hangcheck Signals:
[ 1201.548617] hangcheck 	[1b:1217c*] @ 6160ms
[ 1201.549435] i915 0000:00:04.0: Resetting rcs0 for hang on rcs0
[ 1204.522807] execlists_resume 	Awake? 5
[ 1204.523508] execlists_resume 	Hangcheck: 9027 ms ago
[ 1204.524913] execlists_resume 	Reset count: 2 (global 0)
[ 1204.527433] execlists_resume 	Requests:
[ 1204.529185] execlists_resume 	RING_START: 0x00000000
[ 1204.530309] execlists_resume 	RING_HEAD:  0x00003f90
[ 1204.532058] execlists_resume 	RING_TAIL:  0x00003f90
[ 1204.533155] execlists_resume 	RING_CTL:   0x00000000
[ 1204.535694] execlists_resume 	RING_MODE:  0x00000300 [idle]
[ 1204.537016] execlists_resume 	RING_IMR: fffffefe
[ 1204.538252] execlists_resume 	ACTHD:  0x00000000_000a6c98
[ 1204.539197] execlists_resume 	BBADDR: 0x00000000_00000000
[ 1204.540370] execlists_resume 	DMA_FADDR: 0x00000000_00000000
[ 1204.541697] execlists_resume 	IPEIR: 0x00000000
[ 1204.542940] execlists_resume 	IPEHR: 0x00000000
[ 1204.545140] execlists_resume 	Execlist status: 0x00020009 00000003, entries 6
[ 1204.547009] execlists_resume 	Execlist CSB read 5, write 5, tasklet queued? no (disabled)
[ 1204.548702] execlists_resume 		Queue priority hint: 4097
[ 1204.549704] execlists_resume 		Q  14:4f7b62  prio=4097 @ 9153ms: Xorg[865]
[ 1204.551030] execlists_resume 		Q  1a:b32-  prio=4097 @ 9146ms: compiz[1866]
[ 1204.552399] execlists_resume 		Q  1b:1217c*-  prio=3 @ 9160ms: glxgears[2160]
[ 1204.553783] execlists_resume 		Q  1a:b34  prio=2 @ 9143ms: compiz[1866]
[ 1204.555062] execlists_resume 		Q  1b:1217e  prio=2 @ 7068ms: glxgears[2160]
[ 1204.556516] execlists_resume HWSP:
[ 1204.557176] execlists_resume [0000] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 1204.558611] execlists_resume *
[ 1204.559155] execlists_resume [0040] 00000014 00000002 00000014 00000003 00008002 00000001 00000014 00000001
[ 1204.561304] execlists_resume [0060] 00000018 00000002 00000001 00000000 00000000 00000000 00000000 00000005
[ 1204.563608] execlists_resume [0080] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 1204.565273] execlists_resume *
[ 1204.565709] execlists_resume Idle? no
[ 1215.720469] Asynchronous wait on fence i915:compiz[1866]:b36 timed out (hint:intel_atomic_commit_ready+0x0/0x50 [i915])
[ 1216.489021] hangcheck rcs0
[ 1216.489577] hangcheck 	Awake? 4
[ 1216.490095] hangcheck 	Hangcheck: 9985 ms ago
[ 1216.490748] hangcheck 	Reset count: 2 (global 0)
[ 1216.491590] hangcheck 	Requests:
[ 1216.492132] hangcheck 	RING_START: 0x00000000
[ 1216.492788] hangcheck 	RING_HEAD:  0x000000d8
[ 1216.493715] hangcheck 	RING_TAIL:  0x000000d8
[ 1216.494637] hangcheck 	RING_CTL:   0x00000000
[ 1216.495554] hangcheck 	RING_MODE:  0x00000200 [idle]
[ 1216.496576] hangcheck 	RING_IMR: fffffefe
[ 1216.497427] hangcheck 	ACTHD:  0x00000000_000a72e0
[ 1216.498425] hangcheck 	BBADDR: 0x00000000_00000000
[ 1216.499421] hangcheck 	DMA_FADDR: 0x00000000_00000000
[ 1216.500377] hangcheck 	IPEIR: 0x00000000
[ 1216.501142] hangcheck 	IPEHR: 0x00000000
[ 1216.502079] hangcheck 	Execlist status: 0x00040012 00000003, entries 6
[ 1216.503724] hangcheck 	Execlist CSB read 0, write 0, tasklet queued? no (enabled)
[ 1216.505786] hangcheck 		Active[0: ring:{start:dff03000, hwsp:dff661c0, seqno:0001217d}, rq:  1b:1217e*-  prio=4097 @ 19025ms: glxgears[2160]
[ 1216.508321] hangcheck 		Pending[0] ring:{start:dff03000, hwsp:dff661c0, seqno:0001217d}, rq:  1b:1217e*-  prio=4097 @ 19027ms: glxgears[2160]
[ 1216.510220] hangcheck 		Pending[1] ring:{start:dff39000, hwsp:dff66140, seqno:004f7b62}, rq:  14:4f7b64  prio=4097 @ 11938ms: Xorg[865]
[ 1216.512019] hangcheck 		E  1b:1217e*-  prio=4097 @ 19031ms: glxgears[2160]
[ 1216.513093] hangcheck 		E  14:4f7b64  prio=4097 @ 11943ms: Xorg[865]
[ 1216.514026] hangcheck 		Queue priority hint: 4097
[ 1216.514739] hangcheck 		Q  14:4f7b66  prio=4097 @ 11938ms: Xorg[865]
[ 1216.515838] hangcheck 		Q  14:4f7b68  prio=4097 @ 11938ms: Xorg[865]
[ 1216.517599] hangcheck 		Q  1a:b36-  prio=4097 @ 11935ms: compiz[1866]
[ 1216.518936] hangcheck 		Q  1b:12180  prio=2 @ 11942ms: glxgears[2160]
[ 1216.520096] hangcheck 		Q  1a:b38  prio=2 @ 11924ms: compiz[1866]
[ 1216.521366] hangcheck HWSP:
[ 1216.521942] hangcheck [0000] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 1216.523764] hangcheck *
[ 1216.524295] hangcheck [0040] 00000014 00000002 00000014 00000001 00008002 00000002 00000014 00000002
[ 1216.526175] hangcheck [0060] 00000018 00000003 00000001 00000000 00000000 00000000 00000000 00000000
[ 1216.528023] hangcheck [0080] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 1216.529395] hangcheck *
[ 1216.529825] hangcheck Idle? no
[ 1216.530369] hangcheck Signals:
[ 1216.530849] hangcheck 	[1b:1217e*] @ 19050ms
[ 1216.531632] i915 0000:00:04.0: Resetting rcs0 for hang on rcs0
[ 1216.533186] execlists_resume 	Awake? 5
[ 1216.533753] execlists_resume 	Hangcheck: 10029 ms ago
[ 1216.534616] execlists_resume 	Reset count: 3 (global 0)
[ 1216.535599] execlists_resume 	Requests:
[ 1216.536919] execlists_resume 	RING_START: 0x00000000
[ 1216.537745] execlists_resume 	RING_HEAD:  0x000000d8
[ 1216.538687] execlists_resume 	RING_TAIL:  0x000000d8
[ 1216.539705] execlists_resume 	RING_CTL:   0x00000000
[ 1216.540774] execlists_resume 	RING_MODE:  0x00000300 [idle]
[ 1216.541716] execlists_resume 	RING_IMR: fffffefe
[ 1216.542523] execlists_resume 	ACTHD:  0x00000000_000a72e0
[ 1216.543431] execlists_resume 	BBADDR: 0x00000000_00000000
[ 1216.544374] execlists_resume 	DMA_FADDR: 0x00000000_00000000
[ 1216.545338] execlists_resume 	IPEIR: 0x00000000
[ 1216.546091] execlists_resume 	IPEHR: 0x00000000
[ 1216.546878] execlists_resume 	Execlist status: 0x00040012 00000003, entries 6
[ 1216.548157] execlists_resume 	Execlist CSB read 5, write 5, tasklet queued? no (disabled)
[ 1216.550050] execlists_resume 		Queue priority hint: 4097
[ 1216.550965] execlists_resume 		Q  1b:1217e*-  prio=4097 @ 19070ms: glxgears[2160]
[ 1216.552348] execlists_resume 		Q  14:4f7b64  prio=4097 @ 11981ms: Xorg[865]
[ 1216.553861] execlists_resume 		Q  14:4f7b66  prio=4097 @ 11976ms: Xorg[865]
[ 1216.554953] execlists_resume 		Q  14:4f7b68  prio=4097 @ 11976ms: Xorg[865]
[ 1216.556092] execlists_resume 		Q  1a:b36-  prio=4097 @ 11973ms: compiz[1866]
[ 1216.557241] execlists_resume 		Q  1b:12180  prio=2 @ 11975ms: glxgears[2160]
[ 1216.558410] execlists_resume 		Q  1a:b38  prio=2 @ 11957ms: compiz[1866]
[ 1216.559511] execlists_resume HWSP:
[ 1216.560097] execlists_resume [0000] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 1216.561608] execlists_resume *
[ 1216.562126] execlists_resume [0040] 00000014 00000002 00000014 00000001 00008002 00000002 00000014 00000002
[ 1216.563754] execlists_resume [0060] 00000018 00000003 00000001 00000000 00000000 00000000 00000000 00000005
[ 1216.565374] execlists_resume [0080] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 1216.567006] execlists_resume *
[ 1216.567525] execlists_resume Idle? no
[ 1227.496373] Asynchronous wait on fence i915:compiz[1866]:b38 timed out (hint:intel_atomic_commit_ready+0x0/0x50 [i915])
[ 1228.520934] hangcheck rcs0
[ 1228.521485] hangcheck 	Awake? 4
[ 1228.522025] hangcheck 	Hangcheck: 10049 ms ago
[ 1228.522847] hangcheck 	Reset count: 3 (global 0)
[ 1228.523757] hangcheck 	Requests:
[ 1228.524402] hangcheck 	RING_START: 0x00000000
[ 1228.525346] hangcheck 	RING_HEAD:  0x00000180
[ 1228.526316] hangcheck 	RING_TAIL:  0x00000180
[ 1228.527208] hangcheck 	RING_CTL:   0x00000000
[ 1228.528032] hangcheck 	RING_MODE:  0x00000200 [idle]
[ 1228.528911] hangcheck 	RING_IMR: fffffefe
[ 1228.529626] hangcheck 	ACTHD:  0x00000000_000a79d0
[ 1228.530435] hangcheck 	BBADDR: 0x00000000_00000000
[ 1228.531168] hangcheck 	DMA_FADDR: 0x00000000_00000000
[ 1228.531943] hangcheck 	IPEIR: 0x00000000
[ 1228.532656] hangcheck 	IPEHR: 0x00000000
[ 1228.533804] hangcheck 	Execlist status: 0x00020009 00000003, entries 6
[ 1228.536606] hangcheck 	Execlist CSB read 5, write 5, tasklet queued? no (enabled)
[ 1228.539181] hangcheck 		Active[0: ring:{start:dff03000, hwsp:dff661c0, seqno:0001217f}, rq:  1b:12180*-  prio=3 @ 23963ms: glxgears[2160]
[ 1228.541028] hangcheck 		Pending[0] ring:{start:dff03000, hwsp:dff661c0, seqno:0001217f}, rq:  1b:12180*-  prio=3 @ 23964ms: glxgears[2160]
[ 1228.542990] hangcheck 		Pending[1] ring:{start:dff1e000, hwsp:dff66180, seqno:00000b36}, rq:  1a:b38-  prio=4097 @ 23949ms: compiz[1866]
[ 1228.545090] hangcheck 		E  1b:12180*-  prio=3 @ 23969ms: glxgears[2160]
[ 1228.546156] hangcheck 		E  1a:b38-  prio=4097 @ 23951ms: compiz[1866]
[ 1228.547079] hangcheck 		Queue priority hint: 4097
[ 1228.548087] hangcheck 		Q  1b:12182  prio=2 @ 11977ms: glxgears[2160]
[ 1228.549492] hangcheck 		Q  14:4f7b6a  prio=2 @ 11976ms: Xorg[865]
[ 1228.551509] hangcheck HWSP:
[ 1228.553100] hangcheck [0000] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 1228.555049] hangcheck *
[ 1228.555613] hangcheck [0040] 00000001 00000000 00000014 00000003 00008002 00000001 00000014 00000001
[ 1228.557524] hangcheck [0060] 00008002 00000002 00000014 00000002 00000000 00000000 00000000 00000005
[ 1228.559456] hangcheck [0080] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 1228.561339] hangcheck *
[ 1228.561736] hangcheck Idle? no
[ 1228.562175] hangcheck Signals:
[ 1228.563520] hangcheck 	[1b:12180*] @ 23988ms
[ 1228.564643] hangcheck 	[1a:b38] @ 23970ms
[ 1228.565437] i915 0000:00:04.0: Resetting rcs0 for hang on rcs0
[ 1228.567060] execlists_resume 	Awake? 5
[ 1228.567783] execlists_resume 	Hangcheck: 10095 ms ago
[ 1228.568668] execlists_resume 	Reset count: 4 (global 0)
[ 1228.569586] execlists_resume 	Requests:
[ 1228.570249] execlists_resume 	RING_START: 0x00000000
[ 1228.571109] execlists_resume 	RING_HEAD:  0x00000180
[ 1228.571978] execlists_resume 	RING_TAIL:  0x00000180
[ 1228.572857] execlists_resume 	RING_CTL:   0x00000000
[ 1228.573741] execlists_resume 	RING_MODE:  0x00000300 [idle]
[ 1228.574702] execlists_resume 	RING_IMR: fffffefe
[ 1228.575577] execlists_resume 	ACTHD:  0x00000000_000a79d0
[ 1228.576523] execlists_resume 	BBADDR: 0x00000000_00000000
[ 1228.577479] execlists_resume 	DMA_FADDR: 0x00000000_00000000
[ 1228.578408] execlists_resume 	IPEIR: 0x00000000
[ 1228.579261] execlists_resume 	IPEHR: 0x00000000
[ 1228.580013] execlists_resume 	Execlist status: 0x00020009 00000003, entries 6
[ 1228.582221] execlists_resume 	Execlist CSB read 5, write 5, tasklet queued? no (disabled)
[ 1228.584586] execlists_resume 		Queue priority hint: 4097
[ 1228.585487] execlists_resume 		Q  1a:b38-  prio=4097 @ 23991ms: compiz[1866]
[ 1228.586624] execlists_resume 		Q  1b:12180*-  prio=3 @ 24009ms: glxgears[2160]
[ 1228.587849] execlists_resume 		Q  1b:12182  prio=2 @ 12014ms: glxgears[2160]
[ 1228.589038] execlists_resume 		Q  14:4f7b6a  prio=2 @ 12013ms: Xorg[865]
[ 1228.590135] execlists_resume HWSP:
[ 1228.590704] execlists_resume [0000] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 1228.592289] execlists_resume *
[ 1228.592770] execlists_resume [0040] 00000001 00000000 00000014 00000003 00008002 00000001 00000014 00000001
[ 1228.594718] execlists_resume [0060] 00008002 00000002 00000014 00000002 00000000 00000000 00000000 00000005
[ 1228.596238] execlists_resume [0080] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 1228.599050] execlists_resume *
[ 1228.599596] execlists_resume Idle? no

[-- Attachment #3: Type: text/plain, Size: 159 bytes --]

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PATCH] drm/i915/execlists: Disable preemption under GVT
  2019-07-10 10:04 ` [PATCH] drm/i915/execlists: Disable preemption under GVT Zhang, Xiaolin
@ 2019-07-10 10:13   ` Chris Wilson
  0 siblings, 0 replies; 12+ messages in thread
From: Chris Wilson @ 2019-07-10 10:13 UTC (permalink / raw)
  To: Zhang, Xiaolin, intel-gfx

Quoting Zhang, Xiaolin (2019-07-10 11:04:06)
> On 07/09/2019 05:12 PM, Chris Wilson wrote:
> > Preempt-to-busy uses a GPU semaphore to enforce an idle-barrier across
> > preemption, but mediated gvt does not fully support semaphores.
> >
> > v2: Fiddle around with the flags and settle on using has-semaphores for
> > the core bits so that we retain the ability to preempt our own
> > semaphores.
> Chris,
> With this patch, vgpu guest can boot up successfully with BAT test passed.
> But I want to point out there is other GPU hang issue pop up after vgpu
> guest boot issue addressed. I am not pretty sure is it related or not. 
> Basically it is easy to trigger with glxears with vblank_mode 0 and the
> GPU hang time is random and the call trace is below: (guest kernel log
> is attached in case it is useful.).
> [ 1192.680497] Asynchronous wait on fence i915:compiz[1866]:b30 timed
> out (hint:intel_atomic_commit_ready+0x0/0x50 [i915])
> [ 1193.512989] hangcheck rcs0
> [ 1193.513650] hangcheck     Awake? 4
> [ 1193.514299] hangcheck     Hangcheck: 9986 ms ago
> [ 1193.515071] hangcheck     Reset count: 0 (global 0)
> [ 1193.515854] hangcheck     Requests:
> [ 1193.516410] hangcheck     RING_START: 0x00000000
> [ 1193.517138] hangcheck     RING_HEAD:  0x00003198
> [ 1193.517876] hangcheck     RING_TAIL:  0x00003198
> [ 1193.518611] hangcheck     RING_CTL:   0x00000000
> [ 1193.519380] hangcheck     RING_MODE:  0x00000200 [idle]
> [ 1193.520149] hangcheck     RING_IMR: fffffefe
> [ 1193.520799] hangcheck     ACTHD:  0x00000000_000a6650
> [ 1193.521545] hangcheck     BBADDR: 0x00000000_00000000
> [ 1193.522321] hangcheck     DMA_FADDR: 0x00000000_00000000
> [ 1193.523392] hangcheck     IPEIR: 0x00000000
> [ 1193.524171] hangcheck     IPEHR: 0x00000000
> [ 1193.525050] hangcheck     Execlist status: 0x00040012 00000003, entries 6
> [ 1193.526049] hangcheck     Execlist CSB read 5, write 5, tasklet
> queued? no (enabled)
> [ 1193.527154] hangcheck         Active[0: ring:{start:dff03000,
> hwsp:dff661c0, seqno:00012175}, rq:  1b:12178-  prio=4097 @ 11649ms:
> glxgears[2160]
> [ 1193.528852] hangcheck         Pending[0] ring:{start:dff03000,
> hwsp:dff661c0, seqno:00012175}, rq:  1b:12178-  prio=4097 @ 11649ms:
> glxgears[2160]
> [ 1193.532515] hangcheck         Pending[1] ring:{start:dff39000,

Based on the above, that would be gvt not responding to the ELSP. Enable
tracing and force a dump, you should see the ELSP write with no
corresponding ack, and the above shows the engine idle.

Perhaps most intriguing is RING_START/CTL being off, but that can happen
when idle so ~o~
-Chris
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: ✓ Fi.CI.IGT: success for drm/i915/execlists: Disable preemption under GVT (rev6)
  2019-07-09 20:53 ` ✓ Fi.CI.IGT: " Patchwork
@ 2019-07-15  9:32   ` Zhenyu Wang
  2019-07-15 10:36     ` Chris Wilson
  0 siblings, 1 reply; 12+ messages in thread
From: Zhenyu Wang @ 2019-07-15  9:32 UTC (permalink / raw)
  To: intel-gfx


[-- Attachment #1.1: Type: text/plain, Size: 10740 bytes --]


Chris, would you pick up this one? I think we need this first to make more GVT tests rolling.

On 2019.07.09 20:53:46 -0000, Patchwork wrote:
> == Series Details ==
> 
> Series: drm/i915/execlists: Disable preemption under GVT (rev6)
> URL   : https://patchwork.freedesktop.org/series/62533/
> State : success
> 
> == Summary ==
> 
> CI Bug Log - changes from CI_DRM_6438_full -> Patchwork_13578_full
> ====================================================
> 
> Summary
> -------
> 
>   **SUCCESS**
> 
>   No regressions found.
> 
>   
> 
> Known issues
> ------------
> 
>   Here are the changes found in Patchwork_13578_full that come from known issues:
> 
> ### IGT changes ###
> 
> #### Issues hit ####
> 
>   * igt@gem_ctx_isolation@bcs0-s3:
>     - shard-skl:          [PASS][1] -> [INCOMPLETE][2] ([fdo#104108]) +1 similar issue
>    [1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6438/shard-skl2/igt@gem_ctx_isolation@bcs0-s3.html
>    [2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13578/shard-skl8/igt@gem_ctx_isolation@bcs0-s3.html
> 
>   * igt@gem_eio@unwedge-stress:
>     - shard-snb:          [PASS][3] -> [FAIL][4] ([fdo#109661])
>    [3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6438/shard-snb5/igt@gem_eio@unwedge-stress.html
>    [4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13578/shard-snb7/igt@gem_eio@unwedge-stress.html
> 
>   * igt@gem_tiled_swapping@non-threaded:
>     - shard-kbl:          [PASS][5] -> [DMESG-WARN][6] ([fdo#108686])
>    [5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6438/shard-kbl4/igt@gem_tiled_swapping@non-threaded.html
>    [6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13578/shard-kbl3/igt@gem_tiled_swapping@non-threaded.html
> 
>   * igt@i915_suspend@sysfs-reader:
>     - shard-apl:          [PASS][7] -> [DMESG-WARN][8] ([fdo#108566]) +5 similar issues
>    [7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6438/shard-apl4/igt@i915_suspend@sysfs-reader.html
>    [8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13578/shard-apl7/igt@i915_suspend@sysfs-reader.html
> 
>   * igt@kms_cursor_crc@pipe-c-cursor-suspend:
>     - shard-kbl:          [PASS][9] -> [DMESG-WARN][10] ([fdo#108566])
>    [9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6438/shard-kbl3/igt@kms_cursor_crc@pipe-c-cursor-suspend.html
>    [10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13578/shard-kbl4/igt@kms_cursor_crc@pipe-c-cursor-suspend.html
> 
>   * igt@kms_draw_crc@draw-method-rgb565-mmap-wc-ytiled:
>     - shard-skl:          [PASS][11] -> [FAIL][12] ([fdo#103184] / [fdo#103232])
>    [11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6438/shard-skl9/igt@kms_draw_crc@draw-method-rgb565-mmap-wc-ytiled.html
>    [12]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13578/shard-skl1/igt@kms_draw_crc@draw-method-rgb565-mmap-wc-ytiled.html
> 
>   * igt@kms_flip_tiling@flip-changes-tiling-yf:
>     - shard-skl:          [PASS][13] -> [FAIL][14] ([fdo#108228] / [fdo#108303])
>    [13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6438/shard-skl9/igt@kms_flip_tiling@flip-changes-tiling-yf.html
>    [14]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13578/shard-skl1/igt@kms_flip_tiling@flip-changes-tiling-yf.html
> 
>   * igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-indfb-pgflip-blt:
>     - shard-iclb:         [PASS][15] -> [INCOMPLETE][16] ([fdo#106978] / [fdo#107713])
>    [15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6438/shard-iclb6/igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-indfb-pgflip-blt.html
>    [16]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13578/shard-iclb7/igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-indfb-pgflip-blt.html
> 
>   * igt@kms_frontbuffer_tracking@fbcpsr-1p-shrfb-fliptrack:
>     - shard-iclb:         [PASS][17] -> [FAIL][18] ([fdo#103167]) +2 similar issues
>    [17]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6438/shard-iclb7/igt@kms_frontbuffer_tracking@fbcpsr-1p-shrfb-fliptrack.html
>    [18]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13578/shard-iclb5/igt@kms_frontbuffer_tracking@fbcpsr-1p-shrfb-fliptrack.html
> 
>   * igt@kms_psr@psr2_primary_page_flip:
>     - shard-iclb:         [PASS][19] -> [SKIP][20] ([fdo#109441]) +2 similar issues
>    [19]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6438/shard-iclb2/igt@kms_psr@psr2_primary_page_flip.html
>    [20]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13578/shard-iclb1/igt@kms_psr@psr2_primary_page_flip.html
> 
>   * igt@kms_setmode@basic:
>     - shard-apl:          [PASS][21] -> [FAIL][22] ([fdo#99912])
>    [21]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6438/shard-apl5/igt@kms_setmode@basic.html
>    [22]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13578/shard-apl2/igt@kms_setmode@basic.html
> 
>   * igt@kms_vblank@pipe-b-query-forked-busy-hang:
>     - shard-hsw:          [PASS][23] -> [INCOMPLETE][24] ([fdo#103540])
>    [23]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6438/shard-hsw2/igt@kms_vblank@pipe-b-query-forked-busy-hang.html
>    [24]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13578/shard-hsw7/igt@kms_vblank@pipe-b-query-forked-busy-hang.html
> 
>   * igt@perf@blocking:
>     - shard-skl:          [PASS][25] -> [FAIL][26] ([fdo#110728])
>    [25]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6438/shard-skl1/igt@perf@blocking.html
>    [26]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13578/shard-skl6/igt@perf@blocking.html
> 
>   
> #### Possible fixes ####
> 
>   * igt@gem_exec_balancer@smoke:
>     - shard-iclb:         [SKIP][27] ([fdo#110854]) -> [PASS][28]
>    [27]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6438/shard-iclb6/igt@gem_exec_balancer@smoke.html
>    [28]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13578/shard-iclb4/igt@gem_exec_balancer@smoke.html
> 
>   * igt@kms_cursor_crc@pipe-b-cursor-suspend:
>     - shard-apl:          [DMESG-WARN][29] ([fdo#108566]) -> [PASS][30] +1 similar issue
>    [29]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6438/shard-apl6/igt@kms_cursor_crc@pipe-b-cursor-suspend.html
>    [30]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13578/shard-apl8/igt@kms_cursor_crc@pipe-b-cursor-suspend.html
> 
>   * igt@kms_flip@plain-flip-fb-recreate-interruptible:
>     - shard-skl:          [FAIL][31] ([fdo#100368]) -> [PASS][32]
>    [31]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6438/shard-skl9/igt@kms_flip@plain-flip-fb-recreate-interruptible.html
>    [32]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13578/shard-skl1/igt@kms_flip@plain-flip-fb-recreate-interruptible.html
> 
>   * igt@kms_frontbuffer_tracking@fbc-1p-offscren-pri-shrfb-draw-pwrite:
>     - shard-iclb:         [FAIL][33] ([fdo#103167]) -> [PASS][34] +4 similar issues
>    [33]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6438/shard-iclb4/igt@kms_frontbuffer_tracking@fbc-1p-offscren-pri-shrfb-draw-pwrite.html
>    [34]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13578/shard-iclb8/igt@kms_frontbuffer_tracking@fbc-1p-offscren-pri-shrfb-draw-pwrite.html
> 
>   * igt@kms_frontbuffer_tracking@fbcpsr-suspend:
>     - shard-skl:          [INCOMPLETE][35] ([fdo#104108] / [fdo#106978]) -> [PASS][36]
>    [35]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6438/shard-skl3/igt@kms_frontbuffer_tracking@fbcpsr-suspend.html
>    [36]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13578/shard-skl8/igt@kms_frontbuffer_tracking@fbcpsr-suspend.html
> 
>   * igt@kms_plane_alpha_blend@pipe-b-coverage-7efc:
>     - shard-skl:          [FAIL][37] ([fdo#108145] / [fdo#110403]) -> [PASS][38]
>    [37]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6438/shard-skl9/igt@kms_plane_alpha_blend@pipe-b-coverage-7efc.html
>    [38]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13578/shard-skl1/igt@kms_plane_alpha_blend@pipe-b-coverage-7efc.html
> 
>   * igt@kms_psr@psr2_primary_mmap_gtt:
>     - shard-iclb:         [SKIP][39] ([fdo#109441]) -> [PASS][40]
>    [39]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6438/shard-iclb3/igt@kms_psr@psr2_primary_mmap_gtt.html
>    [40]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13578/shard-iclb2/igt@kms_psr@psr2_primary_mmap_gtt.html
> 
>   
>   [fdo#100368]: https://bugs.freedesktop.org/show_bug.cgi?id=100368
>   [fdo#103167]: https://bugs.freedesktop.org/show_bug.cgi?id=103167
>   [fdo#103184]: https://bugs.freedesktop.org/show_bug.cgi?id=103184
>   [fdo#103232]: https://bugs.freedesktop.org/show_bug.cgi?id=103232
>   [fdo#103540]: https://bugs.freedesktop.org/show_bug.cgi?id=103540
>   [fdo#104108]: https://bugs.freedesktop.org/show_bug.cgi?id=104108
>   [fdo#106978]: https://bugs.freedesktop.org/show_bug.cgi?id=106978
>   [fdo#107713]: https://bugs.freedesktop.org/show_bug.cgi?id=107713
>   [fdo#108145]: https://bugs.freedesktop.org/show_bug.cgi?id=108145
>   [fdo#108228]: https://bugs.freedesktop.org/show_bug.cgi?id=108228
>   [fdo#108303]: https://bugs.freedesktop.org/show_bug.cgi?id=108303
>   [fdo#108566]: https://bugs.freedesktop.org/show_bug.cgi?id=108566
>   [fdo#108686]: https://bugs.freedesktop.org/show_bug.cgi?id=108686
>   [fdo#109441]: https://bugs.freedesktop.org/show_bug.cgi?id=109441
>   [fdo#109661]: https://bugs.freedesktop.org/show_bug.cgi?id=109661
>   [fdo#110403]: https://bugs.freedesktop.org/show_bug.cgi?id=110403
>   [fdo#110728]: https://bugs.freedesktop.org/show_bug.cgi?id=110728
>   [fdo#110854]: https://bugs.freedesktop.org/show_bug.cgi?id=110854
>   [fdo#99912]: https://bugs.freedesktop.org/show_bug.cgi?id=99912
> 
> 
> Participating hosts (10 -> 9)
> ------------------------------
> 
>   Missing    (1): pig-hsw-4770r 
> 
> 
> Build changes
> -------------
> 
>   * Linux: CI_DRM_6438 -> Patchwork_13578
> 
>   CI_DRM_6438: 95f55d284c41cf499bbfad4ea0c9f0199d47e27e @ git://anongit.freedesktop.org/gfx-ci/linux
>   IGT_5092: 2a66ae6626d5583240509f84117d1345a799b75a @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
>   Patchwork_13578: a251da6a918cdf3118804390ee3d2cef83e11bb5 @ git://anongit.freedesktop.org/gfx-ci/linux
>   piglit_4509: fdc5a4ca11124ab8413c7988896eec4c97336694 @ git://anongit.freedesktop.org/piglit
> 
> == Logs ==
> 
> For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13578/
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/intel-gfx

-- 
Open Source Technology Center, Intel ltd.

$gpg --keyserver wwwkeys.pgp.net --recv-keys 4D781827

[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 195 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: ✓ Fi.CI.IGT: success for drm/i915/execlists: Disable preemption under GVT (rev6)
  2019-07-15  9:32   ` Zhenyu Wang
@ 2019-07-15 10:36     ` Chris Wilson
  0 siblings, 0 replies; 12+ messages in thread
From: Chris Wilson @ 2019-07-15 10:36 UTC (permalink / raw)
  To: Zhenyu Wang, intel-gfx

Quoting Zhenyu Wang (2019-07-15 10:32:19)
> 
> Chris, would you pick up this one? I think we need this first to make more GVT tests rolling.

Then please ack. All I have on this version is a heads up about a
possible submission hang...
-Chris
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PATCH] drm/i915/execlists: Disable preemption under GVT
  2019-07-09  9:12 [PATCH] drm/i915/execlists: Disable preemption under GVT Chris Wilson
                   ` (2 preceding siblings ...)
  2019-07-10 10:04 ` [PATCH] drm/i915/execlists: Disable preemption under GVT Zhang, Xiaolin
@ 2019-07-16  9:25 ` Zhenyu Wang
  3 siblings, 0 replies; 12+ messages in thread
From: Zhenyu Wang @ 2019-07-16  9:25 UTC (permalink / raw)
  To: Chris Wilson; +Cc: intel-gfx


[-- Attachment #1.1: Type: text/plain, Size: 6016 bytes --]

On 2019.07.09 10:12:33 +0100, Chris Wilson wrote:
> Preempt-to-busy uses a GPU semaphore to enforce an idle-barrier across
> preemption, but mediated gvt does not fully support semaphores.
> 
> v2: Fiddle around with the flags and settle on using has-semaphores for
> the core bits so that we retain the ability to preempt our own
> semaphores.
> 
> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
> Cc: Zhenyu Wang <zhenyuw@linux.intel.com>
> Cc: Xiaolin Zhang <xiaolin.zhang@intel.com>
> Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
> Cc: Mika Kuoppala <mika.kuoppala@linux.intel.com>
> ---

I've tried to run guest with this one for several benchmarks on SKL
and didn't observe hang. I think the hang met by Xiaolin might be caused
by other things that can be double checked later.

So for semaphore disable in vGPU case,

Acked-by: Zhenyu Wang <zhenyuw@linux.intel.com>

thanks!

>  drivers/gpu/drm/i915/gt/intel_engine_cs.c |  4 ++--
>  drivers/gpu/drm/i915/gt/intel_lrc.c       | 24 +++++++++++++++++------
>  drivers/gpu/drm/i915/gt/selftest_lrc.c    |  6 ++++++
>  3 files changed, 26 insertions(+), 8 deletions(-)
> 
> diff --git a/drivers/gpu/drm/i915/gt/intel_engine_cs.c b/drivers/gpu/drm/i915/gt/intel_engine_cs.c
> index 56310812da21..614ed8c488ef 100644
> --- a/drivers/gpu/drm/i915/gt/intel_engine_cs.c
> +++ b/drivers/gpu/drm/i915/gt/intel_engine_cs.c
> @@ -825,6 +825,8 @@ int intel_engine_init_common(struct intel_engine_cs *engine)
>  	struct drm_i915_private *i915 = engine->i915;
>  	int ret;
>  
> +	engine->set_default_submission(engine);
> +
>  	/* We may need to do things with the shrinker which
>  	 * require us to immediately switch back to the default
>  	 * context. This can cause a problem as pinning the
> @@ -852,8 +854,6 @@ int intel_engine_init_common(struct intel_engine_cs *engine)
>  
>  	engine->emit_fini_breadcrumb_dw = ret;
>  
> -	engine->set_default_submission(engine);
> -
>  	return 0;
>  
>  err_unpin:
> diff --git a/drivers/gpu/drm/i915/gt/intel_lrc.c b/drivers/gpu/drm/i915/gt/intel_lrc.c
> index 558a5850de3c..ef36f4b5e212 100644
> --- a/drivers/gpu/drm/i915/gt/intel_lrc.c
> +++ b/drivers/gpu/drm/i915/gt/intel_lrc.c
> @@ -295,6 +295,9 @@ static inline bool need_preempt(const struct intel_engine_cs *engine,
>  {
>  	int last_prio;
>  
> +	if (!intel_engine_has_semaphores(engine))
> +		return false;
> +
>  	/*
>  	 * Check if the current priority hint merits a preemption attempt.
>  	 *
> @@ -893,6 +896,9 @@ need_timeslice(struct intel_engine_cs *engine, const struct i915_request *rq)
>  {
>  	int hint;
>  
> +	if (!intel_engine_has_semaphores(engine))
> +		return false;
> +
>  	if (list_is_last(&rq->sched.link, &engine->active.requests))
>  		return false;
>  
> @@ -2634,7 +2640,8 @@ static u32 *gen8_emit_fini_breadcrumb(struct i915_request *request, u32 *cs)
>  	*cs++ = MI_USER_INTERRUPT;
>  
>  	*cs++ = MI_ARB_ON_OFF | MI_ARB_ENABLE;
> -	cs = emit_preempt_busywait(request, cs);
> +	if (intel_engine_has_semaphores(request->engine))
> +		cs = emit_preempt_busywait(request, cs);
>  
>  	request->tail = intel_ring_offset(request, cs);
>  	assert_ring_tail_valid(request->ring, request->tail);
> @@ -2658,7 +2665,8 @@ static u32 *gen8_emit_fini_breadcrumb_rcs(struct i915_request *request, u32 *cs)
>  	*cs++ = MI_USER_INTERRUPT;
>  
>  	*cs++ = MI_ARB_ON_OFF | MI_ARB_ENABLE;
> -	cs = emit_preempt_busywait(request, cs);
> +	if (intel_engine_has_semaphores(request->engine))
> +		cs = emit_preempt_busywait(request, cs);
>  
>  	request->tail = intel_ring_offset(request, cs);
>  	assert_ring_tail_valid(request->ring, request->tail);
> @@ -2706,10 +2714,11 @@ void intel_execlists_set_default_submission(struct intel_engine_cs *engine)
>  	engine->unpark = NULL;
>  
>  	engine->flags |= I915_ENGINE_SUPPORTS_STATS;
> -	if (!intel_vgpu_active(engine->i915))
> +	if (!intel_vgpu_active(engine->i915)) {
>  		engine->flags |= I915_ENGINE_HAS_SEMAPHORES;
> -	if (HAS_LOGICAL_RING_PREEMPTION(engine->i915))
> -		engine->flags |= I915_ENGINE_HAS_PREEMPTION;
> +		if (HAS_LOGICAL_RING_PREEMPTION(engine->i915))
> +			engine->flags |= I915_ENGINE_HAS_PREEMPTION;
> +	}
>  }
>  
>  static void execlists_destroy(struct intel_engine_cs *engine)
> @@ -3399,7 +3408,6 @@ intel_execlists_create_virtual(struct i915_gem_context *ctx,
>  	ve->base.class = OTHER_CLASS;
>  	ve->base.uabi_class = I915_ENGINE_CLASS_INVALID;
>  	ve->base.instance = I915_ENGINE_CLASS_INVALID_VIRTUAL;
> -	ve->base.flags = I915_ENGINE_IS_VIRTUAL;
>  
>  	/*
>  	 * The decision on whether to submit a request using semaphores
> @@ -3496,8 +3504,12 @@ intel_execlists_create_virtual(struct i915_gem_context *ctx,
>  		ve->base.emit_fini_breadcrumb = sibling->emit_fini_breadcrumb;
>  		ve->base.emit_fini_breadcrumb_dw =
>  			sibling->emit_fini_breadcrumb_dw;
> +
> +		ve->base.flags = sibling->flags;
>  	}
>  
> +	ve->base.flags |= I915_ENGINE_IS_VIRTUAL;
> +
>  	return &ve->context;
>  
>  err_put:
> diff --git a/drivers/gpu/drm/i915/gt/selftest_lrc.c b/drivers/gpu/drm/i915/gt/selftest_lrc.c
> index fe4e15f9ba9d..a13f06ba984b 100644
> --- a/drivers/gpu/drm/i915/gt/selftest_lrc.c
> +++ b/drivers/gpu/drm/i915/gt/selftest_lrc.c
> @@ -269,6 +269,9 @@ static int live_timeslice_preempt(void *arg)
>  		enum intel_engine_id id;
>  
>  		for_each_engine(engine, i915, id) {
> +			if (!intel_engine_has_preemption(engine))
> +				continue;
> +
>  			memset(vaddr, 0, PAGE_SIZE);
>  
>  			err = slice_semaphore_queue(engine, vma, count);
> @@ -354,6 +357,9 @@ static int live_busywait_preempt(void *arg)
>  		struct igt_live_test t;
>  		u32 *cs;
>  
> +		if (!intel_engine_has_preemption(engine))
> +			continue;
> +
>  		if (!intel_engine_can_store_dword(engine))
>  			continue;
>  
> -- 
> 2.22.0
> 

-- 
Open Source Technology Center, Intel ltd.

$gpg --keyserver wwwkeys.pgp.net --recv-keys 4D781827

[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 195 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PATCH] drm/i915/execlists: Disable preemption under GVT
  2019-06-24  9:02 ` Zhenyu Wang
@ 2019-06-24  9:11   ` Chris Wilson
  0 siblings, 0 replies; 12+ messages in thread
From: Chris Wilson @ 2019-06-24  9:11 UTC (permalink / raw)
  To: Zhenyu Wang; +Cc: intel-gfx

Quoting Zhenyu Wang (2019-06-24 10:02:31)
> On 2019.06.21 20:13:13 +0100, Chris Wilson wrote:
> > Preempt-to-busy uses a GPU semaphore to enforce an idle-barrier across
> > preemption, but mediated gvt does not fully support semaphores.
> >
> 
> Current looks semaphore is still used from emit_fini_breadcrumb which
> caused gvt error, gvt may support memory based semaphore but not for
> reg based.

Already resent patch to avoid the emission as well, as I guessed that
even using a no-op semaphore might be problematic :)
-Chris
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PATCH] drm/i915/execlists: Disable preemption under GVT
  2019-06-21 19:13 Chris Wilson
@ 2019-06-24  9:02 ` Zhenyu Wang
  2019-06-24  9:11   ` Chris Wilson
  0 siblings, 1 reply; 12+ messages in thread
From: Zhenyu Wang @ 2019-06-24  9:02 UTC (permalink / raw)
  To: Chris Wilson; +Cc: intel-gfx


[-- Attachment #1.1: Type: text/plain, Size: 2247 bytes --]

On 2019.06.21 20:13:13 +0100, Chris Wilson wrote:
> Preempt-to-busy uses a GPU semaphore to enforce an idle-barrier across
> preemption, but mediated gvt does not fully support semaphores.
>

Current looks semaphore is still used from emit_fini_breadcrumb which
caused gvt error, gvt may support memory based semaphore but not for
reg based.

> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
> ---
>  drivers/gpu/drm/i915/gt/intel_lrc.c | 13 ++++++++++---
>  1 file changed, 10 insertions(+), 3 deletions(-)
> 
> diff --git a/drivers/gpu/drm/i915/gt/intel_lrc.c b/drivers/gpu/drm/i915/gt/intel_lrc.c
> index c8a0c9b32764..d8649e759ce8 100644
> --- a/drivers/gpu/drm/i915/gt/intel_lrc.c
> +++ b/drivers/gpu/drm/i915/gt/intel_lrc.c
> @@ -294,6 +294,9 @@ static inline bool need_preempt(const struct intel_engine_cs *engine,
>  {
>  	int last_prio;
>  
> +	if (!intel_engine_has_preemption(engine))
> +		return false;
> +
>  	/*
>  	 * Check if the current priority hint merits a preemption attempt.
>  	 *
> @@ -890,6 +893,9 @@ need_timeslice(struct intel_engine_cs *engine, const struct i915_request *rq)
>  {
>  	int hint;
>  
> +	if (!intel_engine_has_preemption(engine))
> +		return false;
> +
>  	if (list_is_last(&rq->sched.link, &engine->active.requests))
>  		return false;
>  
> @@ -2672,10 +2678,11 @@ void intel_execlists_set_default_submission(struct intel_engine_cs *engine)
>  	engine->unpark = NULL;
>  
>  	engine->flags |= I915_ENGINE_SUPPORTS_STATS;
> -	if (!intel_vgpu_active(engine->i915))
> +	if (!intel_vgpu_active(engine->i915)) {
>  		engine->flags |= I915_ENGINE_HAS_SEMAPHORES;
> -	if (HAS_LOGICAL_RING_PREEMPTION(engine->i915))
> -		engine->flags |= I915_ENGINE_HAS_PREEMPTION;
> +		if (HAS_LOGICAL_RING_PREEMPTION(engine->i915))
> +			engine->flags |= I915_ENGINE_HAS_PREEMPTION;
> +	}
>  }
>  
>  static void execlists_destroy(struct intel_engine_cs *engine)
> -- 
> 2.20.1
> 
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/intel-gfx

-- 
Open Source Technology Center, Intel ltd.

$gpg --keyserver wwwkeys.pgp.net --recv-keys 4D781827

[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 195 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [PATCH] drm/i915/execlists: Disable preemption under GVT
@ 2019-06-21 19:13 Chris Wilson
  2019-06-24  9:02 ` Zhenyu Wang
  0 siblings, 1 reply; 12+ messages in thread
From: Chris Wilson @ 2019-06-21 19:13 UTC (permalink / raw)
  To: intel-gfx

Preempt-to-busy uses a GPU semaphore to enforce an idle-barrier across
preemption, but mediated gvt does not fully support semaphores.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
---
 drivers/gpu/drm/i915/gt/intel_lrc.c | 13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)

diff --git a/drivers/gpu/drm/i915/gt/intel_lrc.c b/drivers/gpu/drm/i915/gt/intel_lrc.c
index c8a0c9b32764..d8649e759ce8 100644
--- a/drivers/gpu/drm/i915/gt/intel_lrc.c
+++ b/drivers/gpu/drm/i915/gt/intel_lrc.c
@@ -294,6 +294,9 @@ static inline bool need_preempt(const struct intel_engine_cs *engine,
 {
 	int last_prio;
 
+	if (!intel_engine_has_preemption(engine))
+		return false;
+
 	/*
 	 * Check if the current priority hint merits a preemption attempt.
 	 *
@@ -890,6 +893,9 @@ need_timeslice(struct intel_engine_cs *engine, const struct i915_request *rq)
 {
 	int hint;
 
+	if (!intel_engine_has_preemption(engine))
+		return false;
+
 	if (list_is_last(&rq->sched.link, &engine->active.requests))
 		return false;
 
@@ -2672,10 +2678,11 @@ void intel_execlists_set_default_submission(struct intel_engine_cs *engine)
 	engine->unpark = NULL;
 
 	engine->flags |= I915_ENGINE_SUPPORTS_STATS;
-	if (!intel_vgpu_active(engine->i915))
+	if (!intel_vgpu_active(engine->i915)) {
 		engine->flags |= I915_ENGINE_HAS_SEMAPHORES;
-	if (HAS_LOGICAL_RING_PREEMPTION(engine->i915))
-		engine->flags |= I915_ENGINE_HAS_PREEMPTION;
+		if (HAS_LOGICAL_RING_PREEMPTION(engine->i915))
+			engine->flags |= I915_ENGINE_HAS_PREEMPTION;
+	}
 }
 
 static void execlists_destroy(struct intel_engine_cs *engine)
-- 
2.20.1

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply related	[flat|nested] 12+ messages in thread

* [PATCH] drm/i915/execlists: Disable preemption under GVT
@ 2019-06-21 15:00 Chris Wilson
  0 siblings, 0 replies; 12+ messages in thread
From: Chris Wilson @ 2019-06-21 15:00 UTC (permalink / raw)
  To: intel-gfx

Preempt-to-busy uses a GPU semaphore to enforce an idle-barrier across
preemption, but mediated gvt does not fully support semaphores.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
---
 drivers/gpu/drm/i915/gt/intel_lrc.c | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/drivers/gpu/drm/i915/gt/intel_lrc.c b/drivers/gpu/drm/i915/gt/intel_lrc.c
index b3e0e25c5d80..f8ac9a856bf4 100644
--- a/drivers/gpu/drm/i915/gt/intel_lrc.c
+++ b/drivers/gpu/drm/i915/gt/intel_lrc.c
@@ -2676,10 +2676,11 @@ void intel_execlists_set_default_submission(struct intel_engine_cs *engine)
 	engine->unpark = NULL;
 
 	engine->flags |= I915_ENGINE_SUPPORTS_STATS;
-	if (!intel_vgpu_active(engine->i915))
+	if (!intel_vgpu_active(engine->i915)) {
 		engine->flags |= I915_ENGINE_HAS_SEMAPHORES;
-	if (HAS_LOGICAL_RING_PREEMPTION(engine->i915))
-		engine->flags |= I915_ENGINE_HAS_PREEMPTION;
+		if (HAS_LOGICAL_RING_PREEMPTION(engine->i915))
+			engine->flags |= I915_ENGINE_HAS_PREEMPTION;
+	}
 }
 
 static void execlists_destroy(struct intel_engine_cs *engine)
-- 
2.20.1

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply related	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2019-07-16  9:28 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-09  9:12 [PATCH] drm/i915/execlists: Disable preemption under GVT Chris Wilson
2019-07-09 11:30 ` ✓ Fi.CI.BAT: success for drm/i915/execlists: Disable preemption under GVT (rev6) Patchwork
2019-07-09 20:53 ` ✓ Fi.CI.IGT: " Patchwork
2019-07-15  9:32   ` Zhenyu Wang
2019-07-15 10:36     ` Chris Wilson
2019-07-10 10:04 ` [PATCH] drm/i915/execlists: Disable preemption under GVT Zhang, Xiaolin
2019-07-10 10:13   ` Chris Wilson
2019-07-16  9:25 ` Zhenyu Wang
  -- strict thread matches above, loose matches on Subject: below --
2019-06-21 19:13 Chris Wilson
2019-06-24  9:02 ` Zhenyu Wang
2019-06-24  9:11   ` Chris Wilson
2019-06-21 15:00 Chris Wilson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.