]> git.baikalelectronics.ru Git - arm-tf.git/commit
fix(el3-spmc): compute full FF-A V1.1 desc size
authorvallau01 <valentin.laurent@trustonic.com>
Mon, 8 Aug 2022 12:10:14 +0000 (14:10 +0200)
committerLukas Hanel <lukas.hanel@trustonic.com>
Wed, 2 Nov 2022 14:15:59 +0000 (15:15 +0100)
commitbe075c3edf634a2df1065597266c3e41d284287b
tree171b4027a860acc12ea7398f3303da519e8cfc72
parentb139f8527ea4e81d7a76a823693235145730f064
fix(el3-spmc): compute full FF-A V1.1 desc size

This patch fixes an issue in spmc_ffa_fill_desc.

In order to compute the spmc_shm_get_v1_1_descriptor_size,
fragment_length which is a fraction of the descriptor size is used as
desc_size parameter. It has to be replaced with the
full V1.0 descriptor size(obj->desc_filled).

Ran a subset of our tests and they are passing.

Change-Id: Ia4bbc5dabf0b77fa53d923ff609ee48ecd5bf549
Signed-off-by: vallau01 <valentin.laurent@trustonic.com>
Signed-off-by: Lukas Hanel <lukas.hanel@trustonic.com>
services/std_svc/spm/el3_spmc/spmc_shared_mem.c