Skip to contentSkip to conversation

gvt-next-fixes

GIT PULL Zhenyu Wang 3 participants 7 messages Sep 6, 2019 – Sep 10, 2019

lore
Share & tools
lore
#0 lore raw

Hi,

Here's gvt-next-fixes with two recent fixes, one for recent guest hang regression and another for guest reset fix.

Thanks.
--
The following changes since commit c36beba6b296b3c05a0f29753b04775e5ae23886:

drm/i915: Seal races between async GPU cancellation, retirement and signaling (2019-05-13 13:53:35 +0300)

are available in the Git repository at:

https://github.com/intel/gvt-linux.git tags/gvt-next-fixes-2019-09-06

for you to fetch changes up to 4a5322560aa235efa84c0aa34c00e5749a0792fd:

drm/i915/gvt: update RING_START reg of vGPU when the context is submitted to i915 (2019-09-06 13:39:09 +0800)

----------------------------------------------------------------
gvt-next-fixes-2019-09-06

- Fix guest context head pointer update for hang (Xiaolin)
- Fix guest context ring state for reset (Weinan)

----------------------------------------------------------------
Weinan Li (1):
drm/i915/gvt: update RING_START reg of vGPU when the context is submitted to i915

Xiaolin Zhang (1):
drm/i915/gvt: update vgpu workload head pointer correctly

 drivers/gpu/drm/i915/gvt/scheduler.c | 45 +++++++++++++++++++++++++-----------
 1 file changed, 32 insertions(+), 13 deletions(-)
Signature · 3 lines
Open Source Technology Center, Intel ltd.

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

_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

#1 lore raw
Quoted 10 lines · Zhenyu Wang

Hi,

Here's gvt-next-fixes with two recent fixes, one for recent guest hang regression and another for guest reset fix.

Thanks.
--
The following changes since commit c36beba6b296b3c05a0f29753b04775e5ae23886:

Quoted 5 lines

drm/i915: Seal races between async GPU cancellation, retirement and signaling (2019-05-13 13:53:35 +0300)

are available in the Git repository at:

https://github.com/intel/gvt-linux.git tags/gvt-next-fixes-2019-09-06

pulled, thanks

Quoted 15 lines

for you to fetch changes up to 4a5322560aa235efa84c0aa34c00e5749a0792fd:

drm/i915/gvt: update RING_START reg of vGPU when the context is submitted to i915 (2019-09-06 13:39:09 +0800)

----------------------------------------------------------------
gvt-next-fixes-2019-09-06

- Fix guest context head pointer update for hang (Xiaolin)
- Fix guest context ring state for reset (Weinan)

----------------------------------------------------------------
Weinan Li (1):
drm/i915/gvt: update RING_START reg of vGPU when the context is submitted to i915

Quoted 11 lines

Xiaolin Zhang (1):
drm/i915/gvt: update vgpu workload head pointer correctly

 drivers/gpu/drm/i915/gvt/scheduler.c | 45 +++++++++++++++++++++++++-----------
 1 file changed, 32 insertions(+), 13 deletions(-)
Signature · 3 lines
Open Source Technology Center, Intel ltd.

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

_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

#2 lore raw
In reply to Zhenyu Wang

Hi guys,

Quoted 12 lines · Zhenyu Wang

Hi,

Here's gvt-next-fixes with two recent fixes, one for recent guest hang regression and another for guest reset fix.

Thanks.
--
The following changes since commit c36beba6b296b3c05a0f29753b04775e5ae23886:

drm/i915: Seal races between async GPU cancellation, retirement and signaling (2019-05-13 13:53:35 +0300)

Quoted 7 lines

are available in the Git repository at:

https://github.com/intel/gvt-linux.git tags/gvt-next-fixes-2019-09-06

for you to fetch changes up to 4a5322560aa235efa84c0aa34c00e5749a0792fd:

drm/i915/gvt: update RING_START reg of vGPU when the context is submitted to i915 (2019-09-06 13:39:09 +0800)

$ dim pull-request-next-fixes
Using drm/drm-next as the upstream
dim: 4a5322560aa2 ("drm/i915/gvt: update RING_START reg of vGPU when the context is submitted to i915"): Link tag missing.
dim: 0a3242bdb477 ("drm/i915/gvt: update vgpu workload head pointer correctly"): Link tag missing.
dim: ERROR: issues in commits detected, aborting

I wonder how I should proceed here. In the past I was always bypasssing dim, but now that drm maintainers also use dim I'm sure this will blow up there anyways.

But gvt patches are not tracked on our CI individually hence they don't have Links.

Jani, Joonas, how are you guys handling this?

Daniel, Dave, ideas?

Thanks,
Rodrigo.

Quoted 11 lines

----------------------------------------------------------------
gvt-next-fixes-2019-09-06

- Fix guest context head pointer update for hang (Xiaolin)
- Fix guest context ring state for reset (Weinan)

----------------------------------------------------------------
Weinan Li (1):
drm/i915/gvt: update RING_START reg of vGPU when the context is submitted to i915

Quoted 11 lines

Xiaolin Zhang (1):
drm/i915/gvt: update vgpu workload head pointer correctly

 drivers/gpu/drm/i915/gvt/scheduler.c | 45 +++++++++++++++++++++++++-----------
 1 file changed, 32 insertions(+), 13 deletions(-)
Signature · 3 lines
Open Source Technology Center, Intel ltd.

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

_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

#3 lore raw
Quoted 40 lines · Rodrigo Vivi

Hi guys,

Quoted 15 lines · Zhenyu Wang

Hi,

Here's gvt-next-fixes with two recent fixes, one for recent guest hang regression and another for guest reset fix.

Thanks.
--
The following changes since commit
c36beba6b296b3c05a0f29753b04775e5ae23886:

drm/i915: Seal races between async GPU cancellation, retirement
and signaling (2019-05-13 13:53:35 +0300)

are available in the Git repository at:

Quoted 8 lines

https://github.com/intel/gvt-linux.git tags/gvt-next-fixes-2019-
09-06

for you to fetch changes up to
4a5322560aa235efa84c0aa34c00e5749a0792fd:

drm/i915/gvt: update RING_START reg of vGPU when the context is
submitted to i915 (2019-09-06 13:39:09 +0800)

$ dim pull-request-next-fixes
Using drm/drm-next as the upstream
dim: 4a5322560aa2 ("drm/i915/gvt: update RING_START reg of vGPU when
the context is submitted to i915"): Link tag missing.
dim: 0a3242bdb477 ("drm/i915/gvt: update vgpu workload head pointer
correctly"): Link tag missing.
dim: ERROR: issues in commits detected, aborting

I wonder how I should proceed here. In the past I was always bypasssing dim,
but now that drm maintainers also use dim I'm sure this will blow up there anyways.

Quoted 7 lines

But gvt patches are not tracked on our CI individually hence they don't
have Links.

Jani, Joonas, how are you guys handling this?

Daniel, Dave, ideas?

dim doesn't require Link: tags yet for pull requests (because most drm trees aren't managed by dim and so lack them). Until we change that, with some doc patches and proper bikeshed on dri-devel I think it's fine if gvt is missing them. At least from a drm.git pov.

What you guys want to do for drm-intel.git is entirely up to you. -Daniel

Quoted 29 lines

Thanks,
Rodrigo.

Quoted 23 lines

----------------------------------------------------------------
gvt-next-fixes-2019-09-06

- Fix guest context head pointer update for hang (Xiaolin)
- Fix guest context ring state for reset (Weinan)

----------------------------------------------------------------
Weinan Li (1):
drm/i915/gvt: update RING_START reg of vGPU when the context
is submitted to i915

Xiaolin Zhang (1):
drm/i915/gvt: update vgpu workload head pointer correctly

 drivers/gpu/drm/i915/gvt/scheduler.c | 45
+++++++++++++++++++++++++-----------
 1 file changed, 32 insertions(+), 13 deletions(-)
Signature · 3 lines
Open Source Technology Center, Intel ltd.

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

Intel Semiconductor AG
Registered No. 020.30.913.786-7
Registered Office: Badenerstrasse 549, 8048 Zurich, Switzerland
_______________________________________________
Intel-gfx mailing list [email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

#4 lore raw
Quoted 45 lines · Daniel
Quoted 44 lines · Rodrigo Vivi

Hi guys,

Quoted 15 lines · Zhenyu Wang

Hi,

Here's gvt-next-fixes with two recent fixes, one for recent guest hang regression and another for guest reset fix.

Thanks.
--
The following changes since commit
c36beba6b296b3c05a0f29753b04775e5ae23886:

drm/i915: Seal races between async GPU cancellation, retirement
and signaling (2019-05-13 13:53:35 +0300)

are available in the Git repository at:

Quoted 8 lines

https://github.com/intel/gvt-linux.git tags/gvt-next-fixes-2019-
09-06

for you to fetch changes up to
4a5322560aa235efa84c0aa34c00e5749a0792fd:

drm/i915/gvt: update RING_START reg of vGPU when the context is
submitted to i915 (2019-09-06 13:39:09 +0800)

$ dim pull-request-next-fixes
Using drm/drm-next as the upstream
dim: 4a5322560aa2 ("drm/i915/gvt: update RING_START reg of vGPU when
the context is submitted to i915"): Link tag missing.
dim: 0a3242bdb477 ("drm/i915/gvt: update vgpu workload head pointer
correctly"): Link tag missing.
dim: ERROR: issues in commits detected, aborting

I wonder how I should proceed here. In the past I was always bypasssing dim,
but now that drm maintainers also use dim I'm sure this will blow up there anyways.

But gvt patches are not tracked on our CI individually hence they don't
have Links.

Quoted 6 lines
Quoted 3 lines

Jani, Joonas, how are you guys handling this?

Daniel, Dave, ideas?

dim doesn't require Link: tags yet for pull requests (because most drm trees aren't managed by dim and so lack them).

I'm confused now.

function dim_pull_request
calls
checkpatch_commit_push_range 1 "$upstream..$branch" (except for drm-intel-next)

and checkpatch_commit_push checks for the link.

So if you also use dim for your pull request I'm wondering how you are not getting that....

In the past whenever I had this problem on dinf I commented out the link check but end up never coming back to solve the problem properly. I just wondering that now that dim is in use on drm level if I bypass here it becomes a problem for you.

thoughts?

Quoted 4 lines

Until we change that,
with some doc patches and proper bikeshed on dri-devel I think it's fine if gvt is missing them. At least from a drm.git pov.

Quoted 31 lines

What you guys want to do for drm-intel.git is entirely up to you. -Daniel

Quoted 29 lines

Thanks,
Rodrigo.

Quoted 23 lines

----------------------------------------------------------------
gvt-next-fixes-2019-09-06

- Fix guest context head pointer update for hang (Xiaolin)
- Fix guest context ring state for reset (Weinan)

----------------------------------------------------------------
Weinan Li (1):
drm/i915/gvt: update RING_START reg of vGPU when the context
is submitted to i915

Xiaolin Zhang (1):
drm/i915/gvt: update vgpu workload head pointer correctly

 drivers/gpu/drm/i915/gvt/scheduler.c | 45
+++++++++++++++++++++++++-----------
 1 file changed, 32 insertions(+), 13 deletions(-)
Signature · 3 lines
Open Source Technology Center, Intel ltd.

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

_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

#5 lore raw
Quoted 65 lines · Rodrigo Vivi
Quoted 45 lines · Daniel
Quoted 44 lines · Rodrigo Vivi

Hi guys,

Quoted 15 lines · Zhenyu Wang

Hi,

Here's gvt-next-fixes with two recent fixes, one for recent guest hang regression and another for guest reset fix.

Thanks.
--
The following changes since commit
c36beba6b296b3c05a0f29753b04775e5ae23886:

drm/i915: Seal races between async GPU cancellation, retirement
and signaling (2019-05-13 13:53:35 +0300)

are available in the Git repository at:

Quoted 8 lines

https://github.com/intel/gvt-linux.git tags/gvt-next-fixes-2019-
09-06

for you to fetch changes up to
4a5322560aa235efa84c0aa34c00e5749a0792fd:

drm/i915/gvt: update RING_START reg of vGPU when the context is
submitted to i915 (2019-09-06 13:39:09 +0800)

$ dim pull-request-next-fixes
Using drm/drm-next as the upstream
dim: 4a5322560aa2 ("drm/i915/gvt: update RING_START reg of vGPU when
the context is submitted to i915"): Link tag missing.
dim: 0a3242bdb477 ("drm/i915/gvt: update vgpu workload head pointer
correctly"): Link tag missing.
dim: ERROR: issues in commits detected, aborting

I wonder how I should proceed here. In the past I was always bypasssing dim,
but now that drm maintainers also use dim I'm sure this will blow up there anyways.

But gvt patches are not tracked on our CI individually hence they don't
have Links.

Quoted 6 lines
Quoted 3 lines

Jani, Joonas, how are you guys handling this?

Daniel, Dave, ideas?

dim doesn't require Link: tags yet for pull requests (because most drm trees aren't managed by dim and so lack them).

I'm confused now.

function dim_pull_request
calls
checkpatch_commit_push_range 1 "$upstream..$branch" (except for drm-intel-next)

and checkpatch_commit_push checks for the link.

So if you also use dim for your pull request I'm wondering how you are not getting that....

Quoted 6 lines

In the past whenever I had this problem on dinf I commented out the link check but end up never coming back to solve the problem properly. I just wondering that now that dim is in use on drm level if I bypass here it becomes a problem for you.

thoughts?

Although gvt is not fully in CI yet, we do have patchwork that I can add Link: tag, that should be easy for you. Sorry that I wasn't awared it's required for dim.

Quoted 40 lines
Quoted 36 lines

Until we change that,
with some doc patches and proper bikeshed on dri-devel I think it's fine if gvt is missing them. At least from a drm.git pov.

What you guys want to do for drm-intel.git is entirely up to you. -Daniel

Quoted 29 lines

Thanks,
Rodrigo.

Quoted 23 lines

----------------------------------------------------------------
gvt-next-fixes-2019-09-06

- Fix guest context head pointer update for hang (Xiaolin)
- Fix guest context ring state for reset (Weinan)

----------------------------------------------------------------
Weinan Li (1):
drm/i915/gvt: update RING_START reg of vGPU when the context
is submitted to i915

Xiaolin Zhang (1):
drm/i915/gvt: update vgpu workload head pointer correctly

 drivers/gpu/drm/i915/gvt/scheduler.c | 45
+++++++++++++++++++++++++-----------
 1 file changed, 32 insertions(+), 13 deletions(-)
Signature · 3 lines
Open Source Technology Center, Intel ltd.

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

_______________________________________________
intel-gvt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gvt-dev

Signature · 3 lines
Open Source Technology Center, Intel ltd.

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

_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

#6 lore raw
In reply to Rodrigo Vivi
Quoted 67 lines · Rodrigo Vivi
Quoted 51 lines · Daniel
Quoted 50 lines · Rodrigo Vivi

Hi guys,

Quoted 20 lines · Zhenyu Wang

Hi,

Here's gvt-next-fixes with two recent fixes, one for recent guest hang regression and another for guest reset fix.

Thanks.
--
The following changes since commit
c36beba6b296b3c05a0f29753b04775e5ae23886:

drm/i915: Seal races between async GPU cancellation,
retirement
and signaling (2019-05-13 13:53:35 +0300)

are available in the Git repository at:

https://github.com/intel/gvt-linux.git tags/gvt-next-fixes-
2019-
09-06

Quoted 6 lines

for you to fetch changes up to
4a5322560aa235efa84c0aa34c00e5749a0792fd:

drm/i915/gvt: update RING_START reg of vGPU when the context
is
submitted to i915 (2019-09-06 13:39:09 +0800)

$ dim pull-request-next-fixes
Using drm/drm-next as the upstream
dim: 4a5322560aa2 ("drm/i915/gvt: update RING_START reg of vGPU
when
the context is submitted to i915"): Link tag missing.
dim: 0a3242bdb477 ("drm/i915/gvt: update vgpu workload head
pointer
correctly"): Link tag missing.
dim: ERROR: issues in commits detected, aborting

I wonder how I should proceed here. In the past I was always bypasssing dim,
but now that drm maintainers also use dim I'm sure this will blow up
there anyways.

But gvt patches are not tracked on our CI individually hence they don't
have Links.

Quoted 7 lines
Quoted 3 lines

Jani, Joonas, how are you guys handling this?

Daniel, Dave, ideas?

dim doesn't require Link: tags yet for pull requests (because most drm
trees aren't managed by dim and so lack them).

I'm confused now.

function dim_pull_request
calls
checkpatch_commit_push_range 1 "$upstream..$branch" (except for drm-intel-next)

Quoted 4 lines

and checkpatch_commit_push checks for the link.

So if you also use dim for your pull request I'm wondering how you are not getting that....

On the push side we set dim_managed_branch (or whatever it's called) to 1, on the pull side it's side 0. That disables certain checks like the
Link: tag check. Also push should only check commits authored by you, so this is only really an issue with cherry-picks.

That was at least the idea behind all this, maybe it stopped working. -Daniel

Quoted 44 lines

In the past whenever I had this problem on dinf I commented out the link check but end up never coming back to solve the problem properly.
I just wondering that now that dim is in use on drm level if I bypass here it becomes a problem for you.

thoughts?

Quoted 35 lines

Until we change that,
with some doc patches and proper bikeshed on dri-devel I think it's fine if gvt is missing them. At least from a drm.git pov.

What you guys want to do for drm-intel.git is entirely up to you. -Daniel

Quoted 29 lines

Thanks,
Rodrigo.

Quoted 26 lines

-------------------------------------------------------------
---
gvt-next-fixes-2019-09-06

- Fix guest context head pointer update for hang (Xiaolin)
- Fix guest context ring state for reset (Weinan)

-------------------------------------------------------------
---
Weinan Li (1):
drm/i915/gvt: update RING_START reg of vGPU when the
context
is submitted to i915

Xiaolin Zhang (1):
drm/i915/gvt: update vgpu workload head pointer correctly

 drivers/gpu/drm/i915/gvt/scheduler.c | 45
+++++++++++++++++++++++++-----------
 1 file changed, 32 insertions(+), 13 deletions(-)
Signature · 3 lines
Open Source Technology Center, Intel ltd.

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

Intel Semiconductor AG
Registered No. 020.30.913.786-7
Registered Office: Badenerstrasse 549, 8048 Zurich, Switzerland
_______________________________________________
Intel-gfx mailing list [email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx