Re: [Intel-gfx] [GIT PULL] more GVT-g fixes for 4.11

2017-03-27 Thread Jani Nikula
On Thu, 23 Mar 2017, Zhenyu Wang  wrote:
> Hi,
>
> Here's updated gvt fixes for 4.11. Major ones are for KVM reference
> fix, guest gtt partial update fix for very big guest mem, and Changbin's
> following fix for gvt context notification.

Pulled to drm-intel-fixes, thanks.

BR,
Jani.

>
> Thanks.
>
> --
> The following changes since commit 2958b9013fcbabeeba221161d0712f5259f1e15d:
>
>   drm/i915/gvt: Fix gvt scheduler interval time (2017-03-17 16:46:45 +0800)
>
> are available in the git repository at:
>
>   https://github.com/01org/gvt-linux.git tags/gvt-fixes-2017-03-23
>
> for you to fetch changes up to bc2d4b62db67f817b09c782219996630e9c2f5e2:
>
>   drm/i915/gvt: Use force single submit flag to distinguish gvt request from 
> i915 request (2017-03-22 13:18:56 +0800)
>
> 
> gvt-fixes-2017-03-23
>
> - KVM reference fix from Alex
> - shadow gtt entry partial update fix from Xiaoguang
> - gvt context notification check (Changbin)
> - other misc fixes.
>
> 
> Alex Williamson (1):
>   drm/i915/kvmgt: Hold struct kvm reference
>
> Changbin Du (1):
>   drm/i915/gvt: Use force single submit flag to distinguish gvt request 
> from i915 request
>
> Chuanxiao Dong (1):
>   drm/i915/gvt: fix wrong offset when loading RCS mocs
>
> Pei Zhang (1):
>   drm/i915/gvt: add write handler for mmio mbctl
>
> Xiaoguang Chen (1):
>   drm/i915/gvt: set shadow entry to scratch page while p2m failed
>
> Xu Han (1):
>   drm/i915/gvt: Fix guest fail to read EDID leading to black guest 
> console issue.
>
>  drivers/gpu/drm/i915/gvt/edid.c  |  3 ++-
>  drivers/gpu/drm/i915/gvt/gtt.c   |  8 ++--
>  drivers/gpu/drm/i915/gvt/handlers.c  | 10 +-
>  drivers/gpu/drm/i915/gvt/kvmgt.c |  2 ++
>  drivers/gpu/drm/i915/gvt/render.c|  2 +-
>  drivers/gpu/drm/i915/gvt/scheduler.c |  7 ++-
>  6 files changed, 26 insertions(+), 6 deletions(-)

-- 
Jani Nikula, Intel Open Source Technology Center
___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx


[Intel-gfx] [GIT PULL] more GVT-g fixes for 4.11

2017-03-23 Thread Zhenyu Wang

Hi,

Here's updated gvt fixes for 4.11. Major ones are for KVM reference
fix, guest gtt partial update fix for very big guest mem, and Changbin's
following fix for gvt context notification.

Thanks.

--
The following changes since commit 2958b9013fcbabeeba221161d0712f5259f1e15d:

  drm/i915/gvt: Fix gvt scheduler interval time (2017-03-17 16:46:45 +0800)

are available in the git repository at:

  https://github.com/01org/gvt-linux.git tags/gvt-fixes-2017-03-23

for you to fetch changes up to bc2d4b62db67f817b09c782219996630e9c2f5e2:

  drm/i915/gvt: Use force single submit flag to distinguish gvt request from 
i915 request (2017-03-22 13:18:56 +0800)


gvt-fixes-2017-03-23

- KVM reference fix from Alex
- shadow gtt entry partial update fix from Xiaoguang
- gvt context notification check (Changbin)
- other misc fixes.


Alex Williamson (1):
  drm/i915/kvmgt: Hold struct kvm reference

Changbin Du (1):
  drm/i915/gvt: Use force single submit flag to distinguish gvt request 
from i915 request

Chuanxiao Dong (1):
  drm/i915/gvt: fix wrong offset when loading RCS mocs

Pei Zhang (1):
  drm/i915/gvt: add write handler for mmio mbctl

Xiaoguang Chen (1):
  drm/i915/gvt: set shadow entry to scratch page while p2m failed

Xu Han (1):
  drm/i915/gvt: Fix guest fail to read EDID leading to black guest console 
issue.

 drivers/gpu/drm/i915/gvt/edid.c  |  3 ++-
 drivers/gpu/drm/i915/gvt/gtt.c   |  8 ++--
 drivers/gpu/drm/i915/gvt/handlers.c  | 10 +-
 drivers/gpu/drm/i915/gvt/kvmgt.c |  2 ++
 drivers/gpu/drm/i915/gvt/render.c|  2 +-
 drivers/gpu/drm/i915/gvt/scheduler.c |  7 ++-
 6 files changed, 26 insertions(+), 6 deletions(-)


-- 
Open Source Technology Center, Intel ltd.

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


signature.asc
Description: PGP signature
___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx


Re: [Intel-gfx] [GIT PULL] more GVT-g fixes for 4.11

2017-02-24 Thread Jani Nikula
On Fri, 24 Feb 2017, Zhenyu Wang  wrote:
> Hi,
>
> This pull includes latest GVT-g fixes for 4.11 to resolve stablity
> and usability issues found during co-debugging with distribution
> developers which improves a lot.

I'll pull this in when we have v4.11-rc1.

BR,
Jani.


>
> Thanks.
> ---
> The following changes since commit 4a0b3444da3ce1090d0f894f4e343756a94ab8c3:
>
>   drm/i915/gvt: return error code if dma map iova failed (2017-02-14 17:35:39 
> +0800)
>
> are available in the git repository at:
>
>   https://github.com/01org/gvt-linux.git tags/gvt-next-2017-02-24
>
> for you to fetch changes up to d1a513be1f0a25f094e1577d059b9aebaa279bb2:
>
>   drm/i915/gvt: add resolution definition for vGPU type (2017-02-24 13:25:18 
> +0800)
>
> 
> gvt-next-2017-02-24
>
> - Min's vGPU failsafe to guard against non-secured guest
> - Some guest warning fix and host error message cleanup
> - Fixed vGPU type refinement for usability issue
> - environ string fix from Takashi Iwai
> - one kernel oops fix from Chuanxiao
> - other misc fixes
>
> 
> Chuanxiao Dong (1):
>   drm/i915/gvt: add a NULL pointer check to avoid kernel panic
>
> Min He (2):
>   drm/i915/gvt: introduced failsafe mode into vgpu
>   drm/i915/gvt: enter failsafe mode when guest requires more resources
>
> Pei Zhang (1):
>   drm/i915/gvt: add cmd_access to GEN7_HALF_SLICE_CHICKEN1
>
> Ping Gao (1):
>   drm/i915/gvt: clear the vGPU reset logic
>
> Takashi Iwai (1):
>   drm/i915/gvt: Fix superfluous newline in GVT_DISPLAY_READY env var
>
> Weinan Li (1):
>   drm/i915/gvt: refine pcode write emulation
>
> Zhao Yan (4):
>   drm/i915/gvt: fix unhandled mmio warnings
>   drm/i915/gvt: add more registers to context save/restore list
>   drm/i915/gvt: force-nopriv register handling
>   drm/i915/gvt: set default value to 0 for unhandled mmio regs
>
> Zhao, Xinda (3):
>   drm/i915/gvt: handle fence reg access during GPU reset
>   drm/i915/gvt: decrease priority of output msg for untracked mmio
>   drm/i915/gvt: remove unnecessary error msg from gtt write
>
> Zhenyu Wang (4):
>   drm/i915/gvt: Fix check error on opregion.c
>   drm/i915/gvt: adjust to fixed vGPU types
>   drm/i915/gvt: Add more edid definition support
>   drm/i915/gvt: add resolution definition for vGPU type
>
>  drivers/gpu/drm/i915/gvt/cfg_space.c |   3 +
>  drivers/gpu/drm/i915/gvt/display.c   | 125 ++--
>  drivers/gpu/drm/i915/gvt/display.h   |  20 -
>  drivers/gpu/drm/i915/gvt/firmware.c  |   2 +-
>  drivers/gpu/drm/i915/gvt/gtt.c   |  40 +
>  drivers/gpu/drm/i915/gvt/gvt.h   |  12 ++-
>  drivers/gpu/drm/i915/gvt/handlers.c  | 157 
> +++
>  drivers/gpu/drm/i915/gvt/kvmgt.c |   8 +-
>  drivers/gpu/drm/i915/gvt/mmio.c  |  66 ++-
>  drivers/gpu/drm/i915/gvt/opregion.c  |   5 +-
>  drivers/gpu/drm/i915/gvt/render.c|  16 
>  drivers/gpu/drm/i915/gvt/scheduler.c |   3 +
>  drivers/gpu/drm/i915/gvt/vgpu.c  |  72 ++--
>  13 files changed, 418 insertions(+), 111 deletions(-)

-- 
Jani Nikula, Intel Open Source Technology Center
___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx


[Intel-gfx] [GIT PULL] more GVT-g fixes for 4.11

2017-02-23 Thread Zhenyu Wang

Hi,

This pull includes latest GVT-g fixes for 4.11 to resolve stablity
and usability issues found during co-debugging with distribution
developers which improves a lot.

Thanks.
---
The following changes since commit 4a0b3444da3ce1090d0f894f4e343756a94ab8c3:

  drm/i915/gvt: return error code if dma map iova failed (2017-02-14 17:35:39 
+0800)

are available in the git repository at:

  https://github.com/01org/gvt-linux.git tags/gvt-next-2017-02-24

for you to fetch changes up to d1a513be1f0a25f094e1577d059b9aebaa279bb2:

  drm/i915/gvt: add resolution definition for vGPU type (2017-02-24 13:25:18 
+0800)


gvt-next-2017-02-24

- Min's vGPU failsafe to guard against non-secured guest
- Some guest warning fix and host error message cleanup
- Fixed vGPU type refinement for usability issue
- environ string fix from Takashi Iwai
- one kernel oops fix from Chuanxiao
- other misc fixes


Chuanxiao Dong (1):
  drm/i915/gvt: add a NULL pointer check to avoid kernel panic

Min He (2):
  drm/i915/gvt: introduced failsafe mode into vgpu
  drm/i915/gvt: enter failsafe mode when guest requires more resources

Pei Zhang (1):
  drm/i915/gvt: add cmd_access to GEN7_HALF_SLICE_CHICKEN1

Ping Gao (1):
  drm/i915/gvt: clear the vGPU reset logic

Takashi Iwai (1):
  drm/i915/gvt: Fix superfluous newline in GVT_DISPLAY_READY env var

Weinan Li (1):
  drm/i915/gvt: refine pcode write emulation

Zhao Yan (4):
  drm/i915/gvt: fix unhandled mmio warnings
  drm/i915/gvt: add more registers to context save/restore list
  drm/i915/gvt: force-nopriv register handling
  drm/i915/gvt: set default value to 0 for unhandled mmio regs

Zhao, Xinda (3):
  drm/i915/gvt: handle fence reg access during GPU reset
  drm/i915/gvt: decrease priority of output msg for untracked mmio
  drm/i915/gvt: remove unnecessary error msg from gtt write

Zhenyu Wang (4):
  drm/i915/gvt: Fix check error on opregion.c
  drm/i915/gvt: adjust to fixed vGPU types
  drm/i915/gvt: Add more edid definition support
  drm/i915/gvt: add resolution definition for vGPU type

 drivers/gpu/drm/i915/gvt/cfg_space.c |   3 +
 drivers/gpu/drm/i915/gvt/display.c   | 125 ++--
 drivers/gpu/drm/i915/gvt/display.h   |  20 -
 drivers/gpu/drm/i915/gvt/firmware.c  |   2 +-
 drivers/gpu/drm/i915/gvt/gtt.c   |  40 +
 drivers/gpu/drm/i915/gvt/gvt.h   |  12 ++-
 drivers/gpu/drm/i915/gvt/handlers.c  | 157 +++
 drivers/gpu/drm/i915/gvt/kvmgt.c |   8 +-
 drivers/gpu/drm/i915/gvt/mmio.c  |  66 ++-
 drivers/gpu/drm/i915/gvt/opregion.c  |   5 +-
 drivers/gpu/drm/i915/gvt/render.c|  16 
 drivers/gpu/drm/i915/gvt/scheduler.c |   3 +
 drivers/gpu/drm/i915/gvt/vgpu.c  |  72 ++--
 13 files changed, 418 insertions(+), 111 deletions(-)


-- 
Open Source Technology Center, Intel ltd.

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


signature.asc
Description: PGP signature
___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx


Re: [Intel-gfx] [GIT PULL] more GVT-g fixes for 4.11

2017-02-15 Thread Jani Nikula
On Wed, 15 Feb 2017, Zhenyu Wang  wrote:
> Hi,
>
> This contains recent gvt fixes that target for 4.11. Team is busy on
> know issues fixing and improve usability. This includes IOMMU workaround
> fix with proper dma mapping from Chuanxiao, some log message cleanup, one
> kernel oops fix in error path of workload submission from Changbin, and
> with other misc fixes, etc.

Pulled to drm-intel-next-fixes, thanks.

I run sparse every time before I push, and I get this from gvt. It's
old, not introduced in this pull. Please look into fixing it.

BR,
Jani.


  CHECK   drivers/gpu/drm/i915/gvt/opregion.c
drivers/gpu/drm/i915/gvt/opregion.c:142:31: warning: incorrect type in argument 
1 (different address spaces)
drivers/gpu/drm/i915/gvt/opregion.c:142:31:expected void *addr
drivers/gpu/drm/i915/gvt/opregion.c:142:31:got void [noderef] 
*opregion_va
drivers/gpu/drm/i915/gvt/opregion.c:160:35: warning: incorrect type in 
assignment (different address spaces)
drivers/gpu/drm/i915/gvt/opregion.c:160:35:expected void [noderef] 
*opregion_va
drivers/gpu/drm/i915/gvt/opregion.c:160:35:got void *






>
> Thanks
> --
>
> The following changes since commit 2d6ceb8e654a0ce998762b13f0ba2c275220a244:
>
>   drm/i915/gvt: fix vgpu type size init (2017-02-07 17:22:01 +0800)
>
> are available in the git repository at:
>
>   https://github.com/01org/gvt-linux.git tags/gvt-next-2017-02-15
>
> for you to fetch changes up to 4a0b3444da3ce1090d0f894f4e343756a94ab8c3:
>
>   drm/i915/gvt: return error code if dma map iova failed (2017-02-14 17:35:39 
> +0800)
>
> 
> gvt-next-2017-02-15
>
> - Chuanxiao's IOMMU workaround fix
> - debug message cleanup from Changbin
> - oops fix in fail path of workload submission when GPU reset from Changbin
> - other misc fixes
>
> 
> Changbin Du (5):
>   drm/i915/gvt: remove a noisy unimportant log in sched_policy
>   drm/i915/gvt: remove a redundant end of line in debug log
>   drm/i915/gvt: reduce the line of interrupt logs and log friendly
>   drm/i915/gvt: fix crash at function release_shadow_wa_ctx
>   drm/i915/gvt: add missing display part reset for vGPU reset
>
> Chuanxiao Dong (5):
>   drm/i915/gvt: Map shadow page before using it in shadow page table
>   drm/i915/gvt: map pfn for PTE entry in kvm
>   drm/i915/gvt: enable IOMMU for gvt
>   drm/i915/gvt: optimize the inhibit context mmio load
>   drm/i915/gvt: return error code if dma map iova failed
>
> Dan Carpenter (1):
>   drm/i915/gvt/kvmgt: remove some dead code
>
> Xu Han (1):
>   drm/i915/gvt: add sprite plane flip done support.
>
> Zhenyu Wang (2):
>   drm/i915/gvt: Fix alignment for GTT allocation
>   drm/i915/gvt: Fix shadow context descriptor
>
>  drivers/gpu/drm/i915/gvt/aperture_gm.c  | 15 +++
>  drivers/gpu/drm/i915/gvt/cmd_parser.c   | 20 +-
>  drivers/gpu/drm/i915/gvt/display.c  | 12 ++
>  drivers/gpu/drm/i915/gvt/display.h  |  1 +
>  drivers/gpu/drm/i915/gvt/execlist.c |  2 +-
>  drivers/gpu/drm/i915/gvt/gtt.c  | 70 
> +++--
>  drivers/gpu/drm/i915/gvt/gvt.c  |  7 
>  drivers/gpu/drm/i915/gvt/interrupt.c| 57 +++
>  drivers/gpu/drm/i915/gvt/kvmgt.c| 70 
> -
>  drivers/gpu/drm/i915/gvt/render.c   | 17 
>  drivers/gpu/drm/i915/gvt/sched_policy.c |  1 -
>  drivers/gpu/drm/i915/gvt/scheduler.c|  5 ++-
>  drivers/gpu/drm/i915/gvt/vgpu.c |  1 +
>  13 files changed, 179 insertions(+), 99 deletions(-)

-- 
Jani Nikula, Intel Open Source Technology Center
___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx


[Intel-gfx] [GIT PULL] more GVT-g fixes for 4.11

2017-02-14 Thread Zhenyu Wang

Hi,

This contains recent gvt fixes that target for 4.11. Team is busy on
know issues fixing and improve usability. This includes IOMMU workaround
fix with proper dma mapping from Chuanxiao, some log message cleanup, one
kernel oops fix in error path of workload submission from Changbin, and
with other misc fixes, etc.

Thanks
--

The following changes since commit 2d6ceb8e654a0ce998762b13f0ba2c275220a244:

  drm/i915/gvt: fix vgpu type size init (2017-02-07 17:22:01 +0800)

are available in the git repository at:

  https://github.com/01org/gvt-linux.git tags/gvt-next-2017-02-15

for you to fetch changes up to 4a0b3444da3ce1090d0f894f4e343756a94ab8c3:

  drm/i915/gvt: return error code if dma map iova failed (2017-02-14 17:35:39 
+0800)


gvt-next-2017-02-15

- Chuanxiao's IOMMU workaround fix
- debug message cleanup from Changbin
- oops fix in fail path of workload submission when GPU reset from Changbin
- other misc fixes


Changbin Du (5):
  drm/i915/gvt: remove a noisy unimportant log in sched_policy
  drm/i915/gvt: remove a redundant end of line in debug log
  drm/i915/gvt: reduce the line of interrupt logs and log friendly
  drm/i915/gvt: fix crash at function release_shadow_wa_ctx
  drm/i915/gvt: add missing display part reset for vGPU reset

Chuanxiao Dong (5):
  drm/i915/gvt: Map shadow page before using it in shadow page table
  drm/i915/gvt: map pfn for PTE entry in kvm
  drm/i915/gvt: enable IOMMU for gvt
  drm/i915/gvt: optimize the inhibit context mmio load
  drm/i915/gvt: return error code if dma map iova failed

Dan Carpenter (1):
  drm/i915/gvt/kvmgt: remove some dead code

Xu Han (1):
  drm/i915/gvt: add sprite plane flip done support.

Zhenyu Wang (2):
  drm/i915/gvt: Fix alignment for GTT allocation
  drm/i915/gvt: Fix shadow context descriptor

 drivers/gpu/drm/i915/gvt/aperture_gm.c  | 15 +++
 drivers/gpu/drm/i915/gvt/cmd_parser.c   | 20 +-
 drivers/gpu/drm/i915/gvt/display.c  | 12 ++
 drivers/gpu/drm/i915/gvt/display.h  |  1 +
 drivers/gpu/drm/i915/gvt/execlist.c |  2 +-
 drivers/gpu/drm/i915/gvt/gtt.c  | 70 +++--
 drivers/gpu/drm/i915/gvt/gvt.c  |  7 
 drivers/gpu/drm/i915/gvt/interrupt.c| 57 +++
 drivers/gpu/drm/i915/gvt/kvmgt.c| 70 -
 drivers/gpu/drm/i915/gvt/render.c   | 17 
 drivers/gpu/drm/i915/gvt/sched_policy.c |  1 -
 drivers/gpu/drm/i915/gvt/scheduler.c|  5 ++-
 drivers/gpu/drm/i915/gvt/vgpu.c |  1 +
 13 files changed, 179 insertions(+), 99 deletions(-)


-- 
Open Source Technology Center, Intel ltd.

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


signature.asc
Description: PGP signature
___
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx