firmware: arm_ffa: Check xa_load() return value
authorCristian Marussi <cristian.marussi@arm.com>
Mon, 8 Jan 2024 12:34:13 +0000 (12:34 +0000)
committerSudeep Holla <sudeep.holla@arm.com>
Mon, 22 Jan 2024 10:07:12 +0000 (10:07 +0000)
commitc00d9738fd5fce15dc5494d05b7599dce23e8146
tree99d75a83058c4d041f0394a1f108c30db204c2c3
parent5ff30ade16cd9efc2466d3ea22bbaf370772941a
firmware: arm_ffa: Check xa_load() return value

Add a check to verify the result of xa_load() during the partition
lookups done while registering/unregistering the scheduler receiver
interrupt callbacks and while executing the main scheduler receiver
interrupt callback handler.

Fixes: 0184450b8b1e ("firmware: arm_ffa: Add schedule receiver callback mechanism")
Signed-off-by: Cristian Marussi <cristian.marussi@arm.com>
Link: https://lore.kernel.org/r/20240108-ffa_fixes_6-8-v1-3-75bf7035bc50@arm.com
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
drivers/firmware/arm_ffa/driver.c