Searched hist:"91 f02c8c2c9f1f26fc4e16a28c1c54dce4550483" (Results 1 – 1 of 1) sorted by relevance
| /optee_os/core/kernel/ |
| H A D | transfer_list.c | 91f02c8c2c9f1f26fc4e16a28c1c54dce4550483 Wed Jul 16 14:39:03 UTC 2025 Raymond Mao <raymond.mao@linaro.org> core: kernel: align the address of transfer entry
Fix two issues in transfer_list_add() and transfer_list_add_with_align(), which cause incompliance with the Firmware Handoff spec v1.0 [1].
1. Avoid adding entries at an unaligned address. 2. Remove the implicit padding at the end of a transfer entry which is included by 'tl->size'.
[1] https://github.com/FirmwareHandoff/firmware_handoff/releases/tag/v1.0
Fixes: a12225022bd5 ("core: add transfer list API") Signed-off-by: Raymond Mao <raymond.mao@linaro.org> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
|