2022-11-11 00:55:12

by Sean Christopherson

[permalink] [raw]
Subject: [PATCH 0/2] drm/i915/gvt: Fix for KVM refcounting bug

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



2022-11-11 05:31:12

by Zhenyu Wang

[permalink] [raw]
Subject: Re: [PATCH 0/2] drm/i915/gvt: Fix for KVM refcounting bug

On 2022.11.11 00:22:23 +0000, 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.


Attachments:
(No filename) (623.00 B)
signature.asc (201.00 B)
Download all attachments