]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: Filter security violation registers
authorBokun Zhang <Bokun.Zhang@amd.com>
Thu, 16 Dec 2021 20:09:41 +0000 (15:09 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 28 Dec 2021 21:00:47 +0000 (16:00 -0500)
commita00eec1c234c5076fe76dd2b1e9f064d27871452
treeb4ce68a113a06ced839156fe9ad137744b6cf58e
parent13f142a875508c6469d7b34047870099326f505c
drm/amdgpu: Filter security violation registers

Recently, there is security policy update under SRIOV.
We need to filter the registers that hit the violation
and move the code to the host driver side so that
the guest driver can execute correctly.

Signed-off-by: Bokun Zhang <Bokun.Zhang@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/sdma_v5_2.c