Commit 11a6be14 authored by Jens Wiklander's avatar Jens Wiklander Committed by Lee Jones
Browse files

UPSTREAM: firmware: arm_ffa: Fix the partition ID check in ffa_notification_info_get()



FFA_NOTIFICATION_INFO_GET retrieves information about pending
notifications. Notifications can be either global or per VCPU. Global
notifications are reported with the partition ID only in the list of
endpoints with pending notifications. ffa_notification_info_get()
incorrectly expect no ID at all for global notifications. Fix this by
checking for ID = 1 instead of ID = 0.

Bug: 254441685
Fixes: 3522be48 ("firmware: arm_ffa: Implement the NOTIFICATION_INFO_GET interface")
Signed-off-by: default avatarJens Wiklander <jens.wiklander@linaro.org>
Reviewed-by: default avatarLorenzo Pieralisi <lpieralisi@kernel.org>
Link: https://lore.kernel.org/r/20240311110700.2367142-1-jens.wiklander@linaro.org


Signed-off-by: default avatarSudeep Holla <sudeep.holla@arm.com>
(cherry picked from commit 1a4bd2b1)
Signed-off-by: default avatarLee Jones <joneslee@google.com>
Change-Id: I420fb6c0dee70fcf9beb82803a57f2bc580735f9
parent 05181e57
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment