[Intel-gfx] [PATCH 0/2] drm/i915/gvt: Fix for KVM refcounting bug

2022-11-21 Thread Sean Christopherson
Bug fix and cleanup related to KVM refcounting.  Found by inspection while
attempting to clean up KVM's page-tracker APIs.

Compile tested only!

Sean Christopherson (2):
  drm/i915/gvt: Get reference to KVM iff attachment to VM is successful
  drm/i915/gvt: Unconditionally put reference to KVM when detaching vGPU

 drivers/gpu/drm/i915/gvt/kvmgt.c | 8 +++-
 1 file changed, 3 insertions(+), 5 deletions(-)


base-commit: 1767a722a708f1fa3b9af39eb091d79101f8c086
-- 
2.38.1.431.g37b22c650d-goog



Re: [Intel-gfx] [PATCH 0/2] drm/i915/gvt: Fix for KVM refcounting bug

2022-11-10 Thread Zhenyu Wang
On 2022.11.11 00:22:23 +, Sean Christopherson wrote:
> Bug fix and cleanup related to KVM refcounting.  Found by inspection while
> attempting to clean up KVM's page-tracker APIs.
> 
> Compile tested only!
> 
> Sean Christopherson (2):
>   drm/i915/gvt: Get reference to KVM iff attachment to VM is successful
>   drm/i915/gvt: Unconditionally put reference to KVM when detaching vGPU
> 
>  drivers/gpu/drm/i915/gvt/kvmgt.c | 8 +++-
>  1 file changed, 3 insertions(+), 5 deletions(-)
> 

Thanks, Sean! and Kevin's review. Pushed this to fixes tree, will issue
regression test before going upstream.


signature.asc
Description: PGP signature