summaryrefslogtreecommitdiff
path: root/drivers/firmware/psci/psci.c
diff options
context:
space:
mode:
authorLizhi Hou <lizhi.hou@amd.com>2025-04-09 14:00:13 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-06-19 15:39:30 +0200
commit582a04abbd3061331e25c36facc10b5908352ec8 (patch)
treefd422a19d3c39c06bc966eb30e14ce8c982dfb41 /drivers/firmware/psci/psci.c
parent84bd2b049cc4dfccb5e20833b4e4eef5d79ec691 (diff)
accel/amdxdna: Fix incorrect size of ERT_START_NPU commands
[ Upstream commit 6c161732ea6467c6dea0c35810ca8e8d1ae135f1 ] 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 Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/firmware/psci/psci.c')
0 files changed, 0 insertions, 0 deletions