Searched hist:c354668a3788c43be4299363149255a67a1ed10a (Results 1 – 1 of 1) sorted by relevance
| /optee_os/core/arch/arm/kernel/ |
| H A D | thread_spmc.c | c354668a3788c43be4299363149255a67a1ed10a Thu Oct 19 15:22:25 UTC 2023 Jens Wiklander <jens.wiklander@linaro.org> core: ffa: fix spmc_retrieve_req() buffer
Prior to this patch when retrieving a shared memory block the memory transaction descriptor (struct ffa_mem_transaction_1_1 or struct ffa_mem_transaction_1_0) was read from the TX buffer instead of the RX buffer where the actual memory transaction is supplied. Fix this by changing to read the memory transaction descriptor from the RX buffer.
This used to work somewhat by chance since OP-TEE before the call to FFA_MEM_RETRIEVE_REQ_32 filled in a memory transaction descriptor of what we expect to retrieve in the TX buffer.
Fixes: f49f23f781e3 ("core: ffa: rename nw_rxtx to my_rxtx") Fixes: a1c53023cc80 ("core: spmc: support FF-A 1.1") Suggested-by: Olivier Deprez <olivier.deprez@arm.com> Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org> Acked-by: Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by: Balint Dobszay <balint.dobszay@arm.com>
|