aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_encoders.c
diff options
context:
space:
mode:
authorSean Christopherson <[email protected]>2022-10-13 21:12:30 +0000
committerDavid Woodhouse <[email protected]>2022-11-30 19:25:24 +0000
commit5762cb10235776dd1ed5f5f9d6c1aff2b73bec5c (patch)
treed4343c8d4b0f9f0c2dee39fef22166ef1aa95a51 /drivers/gpu/drm/amd/amdgpu/amdgpu_encoders.c
parent9f87791d686d85614584438d4f249eb32ef7964c (diff)
KVM: Do not partially reinitialize gfn=>pfn cache during activation
Don't partially reinitialize a gfn=>pfn cache when activating the cache, and instead assert that the cache is not valid during activation. Bug the VM if the assertion fails, as use-after-free and/or data corruption is all but guaranteed if KVM ends up with a valid-but-inactive cache. Signed-off-by: Sean Christopherson <[email protected]> Signed-off-by: David Woodhouse <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_encoders.c')
0 files changed, 0 insertions, 0 deletions