diff options
| author | Lizhi Hou <lizhi.hou@amd.com> | 2025-04-10 00:00:13 +0300 |
|---|---|---|
| committer | Lizhi Hou <lizhi.hou@amd.com> | 2025-04-10 20:45:39 +0300 |
| commit | 6c161732ea6467c6dea0c35810ca8e8d1ae135f1 (patch) | |
| tree | 04ab083a2d4f02718e3511178895d8f9b287315f /scripts/stackusage | |
| parent | c180b00366d99911f4573dca5ac97a8633f2e8f9 (diff) | |
| download | linux-6c161732ea6467c6dea0c35810ca8e8d1ae135f1.tar.xz | |
accel/amdxdna: Fix incorrect size of ERT_START_NPU commands
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")
Reviewed-by: Jacek Lawrynowicz <jacek.lawrynowicz@linux.intel.com>
Reviewed-by: Maciej Falkowski <maciej.falkowski@linux.intel.com>
Signed-off-by: Lizhi Hou <lizhi.hou@amd.com>
Link: https://lore.kernel.org/r/20250409210013.10854-1-lizhi.hou@amd.com
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions
