Searched hist:ab3536f696267908f7a8d098d81a6b80b74ee419 (Results 1 – 1 of 1) sorted by relevance
| /optee_os/core/arch/arm/kernel/ |
| H A D | boot.c | ab3536f696267908f7a8d098d81a6b80b74ee419 Mon Nov 06 16:40:54 UTC 2023 Raymond Mao <raymond.mao@linaro.org> core: arm: fixup of transfer list entry overriding
Expand the data size of DTB transfer list entry to the max allocable size to reserve sufficient space for new nodes. This fixes a potential issue that the amended DTB transfer entry overrides other entries followed by, when inserting new nodes.
When CFG_TRANSFER_LIST is enabled, instead of CFG_DTB_MAX_SIZE, the DTB max size will be given by a calculation of the remaining space in the transfer list mapped memory.
Fixes: 66763721fe35 ("core: add support for transfer list") Signed-off-by: Raymond Mao <raymond.mao@linaro.org> Reviewed-by: Etienne Carriere <etienne.carriere@foss.st.com> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
|