RE: [PATCH] drm/amd/amdgpu:save psp ring wptr in SRIOV to avoid attack

2021-05-26 Thread Chen, JingWen
psp ring wptr in SRIOV to avoid attack [AMD Official Use Only] >>+ ring->ring_wptr = psp_write_ptr_reg; Put the cache mechanism into the callbacks please >>+ ring->ring_wptr = 0; It is not needed At last, try to put more details in the comment to let people know

RE: [PATCH] drm/amd/amdgpu:save psp ring wptr in SRIOV to avoid attack

2021-05-26 Thread Liu, Monk
[AMD Official Use Only] >>+ ring->ring_wptr = psp_write_ptr_reg; Put the cache mechanism into the callbacks please >>+ ring->ring_wptr = 0; It is not needed At last, try to put more details in the comment to let people know why we need this PSP WPTR cache mechanism Thanks

RE: [PATCH] drm/amd/amdgpu:save psp ring wptr in SRIOV to avoid attack

2021-05-26 Thread Deng, Emily
[AMD Official Use Only] Reviewed-by: Emily Deng >-Original Message- >From: amd-gfx On Behalf Of Jingwen >Chen >Sent: Wednesday, May 26, 2021 2:55 PM >To: amd-gfx@lists.freedesktop.org >Cc: Chen, JingWen ; Zhao, Victor >; Liu, Monk >Subject: [PATCH] drm/amd/amdgpu:save psp ring wptr in