aboutsummaryrefslogtreecommitdiff
path: root/drivers/firmware/arm_ffa
diff options
context:
space:
mode:
authorGravatar Sudeep Holla <sudeep.holla@arm.com> 2023-10-05 15:44:54 +0100
committerGravatar Sudeep Holla <sudeep.holla@arm.com> 2023-10-06 15:33:12 +0100
commit1609626c32c4538439f6333d0b6c912af9f13b77 (patch)
tree57ed703547c7f4e65379db4a31248042363a33fc /drivers/firmware/arm_ffa
parentfirmware: arm_ffa: Emit modalias for FF-A devices (diff)
downloadlinux-1609626c32c4538439f6333d0b6c912af9f13b77.tar.gz
linux-1609626c32c4538439f6333d0b6c912af9f13b77.tar.bz2
linux-1609626c32c4538439f6333d0b6c912af9f13b77.zip
firmware: arm_ffa: Update the FF-A command list with v1.1 additions
Arm Firmware Framework for A-profile(FFA) v1.1 introduces notifications and indirect messaging based upon notifications support and extends some of the memory interfaces. Let us add all the newly supported FF-A function IDs in the spec. Also update to the error values and associated handling. Link: https://lore.kernel.org/r/20231005-ffa_v1-1_notif-v4-1-cddd3237809c@arm.com Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
Diffstat (limited to 'drivers/firmware/arm_ffa')
-rw-r--r--drivers/firmware/arm_ffa/driver.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/firmware/arm_ffa/driver.c b/drivers/firmware/arm_ffa/driver.c
index 7cd6b1564e80..a64512388ea5 100644
--- a/drivers/firmware/arm_ffa/driver.c
+++ b/drivers/firmware/arm_ffa/driver.c
@@ -64,6 +64,7 @@ static const int ffa_linux_errmap[] = {
-EACCES, /* FFA_RET_DENIED */
-EAGAIN, /* FFA_RET_RETRY */
-ECANCELED, /* FFA_RET_ABORTED */
+ -ENODATA, /* FFA_RET_NO_DATA */
};
static inline int ffa_to_linux_errno(int errno)