Commit 2556efd9 authored by Sudeep Holla's avatar Sudeep Holla Committed by Treehugger Robot
Browse files

UPSTREAM: 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.

Bug: 254441685
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>
(cherry picked from commit 9dda1178)
Signed-off-by: default avatarLee Jones <joneslee@google.com>
Change-Id: I1dccff904f339c766128ae5b74b47ff8a88bf8f6
parent 8a08907d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment