Commit 1c8bc639 authored by Cristian Marussi's avatar Cristian Marussi Committed by Lee Jones
Browse files

UPSTREAM: firmware: arm_ffa: Add missing rwlock_init() for the driver partition



Add the missing rwlock initialization for the FF-A partition associated
the driver in ffa_setup_partitions(). It will the primary scheduler
partition in the host or the VM partition in the virtualised environment.
IOW, it corresponds to the partition with VM ID == drv_info->vm_id.

Bug: 254441685
Fixes: 1b6bf41b ("firmware: arm_ffa: Add notification handling mechanism")
Signed-off-by: default avatarCristian Marussi <cristian.marussi@arm.com>
Link: https://lore.kernel.org/r/20240108-ffa_fixes_6-8-v1-2-75bf7035bc50@arm.com


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