Files
linux/drivers/gpu/drm/amd/amdgpu
Victor Zhao f1688bd69e 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 <Victor.Zhao@amd.com>
Signed-off-by: Jingwen Chen <Jingwen.Chen2@amd.com>
Reviewed-by: Monk Liu <monk.liu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2021-05-27 12:33:52 -04:00
..
2021-04-09 16:46:32 -04:00
2021-05-19 22:43:43 -04:00
2021-04-09 16:46:32 -04:00
2021-03-23 23:31:17 -04:00
2021-03-23 23:31:17 -04:00
2020-07-02 12:02:50 -04:00
2020-08-14 16:22:39 -04:00
2021-05-25 23:44:06 -04:00
2020-07-01 01:59:24 -04:00
2021-05-19 22:29:30 -04:00
2020-07-02 12:02:50 -04:00