Re: [PATCH V1] accel/amdxdna: Fix incorrect size of ERT_START_NPU commands

From: Jeff Hugo
Date: Fri Apr 11 2025 - 11:56:14 EST


On 4/9/2025 3:00 PM, Lizhi Hou wrote:
When multiple ERT_START_NPU commands are combined in one buffer, the
buffer size calculation is incorrect. Also, the condition to make sure
the buffer size is not beyond 4K is also fixed.

Fixes: aac243092b70 ("accel/amdxdna: Add command execution")
Signed-off-by: Lizhi Hou <lizhi.hou@xxxxxxx>

Reviewed-by: Jeff Hugo <jeff.hugo@xxxxxxxxxxxxxxxx>