Home
last modified time | relevance | path

Searched hist:fba7d2ad26df67f2634ff67d93b0c551eaa0033a (Results 1 – 1 of 1) sorted by relevance

/optee_os/core/arch/arm/kernel/
H A Dthread_spmc.cfba7d2ad26df67f2634ff67d93b0c551eaa0033a Thu Feb 02 11:24:45 UTC 2023 Jens Wiklander <jens.wiklander@linaro.org> core: spmc: improve checks in handle_mem_share()

For the two FF-A functions FFA_MEM_SHARE_64 and FFA_MEM_SHARE_32 update
the checks in handle_mem_share() for:
- 32-bit vs 64-bit calling convention, that is, when to mask of the
upper 32 bits.
- that the reported fragment length does not exceed the total length of
the memory transaction descriptor.

Reviewed-by: Balint Dobszay <balint.dobszay@arm.com>
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>