]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
firmware: arm_ffa: Handle ffa_notification_get correctly at virtual FF-A instance
authorSudeep Holla <sudeep.holla@arm.com>
Mon, 17 Feb 2025 15:39:00 +0000 (15:39 +0000)
committerSudeep Holla <sudeep.holla@arm.com>
Mon, 17 Feb 2025 15:42:05 +0000 (15:42 +0000)
commit9472fe20d3968743e683bd48dace02b4accd7736
treee31d3c1ffc1cb0c43d974e8639efb1e98887146c
parentbe61da938576671c664382a059f961d7b4b2fc41
firmware: arm_ffa: Handle ffa_notification_get correctly at virtual FF-A instance

Currently it is assumed that the driver always calls ffa_notification_get()
at the NS physical FF-A instance to request the SPMC to return pending
SP or SPM Framework notifications. However, in order to support the driver
invoking ffa_notification_get() at virtual FF-A instance, we need to make
sure correct bits are enabled in the bitmaps enable flag.

It is expected to have hypervisor framework and VM notifications bitmap
to be zero at the non-secure physical FF-A instance.

Message-Id: <20250217-ffa_updates-v3-19-bd1d9de615e7@arm.com>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
drivers/firmware/arm_ffa/driver.c