diff options
| author | Victor Zhao <[email protected]> | 2021-03-18 05:44:35 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2021-05-27 16:33:52 +0000 |
| commit | f1688bd69ec4b07eda1657ff953daebce7cfabf6 (patch) | |
| tree | 6dd133a531185048f3884a4f799dad54244016ce /drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c | |
| parent | drm/amdgpu/swsmu/aldebaran: fix check in is_dpm_running (diff) | |
| download | kernel-f1688bd69ec4b07eda1657ff953daebce7cfabf6.tar.gz kernel-f1688bd69ec4b07eda1657ff953daebce7cfabf6.zip | |
drm/amd/amdgpu:save psp ring wptr to avoid attack
[Why]
When some tools performing psp mailbox attack, the readback value
of register can be a random value which may break psp.
[How]
Use a psp wptr cache machanism to aovid the change made by attack.
v2: unify change and add detailed reason
Signed-off-by: Victor Zhao <[email protected]>
Signed-off-by: Jingwen Chen <[email protected]>
Reviewed-by: Monk Liu <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c')
0 files changed, 0 insertions, 0 deletions
