Skip to content
Commit 9dda1178 authored by Sudeep Holla's avatar Sudeep Holla
Browse files

firmware: arm_ffa: Don't set the memory region attributes for MEM_LEND



As per the FF-A specification: section "Usage of other memory region
attributes", in a transaction to donate memory or lend memory to a single
borrower, if the receiver is a PE or Proxy endpoint, the owner must not
specify the attributes and the relayer will return INVALID_PARAMETERS
if the attributes are set.

Let us not set the memory region attributes for MEM_LEND.

Fixes: 82a8daae ("firmware: arm_ffa: Add support for MEM_LEND")
Reported-by: default avatarJoao Alves <joao.alves@arm.com>
Reported-by: default avatarOlivier Deprez <olivier.deprez@arm.com>
Link: https://lore.kernel.org/r/20230919-ffa_v1-1_notif-v2-13-6f3a3ca3923c@arm.com


Signed-off-by: default avatarSudeep Holla <sudeep.holla@arm.com>
parent 0bb80ecc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment