[PULL] gvt-fixes for 4.20-rc5

Submitted by Zhenyu Wang on Nov. 26, 2018, 2:18 a.m.

Details

Message ID 20181126021820.GL12743@zhen-hp.sh.intel.com
State New
Headers show

Pull-request download mbox

git pull https://github.com/intel/gvt-linux.git tags/gvt-fixes-2018-11-26

Commit Message

Zhenyu Wang Nov. 26, 2018, 2:18 a.m.
Hi,

Here's regular gvt fixes for 4.20-rc5. One to correct MOCS registers
load on engine list, one for rpm lock warning fix, and another for
use-after-free fix for partial ggtt list destroy. Details below.

Thanks
--
The following changes since commit 5e7154ff5e8e21dc9acac4f8dba7533552365374:

  drm/i915/gvt: Handle values of EDP_PSR_IMR and EDP_PSR_IIR (2018-10-31 17:09:46 +0800)

are available in the Git repository at:

  https://github.com/intel/gvt-linux.git tags/gvt-fixes-2018-11-26

for you to fetch changes up to 7513edbc096a006f967eaf39088091442e623b83:

  drm/i915/gvt: Avoid use-after-free iterating the gtt list (2018-11-21 17:31:56 +0800)

----------------------------------------------------------------
gvt-fixes-2018-11-26

- Fix engine check for correct MOCS regs load (Xinyun)
- Fix rpm locking for vGPU ggtt init (Henry)
- Fix use-after-free when destroy partial ggtt entries (Chris)

----------------------------------------------------------------
Chris Wilson (1):
      drm/i915/gvt: Avoid use-after-free iterating the gtt list

Hang Yuan (1):
      drm/i915/gvt: ensure gpu is powered before do i915_gem_gtt_insert

Xinyun Liu (1):
      drm/i915/gvt: not to touch undefined MOCS registers

 drivers/gpu/drm/i915/gvt/aperture_gm.c  | 2 ++
 drivers/gpu/drm/i915/gvt/gtt.c          | 7 ++++---
 drivers/gpu/drm/i915/gvt/mmio_context.c | 2 ++
 3 files changed, 8 insertions(+), 3 deletions(-)

Comments

Joonas Lahtinen Nov. 26, 2018, 10:14 a.m.
Pulled this now.

Regards, Joonas

Quoting Zhenyu Wang (2018-11-26 04:18:20)
> 
> Hi,
> 
> Here's regular gvt fixes for 4.20-rc5. One to correct MOCS registers
> load on engine list, one for rpm lock warning fix, and another for
> use-after-free fix for partial ggtt list destroy. Details below.
> 
> Thanks
> --
> The following changes since commit 5e7154ff5e8e21dc9acac4f8dba7533552365374:
> 
>   drm/i915/gvt: Handle values of EDP_PSR_IMR and EDP_PSR_IIR (2018-10-31 17:09:46 +0800)
> 
> are available in the Git repository at:
> 
>   https://github.com/intel/gvt-linux.git tags/gvt-fixes-2018-11-26
> 
> for you to fetch changes up to 7513edbc096a006f967eaf39088091442e623b83:
> 
>   drm/i915/gvt: Avoid use-after-free iterating the gtt list (2018-11-21 17:31:56 +0800)
> 
> ----------------------------------------------------------------
> gvt-fixes-2018-11-26
> 
> - Fix engine check for correct MOCS regs load (Xinyun)
> - Fix rpm locking for vGPU ggtt init (Henry)
> - Fix use-after-free when destroy partial ggtt entries (Chris)
> 
> ----------------------------------------------------------------
> Chris Wilson (1):
>       drm/i915/gvt: Avoid use-after-free iterating the gtt list
> 
> Hang Yuan (1):
>       drm/i915/gvt: ensure gpu is powered before do i915_gem_gtt_insert
> 
> Xinyun Liu (1):
>       drm/i915/gvt: not to touch undefined MOCS registers
> 
>  drivers/gpu/drm/i915/gvt/aperture_gm.c  | 2 ++
>  drivers/gpu/drm/i915/gvt/gtt.c          | 7 ++++---
>  drivers/gpu/drm/i915/gvt/mmio_context.c | 2 ++
>  3 files changed, 8 insertions(+), 3 deletions(-)
> 
> 
> -- 
> Open Source Technology Center, Intel ltd.
> 
> $gpg --keyserver wwwkeys.pgp.net --recv-keys 4D781827