diff options
| author | Oliver Upton <[email protected]> | 2022-04-06 23:56:15 +0000 |
|---|---|---|
| committer | Marc Zyngier <[email protected]> | 2022-04-07 07:46:13 +0000 |
| commit | 21db83846683d3987666505a3ec38f367708199a (patch) | |
| tree | 3e6b7dd2b66f5460c076b2f2c0c71158a84d0433 /drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | |
| parent | selftests: KVM: Don't leak GIC FD across dirty log test iterations (diff) | |
| download | kernel-21db83846683d3987666505a3ec38f367708199a.tar.gz kernel-21db83846683d3987666505a3ec38f367708199a.zip | |
selftests: KVM: Free the GIC FD when cleaning up in arch_timer
In order to correctly destroy a VM, all references to the VM must be
freed. The arch_timer selftest creates a VGIC for the guest, which
itself holds a reference to the VM.
Close the GIC FD when cleaning up a VM.
Signed-off-by: Oliver Upton <[email protected]>
Signed-off-by: Marc Zyngier <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c')
0 files changed, 0 insertions, 0 deletions
