Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
firmware: arm_scmi: Fix response size warning for OPTEE transport
Some protocols check the response size with the expected value but optee shared memory doesn't return such size whereas it is available in the optee output buffer. As an example, the base protocol compares the response size with the expected result when requesting the list of protocol which triggers a warning with optee shared memory: arm-scmi firmware:scmi0: Malformed reply - real_sz:116 calc_sz:4 (loop_num_ret:4) Save the output buffer length and use it when fetching the answer. Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Etienne Carriere <[email protected]> Reviewed-by: Cristian Marussi <[email protected]> Signed-off-by: Vincent Guittot <[email protected]> Signed-off-by: Sudeep Holla <[email protected]>
- Loading branch information