aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorAndre Przywara <[email protected]>2018-05-11 14:20:15 +0000
committerPaolo Bonzini <[email protected]>2018-05-15 11:36:53 +0000
commit711702b57cc3c50b84bd648de0f1ca0a378805be (patch)
treebc600ebc3131f613ff676175ec921bd8e7da7751 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parentKVM: arm/arm64: VGIC/ITS: protect kvm_read_guest() calls with SRCU lock (diff)
downloadkernel-711702b57cc3c50b84bd648de0f1ca0a378805be.tar.gz
kernel-711702b57cc3c50b84bd648de0f1ca0a378805be.zip
KVM: arm/arm64: VGIC/ITS save/restore: protect kvm_read_guest() calls
kvm_read_guest() will eventually look up in kvm_memslots(), which requires either to hold the kvm->slots_lock or to be inside a kvm->srcu critical section. In contrast to x86 and s390 we don't take the SRCU lock on every guest exit, so we have to do it individually for each kvm_read_guest() call. Use the newly introduced wrapper for that. Cc: Stable <[email protected]> # 4.12+ Reported-by: Jan Glauber <[email protected]> Signed-off-by: Andre Przywara <[email protected]> Acked-by: Christoffer Dall <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions